Searched full:initialization (Results 1 – 25 of 199) sorted by relevance
12345678
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | sendable_class_initialization.sts | 25 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…
|
| D | object_literals_2.sts | 23 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/ |
| D | recipe38.md | 12 * 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
|
| D | recipe116.md | 36 // Initialization function should be called to execute statements:
|
| D | recipe16.md | 7 ArkTS does not allow having several static blocks for class initialization.
|
| D | recipe134.md | 9 Use declaration with initialization instead.
|
| /arkcompiler/ets_frontend/arkguard/test/ut/initialization/ |
| D | utils.spec.ts | 17 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/ |
| D | readonly_field_declaration_without_initialization.sts | 17 desc: Direct readonly field initialization. 18 …adonly modifier may only be initialized once, its value could not be modified after initialization.
|
| D | readonly_field_double_initialization.sts | 17 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/ |
| D | implicit_package_import_1.sts | 30 …// 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/ |
| D | import_statements.sts | 18 …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/ |
| D | thread_pool_init-sequence.plantuml | 3 title HybridVM startup and ThreadPool initialization
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/ |
| D | triple_ut_test.cpp | 22 /* 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/ |
| D | enum15.sts | 22 /* @@@ label Error SyntaxError: Invalid enum initialization type */
|
| D | enum17.sts | 22 /* @@@ label Error SyntaxError: Invalid enum initialization value */
|
| D | enum18.sts | 22 /* @@@ label Error SyntaxError: Invalid enum initialization value */
|
| D | enum24.sts | 23 /* @@? 20:11 Error SyntaxError: Invalid enum initialization type */
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | generic_typealias_7_neg.sts | 19 …// 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/ |
| D | infer.sts | 19 desc: Check type inference from the initialization expression
|
| D | infer2.sts | 19 desc: Check type inference from the initialization expression
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/ |
| D | readme.md | 111 - 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/ |
| D | non_static_field_initialization.sts | 17 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/ |
| D | type_binding_03.sts | 25 let c3 = new GIT1 // OK, `Module initialization code` be printed
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | pool_map.h | 104 // initialization and reading. in Initialize() 106 // without initialization in the correct flow. in Initialize()
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | pool_map.h | 107 // initialization and reading. in Initialize() 109 // without initialization in the correct flow. in Initialize()
|
12345678