35 lines
No EOL
1.1 KiB
TypeScript
35 lines
No EOL
1.1 KiB
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
////class Base {
|
|
//// private privateInstanceMethod() { }
|
|
//// public publicInstanceMethod() { }
|
|
////
|
|
//// private privateProperty = 1;
|
|
//// public publicProperty = 1;
|
|
////
|
|
//// private static privateStaticProperty = 1;
|
|
//// public static publicStaticProperty = 1;
|
|
////
|
|
//// private static privateStaticMethod() { }
|
|
//// public static publicStaticMethod() {
|
|
//// Class./*staticsInsideClassScope*/publicStaticMethod();
|
|
//// var c = new Class();
|
|
//// c./*instanceMembersInsideClassScope*/privateProperty;
|
|
//// }
|
|
////}
|
|
////class Class extends Base {
|
|
//// private test() {
|
|
//// super./**/
|
|
//// }
|
|
////}
|
|
|
|
|
|
goTo.marker();
|
|
verify.not.memberListContains("publicProperty");
|
|
verify.memberListContains("publicInstanceMethod");
|
|
// No statics
|
|
verify.not.memberListContains("publicStaticProperty");
|
|
verify.not.memberListContains("publicStaticMethod");
|
|
// No privates
|
|
verify.not.memberListContains("privateProperty");
|
|
verify.not.memberListContains("privateInstanceMethod"); |