2015-03-02 23:41:44 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
2014-11-20 21:30:10 +01:00
|
|
|
|
|
|
|
////class C {
|
2018-02-07 22:51:08 +01:00
|
|
|
//// [|{| "count": 3 |}export|] foo;
|
|
|
|
//// [|{| "count": 3 |}declare|] bar;
|
|
|
|
//// [|{| "count": 3 |}export|] [|{| "count": 3 |}declare|] foobar;
|
|
|
|
//// [|{| "count": 3 |}declare|] [|{| "count": 3 |}export|] barfoo;
|
2014-11-20 21:30:10 +01:00
|
|
|
////
|
2018-02-07 22:51:08 +01:00
|
|
|
//// 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) {
|
2014-11-20 21:30:10 +01:00
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////module m {
|
2018-02-07 22:51:08 +01:00
|
|
|
//// [|{| "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;
|
2014-11-20 21:30:10 +01:00
|
|
|
////}
|
2018-02-07 22:51:08 +01:00
|
|
|
////[|{| "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;
|
2014-11-20 21:30:10 +01:00
|
|
|
|
2018-02-07 22:51:08 +01:00
|
|
|
for (const range of test.ranges()) {
|
|
|
|
goTo.rangeStart(range);
|
|
|
|
verify.occurrencesAtPositionCount(range.marker.data.count);
|
|
|
|
}
|