| /third_party/typescript/tests/baselines/reference/ |
| D | protectedClassPropertyAccessibleWithinClass.js | 5 protected x: string; field in C 6 protected get y() { return this.x; } field in C 7 protected set y(x) { this.y = this.x; } field in C 8 protected foo() { return this.foo; } field in C 10 protected static x: string; field in C 11 protected static get y() { return this.x; } field in C 12 protected static set y(x) { this.y = this.x; } field in C 13 protected static foo() { return this.foo; } field in C 14 protected static bar() { this.foo(); } field in C 19 protected x: string; field in C2 [all …]
|
| D | protectedClassPropertyAccessibleWithinNestedClass.js | 5 protected x: string; field in C 6 protected get y() { return this.x; } field in C 7 protected set y(x) { this.y = this.x; } field in C 8 protected foo() { return this.foo; } field in C 10 protected static x: string; field in C 11 protected static get y() { return this.x; } field in C 12 protected static set y(x) { this.y = this.x; } field in C 13 protected static foo() { return this.foo; } field in C 14 protected static bar() { this.foo(); } field in C 16 protected bar() { field in C [all …]
|
| D | derivedClassOverridesProtectedMembers.js | 6 protected a: typeof x; field in Base 7 protected b(a: typeof x) { } field in Base 8 protected get c() { return x; } field in Base 9 protected set c(v: typeof x) { } field in Base 10 protected d: (a: typeof x) => void; field in Base 12 protected static r: typeof x; field in Base 13 protected static s(a: typeof x) { } field in Base 14 protected static get t() { return x; } field in Base 15 protected static set t(v: typeof x) { } field in Base 16 protected static u: (a: typeof x) => void; field in Base [all …]
|
| D | protectedClassPropertyAccessibleWithinNestedSubclass.js | 3 protected x: string; field in B 4 protected static x: string; field in B 8 protected get y() { return this.x; } field in C 9 protected set y(x) { this.y = this.x; } field in C 10 protected foo() { return this.x; } field in C 12 protected static get y() { return this.x; } field in C 13 protected static set y(x) { this.y = this.x; } field in C 14 protected static foo() { return this.x; } field in C 15 protected static bar() { this.foo(); } field in C 17 protected bar() { field in C [all …]
|
| D | classPropertyAsProtected.js | 3 protected x: string; field in C 4 protected get y() { return null; } field in C 5 protected set y(x) { } field in C 6 protected foo() { } field in C 8 protected static a: string; field in C 9 protected static get b() { return null; } field in C 10 protected static set b(x) { } field in C 11 protected static foo() { } field in C
|
| D | protectedClassPropertyAccessibleWithinSubclass.js | 5 protected x: string; field in B 6 protected static x: string; field in B 10 protected get y() { return this.x; } field in C 11 protected set y(x) { this.y = this.x; } field in C 12 protected foo() { return this.x; } field in C 13 protected bar() { return this.foo(); } field in C 15 protected static get y() { return this.x; } field in C 16 protected static set y(x) { this.y = this.x; } field in C 17 protected static foo() { return this.x; } field in C 18 protected static bar() { this.foo(); } field in C
|
| D | classWithProtectedProperty.js | 5 protected x; field in C 6 protected a = ''; field in C 7 protected b: string = ''; field in C 8 protected c() { return '' } field in C 9 protected d = () => ''; field in C 10 protected static e; field in C 11 protected static f() { return '' } field in C 12 protected static g = () => ''; field in C
|
| D | declarationEmitProtectedMembers.js | 4 protected x: number; field in C1 6 protected f() { field in C1 10 protected set accessor(a: number) { } field in C1 11 protected get accessor() { return 0; } field in C1 13 protected static sx: number; field in C1 15 protected static sf() { field in C1 19 protected static set staticSetter(a: number) { } field in C1 20 protected static get staticGetter() { return 0; } field in C1 25 protected f() { field in C2 28 protected static sf() { field in C2
|
| D | protectedMembers.js | 4 protected x: number; field in C1 5 protected static sx: number; field in C1 6 protected f() { field in C1 9 protected static sf() { field in C1 16 protected f() { field in C2 19 protected static sf() { field in C2 59 protected x; field in A 86 protected constructor() { field in CC 91 protected x; field in A1 102 protected x; field in A2 [all …]
|
| D | strictModeReservedWordInDestructuring.js | 7 var { public, protected } = { public: 1, protected: 2 }; property 8 var { public: a, protected: b } = { public: 1, protected: 2 }; property 17 var _b = { public: 1, protected: 2 }, public = _b.public, protected = _b.protected; property 18 var _c = { public: 1, protected: 2 }, a = _c.public, b = _c.protected; property
|
| D | interfaceExtendingClassWithProtecteds2.js | 3 protected x: string; field in Foo 7 protected x: string; field in Bar 18 protected y: string; field in Baz
|
| D | protectedInstanceMemberAccessibility.js | 3 protected x: string; field in A 4 protected f(): string { field in A 10 protected y: string; field in B 43 protected z: string; field in C
|
| D | typesWithProtectedConstructor.js | 3 protected constructor() { } field in C 10 protected constructor(x: number); field in C2 11 protected constructor(x: any) { } field in C2
|
| D | derivedClassOverridesProtectedMembers2.js | 6 protected a: typeof x; field in Base 7 protected b(a: typeof x) { } field in Base 8 protected get c() { return x; } field in Base 9 protected set c(v: typeof x) { } field in Base 10 protected d: (a: typeof x) => void ; field in Base 12 protected static r: typeof x; field in Base 13 protected static s(a: typeof x) { } field in Base 14 protected static get t() { return x; } field in Base 15 protected static set t(v: typeof x) { } field in Base 16 protected static u: (a: typeof x) => void ; field in Base
|
| D | accessibilityModifiers.js | 9 protected static protectedProperty; field in C 10 protected static protectedMethod() { } field in C 11 protected static get protectedGetter() { return 0; } field in C 12 protected static set protectedSetter(a: number) { } field in C 27 static protected protectedProperty; field in D 28 static protected protectedMethod() { } field in D 29 static protected get protectedGetter() { return 0; } field in D 30 static protected set protectedSetter(a: number) { } field in D 40 private public protected property; field in E 41 public protected method() { } field in E [all …]
|
| D | thisTypeAccessibility.js | 4 protected pp: number = 123; field in MyClass 7 protected static spp: number = 123; field in MyClass 19 protected pp: T; field in MyGenericClass 22 protected static spp: number; field in MyGenericClass
|
| D | divergentAccessorsVisibility1.js | 7 protected set PublicProtected(v) { return; } field in Base 12 protected get ProtectedPublic() { return 0; } field in Base 15 protected get ProtectedProtected() { return 0; } field in Base 16 protected set ProtectedProtected(v) { return; } field in Base 18 protected get ProtectedPrivate() { return 0; } field in Base 25 protected set PrivateProtected(v) { return; } field in Base
|
| D | publicGetterProtectedSetterFromThisParameter.js | 4 protected set x(v: number) { } field in A 7 protected set y(v: number) { } field in A 12 protected set q(v: number) { } field in B 14 protected get u() { return 0; } field in B 15 protected set u(v: number) { } field in B
|
| D | duplicatePackage_subModule.js | 9 protected source: boolean; field in Foo 17 protected source: boolean; field in Foo
|
| D | unionPropertyOfProtectedAndIntersectionProperty.js | 3 protected foo = 0; field in Foo 7 protected foo = 0; field in Bar
|
| D | derivedClassOverridesProtectedMembers3.js | 24 protected a: typeof x; field in Derived1 29 protected b(a: typeof x) { } field in Derived2 34 protected get c() { return x; } field in Derived3 39 protected set c(v: typeof x) { } field in Derived4 44 protected d: (a: typeof x) => void ; field in Derived5 49 protected static r: typeof x; field in Derived6 54 protected static s(a: typeof x) { } field in Derived7 59 protected static get t() { return x; } field in Derived8 64 protected static set t(v: typeof x) { } field in Derived9 69 protected static u: (a: typeof x) => void ; field in Derived10
|
| D | memberFunctionsWithPublicPrivateOverloads.js | 16 protected baz(x: string); // error field in C 17 protected baz(x: number, y: string); // error field in C 25 protected static baz(x: 'hi'); field in C 27 protected static baz(x: number, y: string); field in C 28 protected static baz(x: any, y?: any) { } field in C 42 protected baz(x: number, y: string); // error field in D 55 protected static baz(x: number, y: string); field in D 56 protected static baz(x: any, y?: any) { } field in D
|
| D | readonlyInDeclarationFile.js | 10 protected readonly a2: number; field in C 13 protected get b2() { return 1 } field in C 17 protected get c2() { return 1 } field in C 18 protected set c2(value) { } field in C 22 protected static readonly s2: number; field in C 25 protected static get t2() { return 1 } field in C 29 protected static get u2() { return 1 } field in C 30 protected static set u2(value) { } field in C
|
| D | implementingAnInterfaceExtendingClassWithProtecteds.js | 3 protected x: string; field in Foo 23 protected x: string; field in Bar4 31 protected y: number; field in Bar6
|
| /third_party/typescript/tests/cases/compiler/ |
| D | strictModeReservedWordInDestructuring.ts | 6 var { public, protected } = { public: 1, protected: 2 }; variable 7 var { public: a, protected: b } = { public: 1, protected: 2 }; variable
|