Files

49 lines
1.1 KiB
JSON

// === findAllReferences ===
// === /findAllRefsInsideWithBlock.ts ===
// /*FIND ALL REFS*/var [|x|] = 0;
//
// with ({}) {
// var y = x; // Reference of x here should not be picked
// y++; // also reference for y should be ignored
// }
//
// [|x|] = [|x|] + 1;
// === findAllReferences ===
// === /findAllRefsInsideWithBlock.ts ===
// var /*FIND ALL REFS*/[|x|] = 0;
//
// with ({}) {
// var y = x; // Reference of x here should not be picked
// y++; // also reference for y should be ignored
// }
//
// [|x|] = [|x|] + 1;
// === findAllReferences ===
// === /findAllRefsInsideWithBlock.ts ===
// var [|x|] = 0;
//
// with ({}) {
// var y = x; // Reference of x here should not be picked
// y++; // also reference for y should be ignored
// }
//
// /*FIND ALL REFS*/[|x|] = [|x|] + 1;
// === findAllReferences ===
// === /findAllRefsInsideWithBlock.ts ===
// var [|x|] = 0;
//
// with ({}) {
// var y = x; // Reference of x here should not be picked
// y++; // also reference for y should be ignored
// }
//
// [|x|] = /*FIND ALL REFS*/[|x|] + 1;