Home
last modified time | relevance | path

Searched full:access (Results 1 – 25 of 932) sorted by relevance

12345678910>>...38

/arkcompiler/ets_frontend/ets2panda/bindings/src/
Darrays.ts51 access: Access,
87 access: Access,
94 access: Access,
101 access: Access,
108 access: Access,
115 access: Access,
122 access: Access,
129 access: Access,
136 access: Access,
145 export enum Access { enum
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DEnum6.ets16 enum Access {
29 test_access_enum_bitwise(Access.WRITE);
30 assertEQ((Access.WRITE & Access.READWRITE), 2)
37 function test_access_enum_bitwise(enum_val: Access): void {
38 assertEQ((enum_val & Access.READ), 0)
39 assertEQ((enum_val & Access.WRITE), 2)
40 assertEQ((enum_val | Access.READ), 3)
41 assertEQ((enum_val | Access.READWRITE), 3)
42 assertEQ((enum_val & Access.READWRITE), 2)
/arkcompiler/ets_frontend/ets2panda/linter/test/extended_features/
Dindexable_collections_array.ets.json24 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
54 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
64 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
74 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
84 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
94 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
104 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
114 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dsmall_vector.h213 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
221 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
234 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
241 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
243 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
245 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
249 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
257 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
259 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
261 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dsmall_vector.h210 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
218 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
231 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
238 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
240 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
242 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
246 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
254 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
256 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
258 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/modules/verification_wrong_this/incompatible/
Dbar.pa17 .record @verification_mode.bar.ETSGLOBAL <ets.abstract, ets.extends=std.core.Object, access.record=…
20 .record @verification_mode.bar.A <ets.extends=std.core.Object, access.record=public> {
22 .function void @verification_mode.bar.A.constructor(@verification_mode.bar.A a0) <ctor, access.func…
25 .function void @verification_mode.bar.A.func(@verification_mode.bar.A a0) <access.function=public> {
29 .record @verification_mode.bar.B <ets.extends=std.core.Object, access.record=public> {
31 .function void @verification_mode.bar.B.constructor(@verification_mode.bar.B a0) <ctor, access.func…
35 .function void @verification_mode.bar.ETSGLOBAL.bar() <static, access.function=public> {
/arkcompiler/runtime_core/docs/bc_verification/
Dabsint_checks.md10 ### Access checks
12 Checks for private/protected/public access rights.
14 These checks prevent unintended/unexpected access from one method to another.
15 Or access to wrong fields of object.
21 These checks eliminate calls of methods with incorrect `this`, wrong access to arrays, etc.
45 These checks help in some cases detect out-of-bounds access type of errors in static.
/arkcompiler/runtime_core/static_core/docs/bc_verification/
Dabsint_checks.md10 ### Access checks
12 Checks for private/protected/public access rights.
14 These checks prevent unintended/unexpected access from one method to another.
15 Or access to wrong fields of object.
21 These checks eliminate calls of methods with incorrect `this`, wrong access to arrays, etc.
45 These checks help in some cases detect out-of-bounds access type of errors in static.
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe29.md1 # Indexed access is not supported for fields
7 ArkTS does not support dynamic field declaration and access. Declare all
8 object fields immediately in the class. Access only those class fields
12 To access a field, use ``obj.field`` syntax, indexed access (``obj["field"]``)
16 support access to their elements through ``container[index]`` syntax.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/indexed_signature/
Dindexed_signature.cpp23 // NOTE: (alexanderpolenov)issue(18238) access by string index
28 // NOTE: (alexanderpolenov)issue(18238) access by string index
33 // // NOTE: (alexanderpolenov)issue(18238) access by string index
38 // // NOTE: (alexanderpolenov)issue(18238) access by string index
43 // // NOTE: (alexanderpolenov)issue(18239) access by number index
48 // // NOTE: (alexanderpolenov)issue(18238) access by string index
Dindexed_signature.ets26 // NOTE: (alexanderpolenov) issue(18238) access by string index
33 // NOTE: (alexanderpolenov) issue(18238) access by string index
42 // NOTE: (alexanderpolenov) issue(18238) access by string index
51 // NOTE: (alexanderpolenov) issue(18238) access by string index
62 // NOTE: (alexanderpolenov) issue(18239) access by number index
70 // NOTE: (alexanderpolenov) issue(18238) access by string index
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dindexable_type_element_access.ets.json24 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
54 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
64 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
74 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
Dproperty_access_by_index.ets.migrate.json24 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
74 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
84 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
334 "rule": "Avoid using union types (arkts-common-union-member-access)",
344 "rule": "Avoid using union types (arkts-common-union-member-access)",
384 "rule": "Avoid using union types (arkts-common-union-member-access)",
394 "rule": "Avoid using union types (arkts-common-union-member-access)",
414 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
424 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
[all …]
Dproperty_access_by_index.ets.json24 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
84 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
94 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
/arkcompiler/ets_frontend/ets2panda/linter/test/interop/
Dinterop_not_have_property_arkts2.ets32 return machine.name === "machine"; // arkts-interop-js2s-access-js-prop
37 return user.id === "Bob"; // arkts-interop-js2s-access-js-prop
42 return user.id === 10;// arkts-interop-js2s-access-js-prop
47 return user.id === 123n; // arkts-interop-js2s-access-js-prop
52 return user.id === true;// arkts-interop-js2s-access-js-prop
57 return machine.name === "machine"; // arkts-interop-js2s-access-js-prop
62 return employee.name === "employee"; // arkts-interop-js2s-access-js-prop
Dinterop_not_have_property_arkts2.ets.migrate.ets40 return machine.name === "machine"; // arkts-interop-js2s-access-js-prop
45 return user.id === "Bob"; // arkts-interop-js2s-access-js-prop
50 return user.id === 10.0;// arkts-interop-js2s-access-js-prop
55 return user.id === 123n; // arkts-interop-js2s-access-js-prop
60 return user.id === true;// arkts-interop-js2s-access-js-prop
65 return machine.name === "machine"; // arkts-interop-js2s-access-js-prop
70 return employee.name === "employee"; // arkts-interop-js2s-access-js-prop
Dinterop_import_js_index.ets.arkts2.json44 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
64 … "rule": "Interop objects can't be indexed directly (arkts-interop-js2s-access-js-index)",
84 … "rule": "Interop objects can't be indexed directly (arkts-interop-js2s-access-js-index)",
104 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
114 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
144 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
164 … "rule": "Interop objects can't be indexed directly (arkts-interop-js2s-access-js-index)",
184 … "rule": "Interop objects can't be indexed directly (arkts-interop-js2s-access-js-index)",
204 … "rule": "Interop objects can't be indexed directly (arkts-interop-js2s-access-js-index)",
234 … "rule": "Interop objects can't be indexed directly (arkts-interop-js2s-access-js-index)",
Dinterop_not_have_property_num_arkts2.ets.arkts2.json44 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
64 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
84 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
104 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
124 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
144 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
164 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
184 …e": "Properties of interop objects can't be accessed directly (arkts-interop-js2s-access-js-prop)",
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/04.scopes/
Dclass_level_public.ets18 Class level scope, public access
20 …depending on the access modifier (see Access Modifiers), outside the class, or by means of a deriv…
44 // access from D
50 // access from module
Dclass_level_protected1.ets18 Class level scope, protected access
20 …depending on the access modifier (see Access Modifiers), outside the class, or by means of a deriv…
39 // access from D
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/FixedArray/
Dtrailing_comma_1.ets46 /* @@? 30:5 Error TypeError: Indexed access is not supported for such expression type. */
48 /* @@? 31:5 Error TypeError: Indexed access is not supported for such expression type. */
49 /* @@? 31:11 Error TypeError: Indexed access is not supported for such expression type. */
51 /* @@? 32:5 Error TypeError: Indexed access is not supported for such expression type. */
55 /* @@? 32:11 Error TypeError: Indexed access is not supported for such expression type. */
57 /* @@? 33:5 Error TypeError: Indexed access is not supported for such expression type. */
62 /* @@? 34:6 Error TypeError: Indexed access is not supported for such expression type. */
64 /* @@? 35:5 Error TypeError: Indexed access is not supported for such expression type. */
67 /* @@? 35:10 Error TypeError: Indexed access is not supported for such expression type. */
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dtrailing_comma_1.ets46 /* @@? 30:5 Error TypeError: Indexed access is not supported for such expression type. */
48 /* @@? 31:5 Error TypeError: Indexed access is not supported for such expression type. */
49 /* @@? 31:11 Error TypeError: Indexed access is not supported for such expression type. */
51 /* @@? 32:5 Error TypeError: Indexed access is not supported for such expression type. */
55 /* @@? 32:11 Error TypeError: Indexed access is not supported for such expression type. */
57 /* @@? 33:5 Error TypeError: Indexed access is not supported for such expression type. */
62 /* @@? 34:6 Error TypeError: Indexed access is not supported for such expression type. */
64 /* @@? 35:5 Error TypeError: Indexed access is not supported for such expression type. */
67 /* @@? 35:10 Error TypeError: Indexed access is not supported for such expression type. */
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dcall.polymorphic.short.yaml39 .record W <panda.access = public> {}
40 .record R <panda.access = public, panda.extends = W> {
41 u1 f_boolean <panda.access = public>
42 i8 f_byte <panda.access = public>
43 u16 f_char <panda.access = public>
44 i16 f_short <panda.access = public>
45 i32 f_int <panda.access = public>
46 i64 f_long <panda.access = public>
47 f32 f_float <panda.access = protected>
48 f64 f_double <panda.access = private>
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dot_operator/ts_to_sts/optional_operator/
Doptional_operator.cpp32 // NOTE: (alexanderpolenov) issue(18238) access by string index
37 // NOTE: (alexanderpolenov) issue(18238) access by string index
52 // NOTE: (alexanderpolenov) issue(18238) access by string index
57 // NOTE: (alexanderpolenov) issue(18238) access by string index
72 // NOTE: (alexanderpolenov) issue(18238) access by string index
77 // NOTE: (alexanderpolenov) issue(18238) access by string index
/arkcompiler/ets_frontend/ets2panda/lsp/include/
Dclass_hierarchy_item.h30 ClassHierarchyItem(AccessModifierStyle access, std::string detail) in ClassHierarchyItem() argument
31 : accessModifier_(access), detail_(std::move(detail)) in ClassHierarchyItem()
61 …ClassPropertyItem(AccessModifierStyle access, std::string detail) : ClassHierarchyItem(access, std… in ClassPropertyItem() argument
94 ClassMethodItem(AccessModifierStyle access, std::string detail, SetterStyle setter) in ClassMethodItem() argument
95 : ClassHierarchyItem(access, std::move(detail)), setter_(setter) in ClassMethodItem()

12345678910>>...38