1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
/// <reference path='fourslash.ts' />
////class C {
//// [|{| "count": 3 |}export|] foo;
//// [|{| "count": 3 |}declare|] bar;
//// [|{| "count": 3 |}export|] [|{| "count": 3 |}declare|] foobar;
//// [|{| "count": 3 |}declare|] [|{| "count": 3 |}export|] barfoo;
////
//// constructor([|{| "count": 9 |}export|] conFoo,
//// [|{| "count": 9 |}declare|] conBar,
//// [|{| "count": 9 |}export|] [|{| "count": 9 |}declare|] conFooBar,
//// [|{| "count": 9 |}declare|] [|{| "count": 9 |}export|] conBarFoo,
//// [|{| "count": 4 |}static|] sue,
//// [|{| "count": 4 |}static|] [|{| "count": 9 |}export|] [|{| "count": 9 |}declare|] sueFooBar,
//// [|{| "count": 4 |}static|] [|{| "count": 9 |}declare|] [|{| "count": 9 |}export|] sueBarFoo,
//// [|{| "count": 9 |}declare|] [|{| "count": 4 |}static|] [|{| "count": 9 |}export|] barSueFoo) {
//// }
////}
////
////module m {
//// [|{| "count": 0 |}static|] a;
//// [|{| "count": 0 |}public|] b;
//// [|{| "count": 0 |}private|] c;
//// [|{| "count": 0 |}protected|] d;
//// [|{| "count": 0 |}static|] [|{| "count": 0 |}public|] [|{| "count": 0 |}private|] [|{| "count": 0 |}protected|] e;
//// [|{| "count": 0 |}public|] [|{| "count": 0 |}static|] [|{| "count": 0 |}protected|] [|{| "count": 0 |}private|] f;
//// [|{| "count": 0 |}protected|] [|{| "count": 0 |}static|] [|{| "count": 0 |}public|] g;
////}
////[|{| "count": 0 |}static|] a;
////[|{| "count": 0 |}public|] b;
////[|{| "count": 0 |}private|] c;
////[|{| "count": 0 |}protected|] d;
////[|{| "count": 0 |}static|] [|{| "count": 0 |}public|] [|{| "count": 0 |}private|] [|{| "count": 0 |}protected|] e;
////[|{| "count": 0 |}public|] [|{| "count": 0 |}static|] [|{| "count": 0 |}protected|] [|{| "count": 0 |}private|] f;
////[|{| "count": 0 |}protected|] [|{| "count": 0 |}static|] [|{| "count": 0 |}public|] g;
for (const range of test.ranges()) {
goTo.rangeStart(range);
verify.occurrencesAtPositionCount(range.marker.data.count);
}
|