2014-07-13 01:04:16 +02:00
|
|
|
/// <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();
|
2014-09-26 23:37:17 +02:00
|
|
|
verify.not.memberListContains("publicProperty");
|
2014-07-13 01:04:16 +02:00
|
|
|
verify.memberListContains("publicInstanceMethod");
|
|
|
|
// No statics
|
|
|
|
verify.not.memberListContains("publicStaticProperty");
|
|
|
|
verify.not.memberListContains("publicStaticMethod");
|
|
|
|
// No privates
|
|
|
|
verify.not.memberListContains("privateProperty");
|
|
|
|
verify.not.memberListContains("privateInstanceMethod");
|