Home
last modified time | relevance | path

Searched full:initialization (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dclass_static_init.ets.arkts2.json24 "rule": "The static property has no initializer (arkts-class-static-initialization)",
34 "rule": "The static property has no initializer (arkts-class-static-initialization)",
44 "rule": "The static property has no initializer (arkts-class-static-initialization)",
54 "rule": "The static property has no initializer (arkts-class-static-initialization)",
64 "rule": "The static property has no initializer (arkts-class-static-initialization)",
74 "rule": "The static property has no initializer (arkts-class-static-initialization)",
84 "rule": "The static property has no initializer (arkts-class-static-initialization)",
104 "rule": "The static property has no initializer (arkts-class-static-initialization)",
114 "rule": "The static property has no initializer (arkts-class-static-initialization)",
124 "rule": "The static property has no initializer (arkts-class-static-initialization)",
[all …]
Dsendable_class_initialization.ets25 prop3: SendableClass9 = {a: 1}; // ERROR, the initialization for "Sendable" objects is limited
26 prop4: SendableClass9 = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited
27 …prop5: SendableClass9 | T | BigInt = {a: 1}; // ERROR, the initialization for "Sendable" objects i…
28 …prop6: SendableClass9 | T | BigInt = [1, 2]; // ERROR, the initialization for "Sendable" objects …
33 let v2: SendableClass9 = {a: 1}; // ERROR, the initialization for "Sendable" objects is limited
34 let v3: SendableClass9 = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited
35 let v4: SendableClass9 | nonSendableClass9 | BigInt = [1, 2]; // ERROR, the initialization for "Sen…
36 let v5: SendableClass9 | nonSendableClass9 | null = [1, 2]; // ERROR, the initialization for "Senda…
Dobject_literals_2.ets23 let c1: C = {n: 42, s: 'foo'} // Declaration + initialization: type of the literla is inferred from…
26 c2 = {n: 42, s: 'foo'}; // Initialization after declaration: type of the literal is inferred from t…
50 …c: { // Initialization of a field with a literal: type of the literal is inferred from the definit…
74 // All class fields are accessible at the point of initialization.
104 // NB! If a class has getters/setters the semantics of initialization differs:
126 // and initialization should happen from the 'glattened' literal:
Dobject_literals_2.ets.migrate.ets27 let c1: C = {n: 42, s: 'foo'} // Declaration + initialization: type of the literla is inferred from…
30 c2 = {n: 42, s: 'foo'}; // Initialization after declaration: type of the literal is inferred from t…
54 …c: { // Initialization of a field with a literal: type of the literal is inferred from the definit…
78 // All class fields are accessible at the point of initialization.
108 // NB! If a class has getters/setters the semantics of initialization differs:
130 // and initialization should happen from the 'glattened' literal:
/arkcompiler/ets_frontend/ets2panda/bindings/src/generated/
DEs2pandaNativeModule.ts27 throw new Error('This methods was not overloaded by native module initialization');
38 throw new Error('This methods was not overloaded by native module initialization');
41 throw new Error('This methods was not overloaded by native module initialization');
44 throw new Error('This methods was not overloaded by native module initialization');
47 throw new Error('This methods was not overloaded by native module initialization');
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe38.md12 * Initialization of anything that has ``any``, ``Object``, or ``object`` type
13 * Initialization of classes or interfaces with methods
14 * Initialization of classes which declare a ``constructor`` with parameters
15 * Initialization of classes with ``readonly`` fields
122 // constructor() is used before literal initialization
131 // Explicit type is required for literal initialization
/arkcompiler/ets_frontend/arkguard/test/ut/initialization/
Dutils.spec.ts17 import { isDebug, isFileExist, sortAndDeduplicateStringArr } from '../../../src/initialization/util…
19 import { DEBUG } from "../../../src/initialization/CommonObject";
36 const path: string = 'test/ut/initialization/testFileNotExiet.txt';
41 const path: string = 'test/ut/initialization/demo.txt';
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DRuntimeLinker.ets47 …LinkerClassNotFoundError if the class was not found or errors happened during class initialization.
58 // Load class with lazy initialization
75 * @throws errors happened during class initialization.
99 * Initialization of runtime internal structs.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/05.field_declarations/02.readonly_constant_fields/
Dreadonly_field_declaration_without_initialization.ets17 desc: Direct readonly field initialization.
18 …adonly modifier may only be initialized once, its value could not be modified after initialization.
Dreadonly_field_double_initialization.ets17 desc: Direct and constructor readonly field initialization.
18 …adonly modifier may only be initialized once, its value could not be modified after initialization.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/17.packages/02.package_initializer/p3/
Dmain_test.ets18 …Among all package modules there can be one to contain a code that performs initialization actions …
19 …for variables across all package modules) as described in detail in Compilation Unit Initialization
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/17.packages/02.package_initializer/p4/
Dinit4_2.ets18 …Among all package modules there can be one to contain a code that performs initialization actions …
19 …for variables across all package modules) as described in detail in Compilation Unit Initialization
Dinit4_1.ets18 …Among all package modules there can be one to contain a code that performs initialization actions …
19 …for variables across all package modules) as described in detail in Compilation Unit Initialization
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/01.type_parameters/01.type_parameter_constraint/
Dexample.ets18 …No type parameter has a default value, and initialization is mandatory for variables and fields of…
19 Field Initialization)
Dexample2.ets18 …No type parameter has a default value, and initialization is mandatory for variables and fields of…
19 Field Initialization)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/17.packages/02.package_initializer/p1/
Dinit1_1.ets18 …Among all package modules there can be one to contain a code that performs initialization actions …
19 …for variables across all package modules) as described in detail in Compilation Unit Initialization
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/17.packages/02.package_initializer/p3/packageP3/
Dinit3_2.ets18 …Among all package modules there can be one to contain a code that performs initialization actions …
19 …for variables across all package modules) as described in detail in Compilation Unit Initialization
Dinit3_1.ets18 …Among all package modules there can be one to contain a code that performs initialization actions …
19 …for variables across all package modules) as described in detail in Compilation Unit Initialization
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/17.packages/02.package_initializer/p2/
Dinit2_1.ets18 …Among all package modules there can be one to contain a code that performs initialization actions …
19 …for variables across all package modules) as described in detail in Compilation Unit Initialization
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/13.compilation_units/02.separate_module_initializer/
Dimport_statements.ets18 …eparate module is initialized only once with the details listed in Compilation Unit Initialization.
19 The initialization process is performed in the following steps
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dstruct_in_interface.ets23 /* @@? 17:16 Error SyntaxError: Interface member initialization is prohibited. */
29 /* @@? 19:20 Error SyntaxError: Interface member initialization is prohibited. */
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D9_classes.rst1031 *field with late initialization*
1032 (see :ref:`Fields with Late Initialization`).
1114 initialization
1138 the value of a readonly field after initialization is not allowed. Both static
1146 initialization
1183 .. _Field Initialization:
1185 Field Initialization
1191 All fields except :ref:`Fields with Late Initialization` are initialized by
1195 - An initializer block of for static field (see :ref:`Static Initialization`), or
1199 field initialization
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/
DTS_compatibility.rst194 initialization
582 .. _Differences in Static Fields Initialization:
584 Differences in Static Fields Initialization
587 The order of initialization of the static fields is different. |TS| processes
600 console.log ("Base1 static field initialization")
608 console.log ("Base2 static field initialization")
614 Base1 static field initialization
616 Base3 static field initialization
620 Base1 static field initialization
621 Base2 static field initialization
/arkcompiler/runtime_core/static_core/plugins/ets/doc/runtime/
D05_imports.rst18 This chapter describes runtime import and initialization rules.
22 Initialization Granularity And Execution Order
46 wait until the initialization is complete.
50 Initialization Laziness
58 scopes. We may consider an option that will bind the initialization of nested
59 scopes and trigger initialization on import for the application debug.
/arkcompiler/runtime_core/static_core/docs/diagrams/
Dthread_pool_init-sequence.plantuml3 title HybridVM startup and ThreadPool initialization

12345678910>>...15