Searched full:can (Results 1 – 25 of 2386) sorted by relevance
12345678910>>...96
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | sendable_function.ets.migrate.json | 24 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio… 34 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio… 44 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" typeAlias (arkts-sendable-typeal… 54 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar… 64 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar… 74 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar… 84 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 94 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 104 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco… 114 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio… [all …]
|
| D | sendable_function.ets.json | 24 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio… 44 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio… 54 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" typeAlias (arkts-sendable-typeal… 64 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar… 74 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar… 84 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar… 94 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 104 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 114 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco… 124 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio… [all …]
|
| D | sendable_function.ets.autofix.json | 24 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio… 51 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio… 61 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" typeAlias (arkts-sendable-typeal… 71 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar… 81 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar… 91 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar… 101 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 111 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 121 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco… 131 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio… [all …]
|
| D | shared_module.ets.json | 24 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 34 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 44 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 54 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 64 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 74 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 84 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 94 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 114 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 124 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… [all …]
|
| D | sendable_captured_variables.ets.json | 24 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 34 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 44 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 54 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 64 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 74 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 84 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 94 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 104 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… 114 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va… [all …]
|
| D | sendable_class_decorator.ets | 35 @NonSendable // ERROR, only `@Sendable` can be used on a sendable class declaration 38 @SomeDecorator // ERROR, no decorators can be used in a sendable class 43 @SomeDecorator // ERROR, no decorators can be used in a sendable class 46 … myMethod2(@SomeDecorator param: string) {} // ERROR, no decorators can be used in a sendable class 48 @SomeDecorator // ERROR, no decorators can be used in a sendable class 52 @SomeDecorator // ERROR, no decorators can be used in a sendable class
|
| D | method_overriding.ets.arkts2.json | 24 … "rule": "Method can't override filed in interface implemented (arkts-no-method-overriding-field)", 34 … "rule": "Method can't override filed in interface implemented (arkts-no-method-overriding-field)", 44 … "rule": "Method can't override filed in interface implemented (arkts-no-method-overriding-field)", 54 … "rule": "Method can't override filed in interface implemented (arkts-no-method-overriding-field)", 64 … "rule": "Method can't override filed in interface implemented (arkts-no-method-overriding-field)", 74 … "rule": "Method can't override filed in interface implemented (arkts-no-method-overriding-field)", 84 … "rule": "Method can't override filed in interface implemented (arkts-no-method-overriding-field)",
|
| D | sendable_decorator_limited.ets.json | 24 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\" and \"typeAlias\"… 34 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\" and \"typeAlias\"… 44 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\" and \"typeAlias\"… 54 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\" and \"typeAlias\"… 64 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\" and \"typeAlias\"… 74 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\" and \"typeAlias\"…
|
| D | sendable_class_initialization.ets.json | 34 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 44 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 64 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 84 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 104 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 114 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 124 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 134 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
|
| D | es_object.ets | 176 foo2({ k: 'k', h: {t: 1}}) // we can assign anything to the esobject, even untyped literal 177 let q1: ESValue = 1; // CTE - ``ESValue`` typed variable can only be local 178 let q2: ESValue = fooOh(); // CTE - ``ESValue`` typed variable can only be local 179 let q3: ESValue = q2; // CTE - ``ESValue`` typed variable can only be local 182 let e2: ESValue = 1; // CTE - can't initialize ESValue with not dynamic values 183 let e3: ESValue = {}; // CTE - can't initialize ESValue with not dynamic values 184 let e4: ESValue = []; // CTE - can't initialize ESValue with not dynamic values 185 let e5: ESValue = ""; // CTE - can't initialize ESValue with not dynamic values 188 e6['prop'] // CTE - can't access dynamic properties of ESValue 189 e6[1] // CTE - can't access dynamic properties of ESValue [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe151.md | 11 with ``ESObject`` type is also limited. Such variables can only be initialized 15 of type ``ESObject`` can only be passed to interop calls and assigned to other 28 let e0: ESObject = foo(); // CTE - ``ESObject`` typed variable can only be local 32 let e2: ESObject = 1; // CTE - can't initialize ESObject with not dynamic values 33 let e3: ESObject = {}; // CTE - can't initialize ESObject with not dynamic values 34 let e4: ESObject = []; // CTE - can't initialize ESObject with not dynamic values 35 let e5: ESObject = ""; // CTE - can't initialize ESObject with not dynamic values 36 e5['prop'] // CTE - can't access dynamic properties of ESObject 37 e5[1] // CTE - can't access dynamic properties of ESObject 38 e5.prop // CTE - can't access dynamic properties of ESObject
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/interop/ |
| D | increases_decreases_js_obj.ets.arkts2.json | 44 …"rule": "Interop objects can't be incremented or decremented (arkts-interop-js2s-self-addtion-redu… 54 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 64 …"rule": "Interop objects can't be incremented or decremented (arkts-interop-js2s-self-addtion-redu… 74 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 84 …"rule": "Interop objects can't be incremented or decremented (arkts-interop-js2s-self-addtion-redu… 94 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 104 …"rule": "Interop objects can't be incremented or decremented (arkts-interop-js2s-self-addtion-redu… 114 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 124 …"rule": "Interop objects can't be incremented or decremented (arkts-interop-js2s-self-addtion-redu… 134 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… [all …]
|
| D | no_await_js_promise.ets.arkts2.json | 20 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 30 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 40 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 50 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 60 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 70 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 90 … "rule": "Object literal properties can only contain name-value pairs (arkts-obj-literal-props)", 100 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 110 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis… 130 …"rule": "\"Await\" operator can't be used with interop objects (arkts-interop-js2s-await-js-promis…
|
| D | interop_import_typeof_js.ets.arkts2.json | 54 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 74 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 84 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 104 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 124 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 134 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 144 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 154 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… 164 …"rule": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-pr… 184 …"rule": "The \"typeof\" expression can't be used with interop JS objects (arkts-interop-js2s-typeo… [all …]
|
| /arkcompiler/ets_frontend/test/scripts/sdk_test/ |
| D | readme.md | 3 This test suite can perform end-to-end SDK test verification. There are two ways to perform verific… 5 2) Verify if the application of the compiled package can run normally (this feature is under develo… 15 …rs of Deveco and the test application. Detailed configuration instructions can be found in the fil… 16 …ew test application, you can modify the config.yaml configuration file and add the configuration u… 20 The test functionality requires a connection to the RK board for testing. You can control whether t… 28 By default, it will run all the test items. Optional parameters can be viewed through `--help`.
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule163.ets.json | 24 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 34 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 44 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 54 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 64 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 74 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 84 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 104 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)… 114 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)…
|
| D | rule151.ets | 176 foo2({ k: 'k', h: {t: 1}}) // we can assign anything to the esobject, even untyped literal 177 let q1: ESValue = 1; // CTE - ``ESValue`` typed variable can only be local 178 let q2: ESValue = fooOh(); // CTE - ``ESValue`` typed variable can only be local 179 let q3: ESValue = q2; // CTE - ``ESValue`` typed variable can only be local 182 let e2: ESValue = 1; // CTE - can't initialize ESValue with not dynamic values 183 let e3: ESValue = {}; // CTE - can't initialize ESValue with not dynamic values 184 let e4: ESValue = []; // CTE - can't initialize ESValue with not dynamic values 185 let e5: ESValue = ""; // CTE - can't initialize ESValue with not dynamic values 188 e6['prop'] // CTE - can't access dynamic properties of ESValue 189 e6[1] // CTE - can't access dynamic properties of ESValue [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | checkcast.yaml | 48 Resolve object type by specified id and if an object in accumulator can be cast to the 58 description: Check that null object reference can be cast to any type 61 'null' object reference can be cast to every type. 100 description: Check that null object reference can be cast to any type 103 'null' object reference can be cast to every type. 150 description: Check that null object reference can be cast to any array type 153 'null' object reference can be cast to every type. 193 description: Check that null object reference can be cast to any array type 196 'null' object reference can be cast to every type. 243 description: Check that any object can be cast to the base type [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ts_import_ets/ts/ |
| D | test6.ts.json | 44 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 54 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 64 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 74 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 84 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 94 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 104 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 114 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 124 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
|
| D | test2.ts.json | 24 … "rule": "In ts files, entities from ets files can not be re-exported (arkts-no-ts-re-export-ets)", 34 … "rule": "In ts files, entities from ets files can not be re-exported (arkts-no-ts-re-export-ets)", 44 … "rule": "In ts files, entities from ets files can not be re-exported (arkts-no-ts-re-export-ets)", 54 … "rule": "In ts files, entities from ets files can not be re-exported (arkts-no-ts-re-export-ets)", 64 … "rule": "In ts files, entities from ets files can not be re-exported (arkts-no-ts-re-export-ets)", 74 … "rule": "In ts files, entities from ets files can not be re-exported (arkts-no-ts-re-export-ets)",
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/ |
| D | classes.rst | 38 After the class is defined, its instances can be created by using 46 Similarly, an instance can be created by using object literals: 62 Classes can have instance fields, static fields, or both. 144 // that name can be undefined. The most correct would be 193 // name can be "undefined", so we cannot say to those who use this API 219 Setters and getters can be used to provide controlled access to object 243 A class can define a getter, a setter, or both. 252 A class can define instance methods, static methods, or both. 253 A ``static`` method belongs to the class itself. It can access 255 An instance method can access both ``static`` (class) fields [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | checkcast.yaml | 27 Resolve object type by specified id and if an object in accumulator can be cast to the 36 description: Check that null object reference can be cast to any type 39 'null' object reference can be cast to every type. 76 description: Check that null object reference can be cast to any array type 79 'null' object reference can be cast to every type. 117 description: Check that any object can be cast to the base type 119 … description: Object of type O can be cast to type T if O is the same as T or is subtype of T. 159 description: Check that any object can be cast to its type 161 … description: Object of type O can be cast to type T if O is the same as T or is subtype of T. 201 description: Check that any array can be cast to base type [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/interop-cookbook/ |
| D | draft.txt | 2 Communication can be only between main instance of dynamic VM and main coroutine static VM 5 Declgen tools (TS->ArkTS and ArkTS->TS) can not translate all languages features. 9 Not all system API will be converted without loosing type information. But it still can be used an… 11 …ns that dynamic and static sources should have minimum intersection, or it can be negative for per… 12 …mething from static runtime, it have to use only exist layer of object. It can not add fields or c… 36 In certain cases reference sematics can be lost because the actual data is copied between VMs; For… 37 Some types can't be transfered between VMs: Reflect, Atomics, Intl, JSON, Math;
|
| /arkcompiler/ets_runtime/test/sharedtest/sendable/ |
| D | sendable.ts | 16 // 1. sendable can only inherit from sendable 66 // 2. non-sendable can not inherit from sendable 96 // 3. non-sendable can not implement sendable 98 // 4. sendable can only contain sendable 161 // 6. sendable can not use ! assertion 163 // 7. sendable can not use computeed property names 165 // 8. sendable can not use variables in current context 190 // 9. sendable can not use decorator except @sendable 211 // 10. sendable can not be initial with object or array 213 // 11. non-sendable can not be `as` sendable [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/cfg/workflows/arkjs/ |
| D | env_hzjsvm_sample.yaml | 32 # But some properties can be set through CLI - in such cases the specified environment 43 # Can be overridden with CLI option: 46 # Can be overridden with CLI option: 53 # Can be overridden with CLI option: --work-dir PATH 58 # Can be overridden with CLI option: --build-dir PATH 62 # Can be overridden with CLI option: --host-tools PATH 71 # Path to the OHOS build can be set here. 74 # Path to the OHOS build can be set here. 85 # Can be overridden with CLI option: --verbose VALUE 91 # Can be overridden with CLI option: --verbose-level VALUE
|
12345678910>>...96