Home
last modified time | relevance | path

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

12345678910>>...23

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DconvertClassExpressionToFunctionFromObjectProperty2.ts67 constructor() { } constant
73 constructor() { } constant
79 constructor() { } constant
85 constructor() { } constant
91 constructor() { } constant
97 constructor() { } constant
103 constructor() { } constant
109 constructor() { } constant
115 constructor() { } constant
121 constructor() { } constant
[all …]
DcollisionRestParameterClassConstructor.ts30 constructor(_i: number) { // no error method in c1NoError
38 constructor(...restParameters) { method in c2
45 constructor() { method in c2NoError
53 constructor(public _i: number, ...restParameters) { //_i is error method in c3
60 constructor(public _i: number) { // no error method in c3NoError
68 constructor(_i: number, ...restParameters); // No error - no code gen method in c4
DparameterPropertyInConstructorWithPrologues.ts26 constructor(private A: string) { method in Foo1
33 constructor(private A: string, private B: string) { method in Foo2
43 constructor(private A: string, private B: string, private C: string) { method in Foo3
53 constructor(private A: string) { method in Foo4
65 constructor(private A: string, private B: string) { method in Foo5
80 constructor(private A: string, private B: string, private C: string) { method in Foo6
95 constructor( method in Foo7
113 constructor( method in Foo8
138 constructor() { method in Foo9
DcollisionSuperAndPropertyNameAsConstuctorParameter.ts25 constructor(_super: number) { // should be error method in b1
33 constructor(private _super: number) { // should be error method in b2
41 constructor(_super: number); // no code gen - no error method in b3
51 constructor(_super: number); // no code gen - no error method in b4
DconstructorWithCapturedSuper.ts32 constructor(x: number) { method in B
66 constructor(x: number) { method in C
98 constructor(x: number) { method in D
DcollisionSuperAndLocalFunctionInConstructor.ts24 constructor() { method in Foo
31 constructor() { method in b
42 constructor() { method in c
DdoNotEmitDetachedCommentsAtStartOfConstructor.ts32 constructor() { method in B
44 constructor() { method in C
55 constructor() { method in D
DdeclarationEmitClassPrivateConstructor.ts26 private constructor(data: PrivateInterface) { } method in ExportedClass1
30 private constructor(private data: PrivateInterface) { } method in ExportedClass2
34 private constructor(private data: PrivateInterface, private n: number) { } method in ExportedClass3
38 private constructor(private data: PrivateInterface, public n:number) { } method in ExportedClass4
DcommentsClass.ts35 constructor() { method in c3
50 constructor() { method in c4
80 constructor() { /// constructor comment2 method in c6
97 constructor() { method in c7
116 constructor() { method in c8
131 constructor() { method in c9
DconstructorWithExpressionLessReturn.ts30 constructor() { method in D
36 constructor(public x: number) { method in E
42 constructor(public x: T) { method in F
DjsDeclarationsClasses.ts36 constructor(a, b) {} method in D
93 constructor(a, b) {} method in E
151 constructor(a, b) {} method in F
186 constructor() { method in K
210 constructor() { method in M
227 constructor(param) { method in N
248 constructor(param) { method in O
DemitDefaultParametersMethodES6.ts32 constructor(y = "hello") { } method in D
36 constructor(y = "hello", ...rest) { } method in E
DemitDefaultParametersMethod.ts32 constructor(y = "hello") { } method in D
36 constructor(y = "hello", ...rest) { } method in E
DconstructorImplementationWithDefaultValues.ts31 constructor(x); method in D
40 constructor(x); method in E
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/declFileConstructors/
DdeclFileConstructors_0.ts28 constructor(/** this is comment about a*/a: string, method in ConstructorWithParameters
38 constructor(a: string, ...rests: string[]) { method in ConstructorWithRestParamters
49 constructor(a: string); method in ConstructorWithOverloads
56 constructor(public x: string) { method in ConstructorWithPublicParameterProperty
61 constructor(private x: string) { method in ConstructorWithPrivateParameterProperty
66 constructor(public x?: string) { method in ConstructorWithOptionalParameterProperty
71 constructor(public x = "hello") { method in ConstructorWithParameterInitializer
DdeclFileConstructors_1.ts28 constructor(/** this is comment about a*/a: string, method in GlobalConstructorWithParameters
38 constructor(a: string, ...rests: string[]) { method in GlobalConstructorWithRestParamters
49 constructor(a: string); method in GlobalConstructorWithOverloads
56 constructor(public x: string) { method in GlobalConstructorWithPublicParameterProperty
61 constructor(private x: string) { method in GlobalConstructorWithPrivateParameterProperty
66 constructor(public x?: string) { method in GlobalConstructorWithOptionalParameterProperty
71 constructor(public x = "hello") { method in GlobalConstructorWithParameterInitializer
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-ts-parameter-property.ts18 public constructor( method in ExampleClass1
37 public constructor(readonly) { }; method in ExampleClass2
41 public constructor(public readonly) { }; method in ExampleClass3
45 public constructor(readonly readonly) { }; method in ExampleClass4
Dtest-class-constructor5.ts18 constructor() { }; method in Foo
19 constructor() { }; method in Foo
Dtest-class-constructor2.ts18 constructor(); method in Foo
21 constructor(); method in Foo
/arkcompiler/ets_runtime/test/aottest/class_method_signature/
Dclass_method_signature.ts38 constructor() {} method in A2
62 constructor() {} method in B
81 constructor() {} method in B2
105 constructor() {} method in C
119 constructor() {} method in D
140 constructor() {} method in E
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsExportAssignedVisibility/
Dobj.js22 AssertType(module.exports = class Obj { constructor() { this.x = 12; }}, "typeof impor… method
24 AssertType(class Obj { constructor() { this.x = 12; }}, "typeof import("tests/cases/co… method
27 constructor() { method in declare.exports
/arkcompiler/ets_runtime/test/aottest/vtable/not_inherit_info/not_meet_rule5/
Dnot_meet_rule5.ts52 constructor() { method in C
63 constructor() { method in C2
74 constructor() { method in C3
85 constructor() { method in C4
96 constructor() { method in C5
107 constructor() { method in C6
/arkcompiler/ets_frontend/ts2panda/src/
Dpandasm.ts22 constructor( method in Metadata
33 constructor(params: number = 0, retType?: string | undefined) { method in Signature
47 constructor( method in Ins
81 constructor( method in Function
119 constructor(name: string) { method in Record
136 constructor() { method in Program
159 constructor( method in CatchTable
176 constructor(vregNum: number, typeIndex: number) { method in TypeOfVreg
188 constructor(symbol: string, type: number) { method in ExportedSymbol2Type
200 constructor(symbol: string, type: number) { method in DeclaredSymbol2Type
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-class-definition2.js18 constructor() { method in A
21 constructor() { method in A
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/privacyFunctionCannotNameParameterTypeDeclFile/
DprivacyFunctionCannotNameParameterTypeDeclFile_consumer.ts44constructor(param = exporter.createExportedWidget3(), private param1 = exporter.createExportedWidg… method in publicClassWithWithPrivateParmeterTypes1
57constructor(param = exporter.createExportedWidget1(), private param1 = exporter.createExportedWidg… method in privateClassWithWithPrivateParmeterTypes
69constructor(param = exporter.createExportedWidget3(), private param1 = exporter.createExportedWidg… method in privateClassWithWithPrivateParmeterTypes2
88constructor(param= exporter.createExportedWidget2(), private param1= exporter.createExportedWidget… method in publicClassWithPrivateModuleParameterTypes
96constructor(param= exporter.createExportedWidget4(), private param1= exporter.createExportedWidget… method in publicClassWithPrivateModuleParameterTypes2
110constructor(param= exporter.createExportedWidget2(), private param1= exporter.createExportedWidget… method in privateClassWithPrivateModuleParameterTypes
118constructor(param= exporter.createExportedWidget4(), private param1= exporter.createExportedWidget… method in privateClassWithPrivateModuleParameterTypes1

12345678910>>...23