Home
last modified time | relevance | path

Searched full:initializer (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/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 …]
Darkui_decorators.ts.json173 …"suggest": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
174 … "rule": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
183 … "suggest": "Property 'age' has no initializer and is not definitely assigned in the constructor.",
184 … "rule": "Property 'age' has no initializer and is not definitely assigned in the constructor.",
193 …"suggest": "Property 'localStorage' has no initializer and is not definitely assigned in the const…
194 …"rule": "Property 'localStorage' has no initializer and is not definitely assigned in the construc…
203 …"suggest": "Property 'provide' has no initializer and is not definitely assigned in the constructo…
204 …"rule": "Property 'provide' has no initializer and is not definitely assigned in the constructor.",
213 …"suggest": "Property 'state' has no initializer and is not definitely assigned in the constructor.…
214 … "rule": "Property 'state' has no initializer and is not definitely assigned in the constructor.",
[all …]
Dobject_literals_prop_func_type.ts.json33 … "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
34 … "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
43 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
44 … "rule": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
53 … "suggest": "Property 'c' has no initializer and is not definitely assigned in the constructor.",
54 … "rule": "Property 'c' has no initializer and is not definitely assigned in the constructor.",
63 … "suggest": "Property 'd' has no initializer and is not definitely assigned in the constructor.",
64 … "rule": "Property 'd' has no initializer and is not definitely assigned in the constructor.",
Dobject_literals_prop_func_type.ts.autofix.json33 … "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
34 … "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
43 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
44 … "rule": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
53 … "suggest": "Property 'c' has no initializer and is not definitely assigned in the constructor.",
54 … "rule": "Property 'c' has no initializer and is not definitely assigned in the constructor.",
63 … "suggest": "Property 'd' has no initializer and is not definitely assigned in the constructor.",
64 … "rule": "Property 'd' has no initializer and is not definitely assigned in the constructor.",
Dobject_literals_2.ts.autofix.json135 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
136 … "rule": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
145 … "suggest": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
146 … "rule": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
155 … "suggest": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
156 … "rule": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
165 … "suggest": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
166 … "rule": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
175 … "suggest": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
176 … "rule": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
[all …]
Dobject_literals_2.ts.json123 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
124 … "rule": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
133 … "suggest": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
134 … "rule": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
143 … "suggest": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
144 … "rule": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
153 … "suggest": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
154 … "rule": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
163 … "suggest": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
164 … "rule": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
[all …]
Dstructural_identity_constructor.ts.json33 … "suggest": "Property 'f' has no initializer and is not definitely assigned in the constructor.",
34 … "rule": "Property 'f' has no initializer and is not definitely assigned in the constructor.",
43 … "suggest": "Property 'f' has no initializer and is not definitely assigned in the constructor.",
44 … "rule": "Property 'f' has no initializer and is not definitely assigned in the constructor.",
53 … "suggest": "Property 'foo' has no initializer and is not definitely assigned in the constructor.",
54 … "rule": "Property 'foo' has no initializer and is not definitely assigned in the constructor.",
Dnon_initializable_prop_decorators.ts.json93 … "suggest": "Property 'pr' has no initializer and is not definitely assigned in the constructor.",
94 … "rule": "Property 'pr' has no initializer and is not definitely assigned in the constructor.",
103 … "suggest": "Property 'pr2' has no initializer and is not definitely assigned in the constructor.",
104 … "rule": "Property 'pr2' has no initializer and is not definitely assigned in the constructor.",
113 … "suggest": "Property 'f2' has no initializer and is not definitely assigned in the constructor.",
114 … "rule": "Property 'f2' has no initializer and is not definitely assigned in the constructor.",
123 …"suggest": "Property 'controller' has no initializer and is not definitely assigned in the constru…
124 …"rule": "Property 'controller' has no initializer and is not definitely assigned in the constructo…
Dstructural_identity_extended_inheritance.ts.json33 … "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
34 … "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
43 … "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
44 … "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
Dliterals_as_prop_names.ts.json153 … "suggest": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
154 … "rule": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
163 … "suggest": "Property 'Two' has no initializer and is not definitely assigned in the constructor.",
164 … "rule": "Property 'Two' has no initializer and is not definitely assigned in the constructor.",
173 …"suggest": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
174 … "rule": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
183 … "suggest": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
184 … "rule": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
Dstructural_identity_extended_inheritance.ts.arkts2.json43 … "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
44 … "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
53 … "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
54 … "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
/arkcompiler/runtime_core/static_core/libpandabase/trace/
Dtrace.cpp18 class Initializer { class
20 Initializer() in Initializer() function in Initializer
25 virtual ~Initializer() = default;
27 NO_COPY_SEMANTIC(Initializer);
28 NO_MOVE_SEMANTIC(Initializer);
31 static Initializer g_sInitializer; // NOLINT(fuchsia-statically-constructed-objects)
/arkcompiler/runtime_core/libpandabase/trace/
Dtrace.cpp18 class Initializer { class
20 Initializer() in Initializer() function in Initializer
25 virtual ~Initializer() = default;
27 NO_COPY_SEMANTIC(Initializer);
28 NO_MOVE_SEMANTIC(Initializer);
31 static Initializer s_initializer; // NOLINT(fuchsia-statically-constructed-objects)
/arkcompiler/ets_frontend/ets2panda/linter/test/regression/
D14953.ts.json53 …"suggest": "Property '['b']' has no initializer and is not definitely assigned in the constructor.…
54 … "rule": "Property '['b']' has no initializer and is not definitely assigned in the constructor.",
63 …"suggest": "Property '[T.A]' has no initializer and is not definitely assigned in the constructor.…
64 … "rule": "Property '[T.A]' has no initializer and is not definitely assigned in the constructor.",
73 …"suggest": "Property '[T.B]' has no initializer and is not definitely assigned in the constructor.…
74 … "rule": "Property '[T.B]' has no initializer and is not definitely assigned in the constructor.",
83 …"suggest": "Property '[str1]' has no initializer and is not definitely assigned in the constructor…
84 … "rule": "Property '[str1]' has no initializer and is not definitely assigned in the constructor.",
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/
Dambient_annotations_bad_type01.sts35 /* @@? 19:5 Error TypeError: Initializer for field 'authorName' does not match the expected definit…
37 /* @@? 20:5 Error TypeError: Initializer for field 'authorAge' does not match the expected definiti…
39 /* @@? 21:5 Error TypeError: Initializer for field 'testBool' does not match the expected definitio…
41 /* @@? 22:5 Error TypeError: Initializer for field 'favorColor' does not match the expected definit…
44 /* @@? 23:5 Error TypeError: Initializer for field 'color' does not match the expected definition i…
47 /* @@? 24:5 Error TypeError: Initializer for field 'reviewers' does not match the expected definiti…
50 /* @@? 25:5 Error TypeError: Initializer for field 'reviewersAge' does not match the expected defin…
53 /* @@? 26:5 Error TypeError: Initializer for field 'testBools' does not match the expected definiti…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/08.class_initializer/
Dclass_initializer_with_type_variable.sts17 desc: Class initializer with type variable declared outside the class initializer.
18 …or any type variable declared outside the class initializer, appears anywhere within a class initi…
Dclass_initializer_with_this.sts17 desc: Class initializer with this keyword.
18 …or any type variable declared outside the class initializer, appears anywhere within a class initi…
/arkcompiler/ets_frontend/es2panda/test/parser/annotations/
Ddeclaration-combination.ts34 h: E = new Number(10) as number // no initializer
35 i: E[][][] = [[new Array<E>(0)]] // no initializer
36 j: E1 // no initializer
37 k: E1[][][] = [[new Array<E1>(2)]] // no initializer
/arkcompiler/ets_frontend/es2panda/test/compiler/annotations/
Ddeclaration-combination.ts34 h: E = new Number(10) as number // no initializer
35 i: E[][][] = [[new Array<E>(0)]] // no initializer
36 j: E1 // no initializer
37 k: E1[][][] = [[new Array<E1>(2)]] // no initializer
/arkcompiler/runtime_core/disassembler/tests/annotations/
Ddeclaration-combination.ts34 h: E = new Number(10) as number // no initializer
35 i: E[][][] = [[new Array<E>(0)]] // no initializer
36 j: E1 // no initializer
37 k: E1[][][] = [[new Array<E1>(2)]] // no initializer
/arkcompiler/ets_frontend/arkguard/src/configs/ingoreFilenameList/
DingoreTest262List.json417 "language/expressions/class/elements/after-same-line-gen-rs-field-identifier-initializer.js",
425 …"language/expressions/class/elements/after-same-line-gen-rs-privatename-identifier-initializer.js",
428 …"language/expressions/class/elements/after-same-line-gen-rs-privatename-identifier-initializer-alt…
439 …ns/class/elements/after-same-line-gen-rs-static-privatename-identifier-initializer-alt-by-classnam…
440 …xpressions/class/elements/after-same-line-gen-rs-static-privatename-identifier-initializer-alt.js",
443 …ge/expressions/class/elements/after-same-line-gen-rs-static-privatename-identifier-initializer.js",
446 "language/expressions/class/elements/after-same-line-method-rs-field-identifier-initializer.js",
454 …nguage/expressions/class/elements/after-same-line-method-rs-privatename-identifier-initializer.js",
456 …ge/expressions/class/elements/after-same-line-method-rs-privatename-identifier-initializer-alt.js",
465 …expressions/class/elements/after-same-line-method-rs-static-privatename-identifier-initializer.js",
[all …]
/arkcompiler/ets_frontend/es2panda/typescript/core/
DdestructuringContext.h35 const ir::Expression *typeAnnotation, const ir::Expression *initializer) in DestructuringContext() argument
38 Prepare(typeAnnotation, initializer, id->Start()); in DestructuringContext()
63 void Prepare(const ir::Expression *typeAnnotation, const ir::Expression *initializer,
91 … const ir::Expression *typeAnnotation, const ir::Expression *initializer) in ArrayDestructuringContext() argument
92 …: DestructuringContext(checker, id, inAssignment, convertTupleToArray, typeAnnotation, initializer) in ArrayDestructuringContext()
115 … const ir::Expression *typeAnnotation, const ir::Expression *initializer) in ObjectDestructuringContext() argument
116 …: DestructuringContext(checker, id, inAssignment, convertTupleToArray, typeAnnotation, initializer) in ObjectDestructuringContext()
/arkcompiler/ets_frontend/ets2panda/ir/ets/
DetsParameterExpression.cpp31 …on::ETSParameterExpression(AnnotatedExpression *const identOrSpread, Expression *const initializer) in ETSParameterExpression() argument
32 : Expression(AstNodeType::ETS_PARAMETER_EXPRESSION), initializer_(initializer) in ETSParameterExpression()
70 const Expression *ETSParameterExpression::Initializer() const noexcept in Initializer() function in ark::es2panda::ir::ETSParameterExpression
75 Expression *ETSParameterExpression::Initializer() noexcept in Initializer() function in ark::es2panda::ir::ETSParameterExpression
150 …{{"type", "ETSParameterExpression"}, {"name", ident_}, {"initializer", AstDumper::Optional(initial… in Dump()
204 auto *const initializer = in Clone() local
207 …if (auto *const clone = allocator->New<ETSParameterExpression>(identOrSpread, initializer); clone … in Clone()
210 if (initializer != nullptr) { in Clone()
211 initializer->SetParent(clone); in Clone()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/
DglobalDeclTransformer.cpp95 const auto initializer = classProperty->Value(); in InitTopLevelProperty() local
96 if (addInitializer_ && !classProperty->IsConst() && initializer != nullptr) { in InitTopLevelProperty()
100 initializer->SetParent(nullptr); in InitTopLevelProperty()
102 allocator_, ident, initializer, lexer::TokenType::PUNCTUATOR_SUBSTITUTION); in InitTopLevelProperty()
103 assignmentExpression->SetRange({ident->Start(), initializer->End()}); in InitTopLevelProperty()
104 assignmentExpression->SetTsType(initializer->TsType()); in InitTopLevelProperty()
110 classProperty->SetRange({ident->Start(), initializer->End()}); in InitTopLevelProperty()
116 classProperty->SetValue(initializer->Clone(allocator_, classProperty)->AsExpression()); in InitTopLevelProperty()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/05.field_declarations/03.field_initialization/
Dstatic_field_initialization_with_this.sts18initializer in a static field declaration, then the following rules apply to the initializer. It i…

12345678910>>...13