Home
last modified time | relevance | path

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

12345678

/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dsendable_class_initialization.sts25 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.sts23 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:
/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
Drecipe116.md36 // Initialization function should be called to execute statements:
Drecipe16.md7 ArkTS does not allow having several static blocks for class initialization.
Drecipe134.md9 Use declaration with initialization instead.
/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/tests/ets-templates/09.classes/05.field_declarations/02.readonly_constant_fields/
Dreadonly_field_declaration_without_initialization.sts17 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.sts17 desc: Direct and constructor readonly field initialization.
18 …adonly modifier may only be initialized once, its value could not be modified after initialization.
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/mypackage/
Dimplicit_package_import_1.sts30 …// NOTE (mmartin): Enable this assert, when correct initialization order of global variables is we…
34 // NOTE (mmartin): Merge these when correct initialization order of global variables is well define…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/13.compilation_units_packages_and_modules/02.separate_module_initializer/
Dimport_statements.sts18 …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/runtime_core/static_core/docs/diagrams/
Dthread_pool_init-sequence.plantuml3 title HybridVM startup and ThreadPool initialization
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/
Dtriple_ut_test.cpp22 /* Check Triple initialization with target string */
60 /* Incorrect value leads to default initialization */ in TEST()
67 /* Check Triple initialization with options */
112 /* Check the priority of Triple initialization: -be/--ilp32 vs --target */
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Denum15.sts22 /* @@@ label Error SyntaxError: Invalid enum initialization type */
Denum17.sts22 /* @@@ label Error SyntaxError: Invalid enum initialization value */
Denum18.sts22 /* @@@ label Error SyntaxError: Invalid enum initialization value */
Denum24.sts23 /* @@? 20:11 Error SyntaxError: Invalid enum initialization type */
/arkcompiler/ets_frontend/ets2panda/test/compiler/ets/
Dgeneric_typealias_7_neg.sts19 …// NOTE (martin): Primitive type parameter isn't working without initialization, it'll be in a fol…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/07.variable_and_constant_declarations/04.type_inference_from_initializer/
Dinfer.sts19 desc: Check type inference from the initialization expression
Dinfer2.sts19 desc: Check type inference from the initialization expression
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/
Dreadme.md111 - init_object_type - type of data that will be used for object initialization
113 - init_object_data - dictionary with data that used for object initialization
118 - param_init_data_types - dictionary that contains data type that used for parameters initialization
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/05.field_declarations/03.field_initialization/
Dnon_static_field_initialization.sts17 desc: Non-static field initialization.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/03.Import_Directives/06.type_binding/
Dtype_binding_03.sts25 let c3 = new GIT1 // OK, `Module initialization code` be printed
/arkcompiler/runtime_core/libpandabase/mem/
Dpool_map.h104 // initialization and reading. in Initialize()
106 // without initialization in the correct flow. in Initialize()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dpool_map.h107 // initialization and reading. in Initialize()
109 // without initialization in the correct flow. in Initialize()

12345678