Home
last modified time | relevance | path

Searched defs:constructor (Results 1 – 25 of 2293) sorted by relevance

12345678910>>...92

/third_party/typescript/tests/cases/compiler/
DconvertClassExpressionToFunctionFromObjectProperty2.ts25 constructor() { } constant
28 constructor() { } constant
31 constructor() { } constant
34 constructor() { } constant
37 constructor() { } constant
40 constructor() { } constant
43 constructor() { } constant
46 constructor() { } constant
49 constructor() { } constant
52 constructor() { } constant
[all …]
DdeclFileConstructors.ts9 constructor() { method in SimpleConstructor
14 constructor(/** this is comment about a*/a: string, method in ConstructorWithParameters
22 constructor(a: string, ...rests: string[]) { method in ConstructorWithRestParamters
28 constructor(a: string); method in ConstructorWithOverloads
35 constructor(public x: string) { method in ConstructorWithPublicParameterProperty
40 constructor(private x: string) { method in ConstructorWithPrivateParameterProperty
45 constructor(public x?: string) { method in ConstructorWithOptionalParameterProperty
50 constructor(public x = "hello") { method in ConstructorWithParameterInitializer
57 constructor() { method in GlobalSimpleConstructor
62 constructor(/** this is comment about a*/a: string, method in GlobalConstructorWithParameters
[all …]
DparserConstructorDeclaration12.ts2 constructor<>() { } method in C
3 constructor<> () { } method in C
4 constructor <>() { } method in C
5 constructor <> () { } method in C
6 constructor< >() { } method in C
7 constructor< > () { } method in C
8 constructor < >() { } method in C
9 constructor < > () { } method in C
DclassUpdateTests.ts15 constructor() {} method in B
19 constructor(public p1=0, private p2=0, p3=0) {} method in C
34 constructor() {} // ERROR - super call required method in F
39 constructor() { super(); } // NO ERROR method in G
43 constructor() { super(); } // ERROR - no super call allowed method in H
47 constructor() { super(); } // ERROR - no super call allowed method in I
51 constructor(public p1:number) { method in J
57 constructor(public p1:number) { // ERROR method in K
64 constructor(private p1:number) { method in L
70 constructor(private p1:number) { // ERROR method in M
[all …]
DcollisionArgumentsClassConstructor.ts3 constructor(i: number, ...arguments) { // error method in c1
8 constructor(arguments: number, ...rest) { // error method in c12
13 constructor(arguments: number) { // no error method in c1NoError
19 constructor(...restParameters) { method in c2
24 constructor() { method in c2NoError
30 constructor(public arguments: number, ...restParameters) { //arguments is error method in c3
35 constructor(public arguments: number) { // no error method in c3NoError
41 constructor(i: number, ...arguments); // No error - no code gen method in c4
DreturnInConstructor1.ts3 constructor() { method in A
10 constructor() { method in B
17 constructor() { method in C
24 constructor() { method in D
31 constructor() { method in E
38 constructor() { method in F
47 constructor() { method in G
53 constructor() { method in H
60 constructor() { method in I
DcollisionRestParameterClassConstructor.ts3 constructor(_i: number, ...restParameters) { //_i is error method in c1
8 constructor(_i: number) { // no error method in c1NoError
14 constructor(...restParameters) { method in c2
19 constructor() { method in c2NoError
25 constructor(public _i: number, ...restParameters) { //_i is error method in c3
30 constructor(public _i: number) { // no error method in c3NoError
36 constructor(_i: number, ...restParameters); // No error - no code gen method in c4
DbaseCheck.ts1 class C { constructor(x: number, y: number) { } } method in C
3 constructor(x: number) { method in ELoc
8 constructor(x: number) { method in ELocVar
17 class D extends C { constructor(public z: number) { super(this.z) } } // too few params method in D
18 class E extends C { constructor(public z: number) { super(0, this.z) } } method in E
19 class F extends C { constructor(public z: number) { super("hello", this.z) } } // first param type method in F
DstrictModeInConstructor.ts9 constructor () { method in B
18 constructor () { method in C
27 constructor () { method in D
37 constructor () { method in Bs
46 constructor () { method in Cs
55 constructor () { method in Ds
DobjectCreationOfElementAccessExpression.ts3 constructor(public name: string) { method in Food
18 constructor(name: string, public flavor: string) { method in MonsterFood
24 constructor(public flavor: string) { method in IceCream
29 constructor(public flavor: string, public isGlutenFree: boolean) { method in Cookie
34 constructor(name: string, public whereToBuy: number) { method in PetFood
39 constructor(public whereToBuy: number) { method in ExpensiveOrganicDogFood
44 constructor(public whereToBuy: number, public containsFish: boolean) { method in ExpensiveOrganicCatFood
/third_party/typescript/tests/baselines/reference/
DconvertClassExpressionToFunctionFromObjectProperty1.js6 constructor () {} method in foo.x
9 constructor () {} method in foo.y
14 constructor () {} method in foo.break
17 constructor () {} method in foo.case
20 constructor () {} method in foo
23 constructor () {} method in foo
26 constructor () {} method in foo
29 constructor () {} method in foo.continue
32 constructor () {} method in foo.debugger
35 constructor () {} method in foo
[all …]
DparserConstructorDeclaration12.js3 constructor<>() { } field in C
4 constructor<> () { } field in C
5 constructor <>() { } field in C
6 constructor <> () { } field in C
7 constructor< >() { } field in C
8 constructor< > () { } field in C
9 constructor < >() { } field in C
10 constructor < > () { } field in C
DdeclFileConstructors.js6 constructor() { method in SimpleConstructor
11 constructor(/** this is comment about a*/a: string, method in ConstructorWithParameters
19 constructor(a: string, ...rests: string[]) { method in ConstructorWithRestParamters
27 constructor(a: any) { method in ConstructorWithOverloads
32 constructor(public x: string) { method in ConstructorWithPublicParameterProperty
37 constructor(private x: string) { method in ConstructorWithPrivateParameterProperty
42 constructor(public x?: string) { method in ConstructorWithOptionalParameterProperty
47 constructor(public x = "hello") { method in ConstructorWithParameterInitializer
54 constructor() { method in GlobalSimpleConstructor
59 constructor(/** this is comment about a*/a: string, method in GlobalConstructorWithParameters
[all …]
DemitClassDeclarationWithPropertyAssignmentInES6.js9 constructor() { method in D
21 constructor() { method in F
29 constructor() { method in C
34 constructor() { method in D
40 constructor() { method in E
46 constructor() { method in F
DprivateNamesInNestedClasses-2.js4 constructor () { method in A
7 constructor() { method in A.constructor.B
9 constructor() { method in A.constructor.B.constructor.C
29 constructor() { method in A
32 constructor() { method in A.constructor.B
35 constructor() { method in A.constructor.B.constructor.C
DcheckSuperCallBeforeThisAccess.js7 constructor(n: number) { method in C1
53 constructor(value: number) { method in Foo
58 constructor(something: boolean) { method in BarCorrectlyFails
71 constructor(something: boolean) { method in BarIncorrectlyWorks
86 constructor() { method in A
91 constructor(n) { method in C1
135 constructor(value) { method in Foo
139 constructor(something) { method in BarCorrectlyFails
151 constructor(something) { method in BarIncorrectlyWorks
DtransformsElideNullUndefinedType.js37 class C2 { constructor(p10: null) { } } method in C2
38 class C3 { constructor(p11: undefined) { } } method in C3
42 constructor(p12: null) { } method in C4
47 constructor(p13: undefined) { } method in C5
50 var C6 = class { constructor(p12: null) { } } method in C6
51 var C7 = class { constructor(p13: undefined) { } } method in C7
87 constructor(p10) { } method in C2
90 constructor(p11) { } method in C3
93 constructor(p12) { } method in C4
96 constructor(p13) { } method in C5
[all …]
DstrictPropertyInitialization.js54 constructor() { method in C5
65 constructor(cond: boolean) { method in C6
77 constructor(cond: boolean) { method in C7
113 constructor() { method in C10
155 constructor() { method in C1
168 constructor() { method in C4
180 constructor() { method in C5
189 constructor(cond) { method in C6
200 constructor(cond) { method in C7
221 constructor() { method in C10
[all …]
DclassUpdateTests.js16 constructor() {} method in B
20 constructor(public p1=0, private p2=0, p3=0) {} method in C
35 constructor() {} // ERROR - super call required method in F
40 constructor() { super(); } // NO ERROR method in G
44 constructor() { super(); } // ERROR - no super call allowed method in H
48 constructor() { super(); } // ERROR - no super call allowed method in I
52 constructor(public p1:number) { method in J
58 constructor(public p1:number) { // ERROR method in K
65 constructor(private p1:number) { method in L
71 constructor(private p1:number) { // ERROR method in M
[all …]
/third_party/typescript/tests/cases/conformance/classes/constructorDeclarations/superCalls/
DderivedClassParameterProperties.ts8 constructor(y: string) { method in Derived
15 constructor(public y: string) { method in Derived2
22 constructor(public y: string) { method in Derived3
30 constructor(y: string) { method in Derived4
38 constructor(y: string) { method in Derived5
46 constructor(y: string) { method in Derived6
56 constructor(y: string) { method in Derived7
66 constructor(y: string) { method in Derived8
79 constructor(y: string) { method in Derived9
89 constructor(y: string) { method in Derived10
DderivedClassSuperCallsWithThisArg.ts3 constructor(a) { } method in Base
7 constructor() { method in Derived
13 constructor(public a: string) { method in Derived2
19 constructor(public a: string) { method in Derived3
25 constructor(public a: string) { method in Derived4
/third_party/typescript/tests/cases/conformance/classes/members/inheritanceAndOverriding/
DderivedClassOverridesProtectedMembers3.ts19 constructor(a: typeof x) {} method in Base
26 constructor(a: typeof x) { super(a); } method in Derived1
31 constructor(a: typeof x) { super(a); } method in Derived2
36 constructor(a: typeof x) { super(a); } method in Derived3
41 constructor(a: typeof x) { super(a); } method in Derived4
46 constructor(a: typeof x) { super(a); } method in Derived5
51 constructor(a: typeof x) { super(a); } method in Derived6
56 constructor(a: typeof x) { super(a); } method in Derived7
61 constructor(a: typeof x) { super(a); } method in Derived8
66 constructor(a: typeof x) { super(a); } method in Derived9
[all …]
/third_party/typescript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/
DreadonlyConstructorAssignment.ts4 constructor(readonly x: number) { method in A
10 constructor(x: number) { method in B
20 constructor(readonly x: number) { method in C
27 constructor(private readonly x: number) { method in D
34 constructor(readonly x: number) { method in E
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_contact.js20 constructor() { method in mockContact.ContactClass
45 constructor() { method in mockContact.ContactAttributesClass
52 constructor() { method in mockContact.EmailClass
67 constructor() { method in mockContact.EventClass
81 constructor() { method in mockContact.GroupClass
89 constructor() { method in mockContact.HolderClass
98 constructor() { method in mockContact.ImAddressClass
116 constructor() { method in mockContact.NameClass
131 constructor() { method in mockContact.NickNameClass
138 constructor() { method in mockContact.NoteClass
[all …]
/third_party/node/deps/npm/node_modules/minizlib/
Dindex.js13 constructor (err) { method in ZlibError
47 constructor (opts, mode) { method in ZlibBase
183 constructor (opts, mode) { method in Zlib
234 constructor (opts) { method in Deflate
240 constructor (opts) { method in Inflate
247 constructor (opts) { method in Gzip
253 constructor (opts) { method in Gunzip
260 constructor (opts) { method in DeflateRaw
266 constructor (opts) { method in InflateRaw
273 constructor (opts) { method in Unzip
[all …]

12345678910>>...92