Home
last modified time | relevance | path

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

12345678910

/arkcompiler/ets_frontend/ets2panda/linter/test/
Dsendable_class_interface_property.ts.json399 …"suggest": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.…
400 … "rule": "Property 'prop1' has no initializer and is not definitely assigned in the constructor."
406 …"suggest": "Property 'prop2' has no initializer and is not definitely assigned in the constructor.…
407 … "rule": "Property 'prop2' has no initializer and is not definitely assigned in the constructor."
413 …"suggest": "Property 'prop3' has no initializer and is not definitely assigned in the constructor.…
414 … "rule": "Property 'prop3' has no initializer and is not definitely assigned in the constructor."
420 …"suggest": "Property 'prop4' has no initializer and is not definitely assigned in the constructor.…
421 … "rule": "Property 'prop4' has no initializer and is not definitely assigned in the constructor."
427 …"suggest": "Property 'prop5' has no initializer and is not definitely assigned in the constructor.…
428 … "rule": "Property 'prop5' has no initializer and is not definitely assigned in the constructor."
[all …]
Darkui_decorators.ts.json126 …"suggest": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
127 … "rule": "Property 'name' has no initializer and is not definitely assigned in the constructor."
133 … "suggest": "Property 'age' has no initializer and is not definitely assigned in the constructor.",
134 … "rule": "Property 'age' has no initializer and is not definitely assigned in the constructor."
140 …"suggest": "Property 'localStorage' has no initializer and is not definitely assigned in the const…
141 …"rule": "Property 'localStorage' has no initializer and is not definitely assigned in the construc…
147 …"suggest": "Property 'provide' has no initializer and is not definitely assigned in the constructo…
148 … "rule": "Property 'provide' has no initializer and is not definitely assigned in the constructor."
154 …"suggest": "Property 'state' has no initializer and is not definitely assigned in the constructor.…
155 … "rule": "Property 'state' has no initializer and is not definitely assigned in the constructor."
[all …]
Dobject_literals_prop_func_type.ts.autofix.json28 … "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
29 … "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor."
35 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
36 … "rule": "Property 'b' has no initializer and is not definitely assigned in the constructor."
42 … "suggest": "Property 'c' has no initializer and is not definitely assigned in the constructor.",
43 … "rule": "Property 'c' has no initializer and is not definitely assigned in the constructor."
49 … "suggest": "Property 'd' has no initializer and is not definitely assigned in the constructor.",
50 … "rule": "Property 'd' has no initializer and is not definitely assigned in the constructor."
Dobject_literals_2.ts.autofix.json103 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
104 … "rule": "Property 'b' has no initializer and is not definitely assigned in the constructor."
110 … "suggest": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
111 … "rule": "Property 'x' has no initializer and is not definitely assigned in the constructor."
117 … "suggest": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
118 … "rule": "Property 'y' has no initializer and is not definitely assigned in the constructor."
124 … "suggest": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
125 … "rule": "Property 'x' has no initializer and is not definitely assigned in the constructor."
131 … "suggest": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
132 … "rule": "Property 'y' has no initializer and is not definitely assigned in the constructor."
[all …]
Dnon_initializable_prop_decorators.ts.json70 … "suggest": "Property 'pr' has no initializer and is not definitely assigned in the constructor.",
71 … "rule": "Property 'pr' has no initializer and is not definitely assigned in the constructor."
77 … "suggest": "Property 'pr2' has no initializer and is not definitely assigned in the constructor.",
78 … "rule": "Property 'pr2' has no initializer and is not definitely assigned in the constructor."
84 … "suggest": "Property 'f2' has no initializer and is not definitely assigned in the constructor.",
85 … "rule": "Property 'f2' has no initializer and is not definitely assigned in the constructor."
91 …"suggest": "Property 'controller' has no initializer and is not definitely assigned in the constru…
92 …"rule": "Property 'controller' has no initializer and is not definitely assigned in the constructo…
Dstructural_identity_constructor.ts.json28 … "suggest": "Property 'f' has no initializer and is not definitely assigned in the constructor.",
29 "rule": "Property 'f' has no initializer and is not definitely assigned in the constructor."
35 … "suggest": "Property 'f' has no initializer and is not definitely assigned in the constructor.",
36 "rule": "Property 'f' has no initializer and is not definitely assigned in the constructor."
42 … "suggest": "Property 'foo' has no initializer and is not definitely assigned in the constructor.",
43 "rule": "Property 'foo' has no initializer and is not definitely assigned in the constructor."
Dprivate_identifiers.ts.json378 … "suggest": "Property '#p' has no initializer and is not definitely assigned in the constructor.",
379 … "rule": "Property '#p' has no initializer and is not definitely assigned in the constructor."
385 … "suggest": "Property 'p2' has no initializer and is not definitely assigned in the constructor.",
386 … "rule": "Property 'p2' has no initializer and is not definitely assigned in the constructor."
392 … "suggest": "Property '#p2' has no initializer and is not definitely assigned in the constructor.",
393 … "rule": "Property '#p2' has no initializer and is not definitely assigned in the constructor."
399 … "suggest": "Property 'm3' has no initializer and is not definitely assigned in the constructor.",
400 … "rule": "Property 'm3' has no initializer and is not definitely assigned in the constructor."
406 … "suggest": "Property '#a' has no initializer and is not definitely assigned in the constructor.",
407 … "rule": "Property '#a' has no initializer and is not definitely assigned in the constructor."
[all …]
Dliterals_as_prop_names.ts.json122 … "suggest": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
123 … "rule": "Property '_2' has no initializer and is not definitely assigned in the constructor."
129 … "suggest": "Property 'Two' has no initializer and is not definitely assigned in the constructor.",
130 … "rule": "Property 'Two' has no initializer and is not definitely assigned in the constructor."
136 …"suggest": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
137 … "rule": "Property 'name' has no initializer and is not definitely assigned in the constructor."
143 … "suggest": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
144 … "rule": "Property '_2' has no initializer and is not definitely assigned in the constructor."
Dsendable_generic_types.ts.json153 …"suggest": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.…
154 … "rule": "Property 'prop1' has no initializer and is not definitely assigned in the constructor."
160 …"suggest": "Property 'prop2' has no initializer and is not definitely assigned in the constructor.…
161 … "rule": "Property 'prop2' has no initializer and is not definitely assigned in the constructor."
167 …"suggest": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.…
168 … "rule": "Property 'prop1' has no initializer and is not definitely assigned in the constructor."
174 …"suggest": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.…
175 … "rule": "Property 'prop1' has no initializer and is not definitely assigned in the constructor."
Dliterals_as_prop_names.ts.autofix.json235 … "suggest": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
236 … "rule": "Property '_2' has no initializer and is not definitely assigned in the constructor."
242 … "suggest": "Property 'Two' has no initializer and is not definitely assigned in the constructor.",
243 … "rule": "Property 'Two' has no initializer and is not definitely assigned in the constructor."
249 …"suggest": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
250 … "rule": "Property 'name' has no initializer and is not definitely assigned in the constructor."
256 … "suggest": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
257 … "rule": "Property '_2' has no initializer and is not definitely assigned in the constructor."
Darray_literals.ts.json119 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
120 … "rule": "Property 'b' has no initializer and is not definitely assigned in the constructor."
126 … "suggest": "Property 'c' has no initializer and is not definitely assigned in the constructor.",
127 … "rule": "Property 'c' has no initializer and is not definitely assigned in the constructor."
133 … "suggest": "Property 'd' has no initializer and is not definitely assigned in the constructor.",
134 … "rule": "Property 'd' 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.json42 …"suggest": "Property '['b']' has no initializer and is not definitely assigned in the constructor.…
43 … "rule": "Property '['b']' has no initializer and is not definitely assigned in the constructor."
49 …"suggest": "Property '[T.A]' has no initializer and is not definitely assigned in the constructor.…
50 … "rule": "Property '[T.A]' has no initializer and is not definitely assigned in the constructor."
56 …"suggest": "Property '[T.B]' has no initializer and is not definitely assigned in the constructor.…
57 … "rule": "Property '[T.B]' has no initializer and is not definitely assigned in the constructor."
63 …"suggest": "Property '[str1]' has no initializer and is not definitely assigned in the constructor…
64 … "rule": "Property '[str1]' has no initializer and is not definitely assigned in the constructor."
/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…
Dclass_initializer_with_super.sts17 desc: Class initializer with super keyword.
18 …or any type variable declared outside the class initializer, appears anywhere within a class initi…
/arkcompiler/ets_frontend/arkguard/src/utils/
DOhsUtil.ts241 processMemberInitializer(parameter.initializer, propertySet);
255 if (!isPropertyDeclaration(member) || !member.initializer) {
258 processMemberInitializer(member.initializer, propertySet);
316 if (!isPropertyAssignment(propertyElement) || !propertyElement.initializer) {
320 if (isObjectLiteralExpression(propertyElement.initializer)) {
321 getObjectProperties(propertyElement.initializer, propertySet);
325 if (isClassDeclaration(propertyElement.initializer)) {
326 getClassProperties(propertyElement.initializer, propertySet);
330 if (isEnumDeclaration(propertyElement.initializer)) {
331 getEnumProperties(propertyElement.initializer, propertySet);
[all …]
/arkcompiler/ets_frontend/arkguard/src/configs/test262filename/
DfilterFilenameList.json407 "language/expressions/class/elements/after-same-line-gen-rs-field-identifier-initializer.js",
415 …"language/expressions/class/elements/after-same-line-gen-rs-privatename-identifier-initializer.js",
418 …"language/expressions/class/elements/after-same-line-gen-rs-privatename-identifier-initializer-alt…
429 …ns/class/elements/after-same-line-gen-rs-static-privatename-identifier-initializer-alt-by-classnam…
430 …xpressions/class/elements/after-same-line-gen-rs-static-privatename-identifier-initializer-alt.js",
433 …ge/expressions/class/elements/after-same-line-gen-rs-static-privatename-identifier-initializer.js",
436 "language/expressions/class/elements/after-same-line-method-rs-field-identifier-initializer.js",
444 …nguage/expressions/class/elements/after-same-line-method-rs-privatename-identifier-initializer.js",
446 …ge/expressions/class/elements/after-same-line-method-rs-privatename-identifier-initializer-alt.js",
455 …expressions/class/elements/after-same-line-method-rs-static-privatename-identifier-initializer.js",
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test_rules/
Drule155.ts.json47 … "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
48 … "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor."
54 … "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
55 … "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor."
/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()
201 auto *const initializer = in Clone() local
204 …if (auto *const clone = allocator->New<ETSParameterExpression>(identOrSpread, initializer); clone … in Clone()
207 if (initializer != nullptr) { in Clone()
208 initializer->SetParent(clone); in Clone()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/
DglobalDeclTransformer.cpp96 const auto initializer = classProperty->Value(); in InitTopLevelProperty() local
97 if (addInitializer_ && !classProperty->IsConst() && initializer != nullptr) { in InitTopLevelProperty()
101 initializer->SetParent(nullptr); in InitTopLevelProperty()
103 allocator_, ident, initializer, lexer::TokenType::PUNCTUATOR_SUBSTITUTION); in InitTopLevelProperty()
104 assignmentExpression->SetRange({ident->Start(), initializer->End()}); in InitTopLevelProperty()
105 assignmentExpression->SetTsType(initializer->TsType()); in InitTopLevelProperty()
111 classProperty->SetRange({ident->Start(), initializer->End()}); in InitTopLevelProperty()
117 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…
Dstatic_field_initialization_with_super.sts18initializer in a static field declaration, then the following rules apply to the initializer. It i…

12345678910