Home
last modified time | relevance | path

Searched full:constructor (Results 1 – 25 of 2886) sorted by relevance

12345678910>>...116

/arkcompiler/ets_frontend/es2panda/test/version_control/API12beta1_and_beta2/bytecode_feature/
Dwide_sendable_lexical_env.ts18 constructor(){ method in TopLevelSendableClass1
25 constructor(){ method in TopLevelSendableClass2
32 constructor(){ method in TopLevelSendableClass3
39 constructor(){ method in TopLevelSendableClass4
46 constructor(){ method in TopLevelSendableClass5
53 constructor(){ method in TopLevelSendableClass6
60 constructor(){ method in TopLevelSendableClass7
67 constructor(){ method in TopLevelSendableClass8
74 constructor(){ method in TopLevelSendableClass9
81 constructor(){ method in TopLevelSendableClass10
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/07.function_and_method_overloading/03.constructor_overloading/
Dco1_over.params.yaml19 constructor(p: number) {}
20 constructor(v: double) {}
27 constructor(p: Number) {}
28 constructor(v: Double) {}
35 constructor(p: String) {}
36 constructor(v: string) {}
45 constructor(p: A) {}
46 constructor(v: B) {}
55 constructor(p: A|string) {}
56 constructor(v: string|B) {}
[all …]
Dco2_over.params.yaml20 constructor(p: number) throws { if (p < 0) throw new Ex() }
21 constructor(v: double) {}
30 constructor(p: Number) throws { if (p < 0) throw new Ex() }
31 constructor(v: Double) {}
40 constructor(p: string) throws { if (p < 0) throw new Ex() }
41 constructor(v: String) {}
51 constructor(p: A) throws { if (p instanceof Error) throw new Ex() }
52 constructor(v: B) {}
62 constructor(p: A|string) throws { if (p instanceof A) throw new Ex() }
63 constructor(v: string|B) {}
[all …]
Dco3_over.params.yaml17 // constructor overloaded with multiple parameters with different types
22 constructor() {}
23 constructor(i: int) { this.i = i }
24 constructor(i: int, j: int) { this.i = i + j }
25 constructor(i: int, j: int, k: int) { this.i = 3 }
26 constructor(i: int, j: double) { this.d = j + i }
27 constructor(i: int, j: int, k: double) { this.d = 123.0 }
28 constructor(i: double, j: double, k: int) { this.d = i + j + k }
29 constructor(i: string, j: double) { this.s = i + j }
50 // constructor overloaded with optional parameters
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DExceptions.sts22 constructor() {
26 constructor(s: String) {
30 constructor(s: String, cause: Object) {
40 constructor() {
44 constructor(s: String) {
48 constructor(s: String, cause: Object) {
57 constructor() {
61 constructor(s: String) {
65 constructor(s: String, cause: Object) {
74 constructor() {
[all …]
DErrors.sts23 constructor(message: String) {
27 constructor(message?: String, options?: ErrorOptions) {
37 constructor(message?: String, options?: ErrorOptions) {
46 constructor(message?: String, options?: ErrorOptions) {
55 constructor(message?: String, options?: ErrorOptions) {
64 constructor(message?: String, options?: ErrorOptions) {
81 constructor(message?: String, options?: ErrorOptions) {
90 constructor(message?: String, options?: ErrorOptions) {
107 constructor(message?: String, options?: ErrorOptions) {
116 constructor(message?: String, options?: ErrorOptions) {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/09.constructor_declaration/02.constructor_overload_signatures/
Dconstructor_implementation.params.yaml15 # semicolon breaks the single constructor body rule
20 constructor();
21 constructor(i: int) { }
28 constructor();
32 # missing constructor body
37 constructor();
44 constructor()
52 constructor(j: int)
68 constructor()
69 constructor(j: int)
[all …]
Ddifferent_access_modifiers.params.yaml19 constructor() { }
20 private constructor() { }
27 constructor(i: Int) { }
28 private constructor(i: int) { }
35 protected constructor(i: int) { }
36 private constructor(j: float) { }
43 constructor() { }
44 protected constructor(j: int) { }
51 constructor(i: int) { }
52 protected constructor() { }
[all …]
/arkcompiler/ets_frontend/test262/
Dintl_tests.txt24 intl402/Collator/constructor-options-throwing-getters.js
41 intl402/Collator/prototype/constructor/prop-desc.js
42 intl402/Collator/prototype/constructor/value.js
88 intl402/DateTimeFormat/constructor-options-fractionalSecondDigits-invalid.js
89 intl402/DateTimeFormat/constructor-options-order-dayPeriod.js
90 intl402/DateTimeFormat/constructor-default-value.js
94 intl402/DateTimeFormat/constructor-options-timeStyle-invalid.js
96 intl402/DateTimeFormat/constructor-calendar-numberingSystem-order.js
97 intl402/DateTimeFormat/constructor-options-dateStyle-invalid.js
99 intl402/DateTimeFormat/constructor-options-numberingSystem-invalid.js
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dsendable_class_interface_property.ts.json563 …suggest": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.",
564 … "rule": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.",
573 …suggest": "Property 'prop2' has no initializer and is not definitely assigned in the constructor.",
574 … "rule": "Property 'prop2' has no initializer and is not definitely assigned in the constructor.",
583 …suggest": "Property 'prop3' has no initializer and is not definitely assigned in the constructor.",
584 … "rule": "Property 'prop3' has no initializer and is not definitely assigned in the constructor.",
593 …suggest": "Property 'prop4' has no initializer and is not definitely assigned in the constructor.",
594 … "rule": "Property 'prop4' has no initializer and is not definitely assigned in the constructor.",
603 …suggest": "Property 'prop5' has no initializer and is not definitely assigned in the constructor.",
604 … "rule": "Property 'prop5' has no initializer and is not definitely assigned in the constructor.",
[all …]
/arkcompiler/ets_runtime/test/sharedtest/sendable/
Dsendable.ts19 constructor() { method in SendableParent
24 constructor() { method in SendableChild
35 constructor() {} method in Parent
38 constructor() { method in SendableChild
49 constructor() { method in A
54 constructor() { method in B
69 constructor() {} method in Parent
72 constructor() { method in Child
82 constructor() { method in SendableParent
87 constructor() { method in Child
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Decma_container_common.h73 JSHandle<JSTaggedValue> constructor(thread, result); in CreateArrayList()
75 factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor)); in CreateArrayList()
85 JSHandle<JSTaggedValue> constructor(thread, result); in CreatePlainArray()
87 factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor)); in CreatePlainArray()
99 JSHandle<JSTaggedValue> constructor(thread, result); in CreateJSApiDeque()
100 …APIDeque> deque(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor)); in CreateJSApiDeque()
110 JSHandle<JSTaggedValue> constructor(thread, result); in CreateHashMap()
111 …APIHashMap> map(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor)); in CreateHashMap()
122 JSHandle<JSTaggedValue> constructor(thread, result); in CreateHashSet()
123 …APIHashSet> set(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), constructor)); in CreateHashSet()
[all …]
/arkcompiler/ets_runtime/test/aottest/pgo_aot_newobj/
Dexpect_output.txt18 A:constructor!
20 B:constructor!
24 A:constructor!
28 D:constructor!
30 B:constructor!
36 C:constructor!
45 A:constructor!
47 B:constructor!
Dpgo_expect_output.txt18 A:constructor!
20 B:constructor!
24 A:constructor!
28 D:constructor!
30 B:constructor!
36 C:constructor!
45 A:constructor!
47 B:constructor!
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+top+export/04_class_cases/01_constructor/
D01_class_constrctor_expected.txt19 constructor(u: number) {
30 constructor(t: 'hello');
31 constructor(s: 'bye');
32 constructor(r: string);
33 constructor(q: any) {
44 constructor();
46 constructor(p: number);
50 constructor();
52 constructor(m: number);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top+export/04_class_cases/01_constructor/
D01_class_constrctor_expected.txt19 constructor(o: number) {
30 constructor(n: 'hello');
31 constructor(m: 'bye');
32 constructor(l: string);
33 constructor(k: any) {
44 constructor();
46 constructor(j: number);
50 constructor();
52 constructor(h: number);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top/04_class_cases/01_constructor/
D01_class_constrctor_expected.txt19 constructor(n: number) {
30 constructor(m: 'hello');
31 constructor(l: 'bye');
32 constructor(k: string);
33 constructor(j: any) {
44 constructor();
46 constructor(i: number);
50 constructor();
52 constructor(h: number);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp/04_class_cases/01_constructor/
D01_class_constrctor_expected.txt19 constructor(g: number) {
30 constructor(f: 'hello');
31 constructor(e: 'bye');
32 constructor(d: string);
33 constructor(c: any) {
44 constructor();
46 constructor(b: number);
50 constructor();
52 constructor(a: number);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top+export/04_class_cases/01_constructor/
D01_class_constrctor_expected.txt19 constructor(o: number) {
30 constructor(n: 'hello');
31 constructor(m: 'bye');
32 constructor(l: string);
33 constructor(k: any) {
44 constructor();
46 constructor(j: number);
50 constructor();
52 constructor(h: number);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+export/04_class_cases/01_constructor/
D01_class_constrctor_expected.txt19 constructor(h: number) {
30 constructor(g: 'hello');
31 constructor(f: 'bye');
32 constructor(e: string);
33 constructor(d: any) {
44 constructor();
46 constructor(c: number);
50 constructor();
52 constructor(a: number);
/arkcompiler/ets_frontend/arkguard/test/combinations/basic_grammar/04_class_cases/01_constructor/
D01_class_constrctor.ts20 constructor(para: number) { method in A1
31 constructor(para: 'hello'); method in A2
32 constructor(para: 'bye');
33 constructor(para: string);
34 constructor(para: any) {
45 constructor(); method in ns.A3
47 constructor(x: number);
52 constructor();
54 constructor(x: number);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+top/04_class_cases/01_constructor/
D01_class_constrctor_expected.txt19 constructor(s: number) {
30 constructor(r: 'hello');
31 constructor(q: 'bye');
32 constructor(p: string);
33 constructor(o: any) {
44 constructor();
46 constructor(n: number);
50 constructor();
52 constructor(m: number);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/export/04_class_cases/01_constructor/
D01_class_constrctor_expected.txt19 constructor(h: number) {
30 constructor(g: 'hello');
31 constructor(f: 'bye');
32 constructor(e: string);
33 constructor(d: any) {
44 constructor();
46 constructor(c: number);
50 constructor();
52 constructor(a: number);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top/04_class_cases/01_constructor/
D01_class_constrctor_expected.txt19 constructor(n: number) {
30 constructor(m: 'hello');
31 constructor(l: 'bye');
32 constructor(k: string);
33 constructor(j: any) {
44 constructor();
46 constructor(i: number);
50 constructor();
52 constructor(h: number);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp/04_class_cases/01_constructor/
D01_class_constrctor_expected.txt19 constructor(g: number) {
30 constructor(f: 'hello');
31 constructor(e: 'bye');
32 constructor(d: string);
33 constructor(c: any) {
44 constructor();
46 constructor(b: number);
50 constructor();
52 constructor(a: number);

12345678910>>...116