Home
last modified time | relevance | path

Searched defs:protected (Results 1 – 25 of 132) sorted by relevance

123456

/third_party/typescript/tests/baselines/reference/
DprotectedClassPropertyAccessibleWithinClass.js5 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 …]
DprotectedClassPropertyAccessibleWithinNestedClass.js5 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 …]
DderivedClassOverridesProtectedMembers.js6 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 …]
DprotectedClassPropertyAccessibleWithinNestedSubclass.js3 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 …]
DclassPropertyAsProtected.js3 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
DprotectedClassPropertyAccessibleWithinSubclass.js5 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
DclassWithProtectedProperty.js5 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
DdeclarationEmitProtectedMembers.js4 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
DprotectedMembers.js4 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 …]
DstrictModeReservedWordInDestructuring.js7 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
DinterfaceExtendingClassWithProtecteds2.js3 protected x: string; field in Foo
7 protected x: string; field in Bar
18 protected y: string; field in Baz
DprotectedInstanceMemberAccessibility.js3 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
DtypesWithProtectedConstructor.js3 protected constructor() { } field in C
10 protected constructor(x: number); field in C2
11 protected constructor(x: any) { } field in C2
DderivedClassOverridesProtectedMembers2.js6 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
DaccessibilityModifiers.js9 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 …]
DthisTypeAccessibility.js4 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
DdivergentAccessorsVisibility1.js7 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
DpublicGetterProtectedSetterFromThisParameter.js4 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
DduplicatePackage_subModule.js9 protected source: boolean; field in Foo
17 protected source: boolean; field in Foo
DunionPropertyOfProtectedAndIntersectionProperty.js3 protected foo = 0; field in Foo
7 protected foo = 0; field in Bar
DderivedClassOverridesProtectedMembers3.js24 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
DmemberFunctionsWithPublicPrivateOverloads.js16 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
DreadonlyInDeclarationFile.js10 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
DimplementingAnInterfaceExtendingClassWithProtecteds.js3 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/
DstrictModeReservedWordInDestructuring.ts6 var { public, protected } = { public: 1, protected: 2 }; variable
7 var { public: a, protected: b } = { public: 1, protected: 2 }; variable

123456