2015-03-02 23:41:44 +01:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////class Base {
|
|
|
|
//// private static privateMethod() { }
|
|
|
|
//// private static privateProperty;
|
|
|
|
////
|
|
|
|
//// protected static protectedMethod() { }
|
|
|
|
//// protected static protectedProperty;
|
|
|
|
////
|
|
|
|
//// public static publicMethod() { }
|
|
|
|
//// public static publicProperty;
|
|
|
|
////
|
|
|
|
//// protected static protectedOverriddenMethod() { }
|
|
|
|
//// protected static protectedOverriddenProperty;
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////class C3 extends Base {
|
|
|
|
//// protected static protectedOverriddenMethod() { }
|
|
|
|
//// protected static protectedOverriddenProperty;
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////Base./*1*/;
|
|
|
|
////C3./*2*/;
|
|
|
|
|
|
|
|
// Only public properties are visible outside the class
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({
|
|
|
|
marker: ["1", "2"],
|
2020-09-11 23:48:24 +02:00
|
|
|
exact: [
|
|
|
|
{ name: "prototype", sortText: completion.SortText.LocationPriority },
|
|
|
|
{ name: "publicMethod", sortText: completion.SortText.LocalDeclarationPriority },
|
|
|
|
{ name: "publicProperty", sortText: completion.SortText.LocalDeclarationPriority },
|
|
|
|
...completion.functionMembers
|
|
|
|
],
|
2018-10-29 18:03:25 +01:00
|
|
|
});
|