| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | literals-expected.txt | 15 "program": "literals.ets" 20 "program": "literals.ets" 124 "program": "literals.ets" 129 "program": "literals.ets" 230 "program": "literals.ets" 235 "program": "literals.ets" 249 "program": "literals.ets" 254 "program": "literals.ets" 265 "program": "literals.ets" 270 "program": "literals.ets" [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule37.ets.arkts2.json | 24 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 34 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 44 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 54 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 64 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 74 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 84 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 94 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 104 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 114 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", [all …]
|
| D | rule37.ets.autofix.json | 31 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 48 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 65 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 82 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 99 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 116 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 133 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 150 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 167 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", 184 "rule": "RegExp literals are not supported (arkts-no-regexp-literals)", [all …]
|
| D | rule38.ets.json | 24 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 44 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 54 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | rule38.ets.autofix.json | 36 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 46 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 56 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 66 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 76 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 86 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 96 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 106 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 116 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 126 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | rule38.ets.migrate.json | 24 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 44 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 54 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)",
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | type_literals.ets.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 34 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 44 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 54 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 64 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 74 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 84 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 94 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 104 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 114 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", [all …]
|
| D | type_literals.ets.autofix.json | 31 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 48 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 70 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 92 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 114 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 131 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 148 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 170 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 187 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 209 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", [all …]
|
| D | object_literals_3.ets.json | 24 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 44 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 54 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | class_static_init.ets.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 34 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 44 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 54 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 64 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 84 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 94 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 104 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 114 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
|
| D | object_literals_autofixes.ets.json | 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 44 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 124 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 134 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | object_literals_properties.ets.json | 24 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 44 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 54 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 … arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)… 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 … arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)… 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | object_literals.ets.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 44 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 124 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 134 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | type_literals.ets.migrate.json | 104 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 114 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 124 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 134 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 144 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 154 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 174 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 184 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 194 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 214 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", [all …]
|
| D | void_operator.ets.migrate.json | 24 "rule": "Class literals are not supported (arkts-no-class-literals)", 34 "rule": "Class literals are not supported (arkts-no-class-literals)", 44 "rule": "Class literals are not supported (arkts-no-class-literals)", 54 "rule": "Class literals are not supported (arkts-no-class-literals)",
|
| D | destructuring_for_loop.ets.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 34 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 44 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 54 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 124 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 134 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 144 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 154 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)",
|
| D | object_literals_3.ets.autofix.json | 36 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 58 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 80 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 90 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 112 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 134 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 156 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 166 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 176 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 186 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | object_literals_autofixes.ets.autofix.json | 46 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 68 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 100 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 122 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 132 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 154 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 176 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 198 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 208 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 230 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | mapped_types.ets.json | 34 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 64 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 94 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 174 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 184 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 194 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 204 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
|
| D | interfaces_props.ets.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 34 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 54 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)",
|
| D | object_literals.ets.autofix.json | 36 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 68 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 100 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 110 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 120 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 130 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 140 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 150 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 160 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 170 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", [all …]
|
| D | void_operator.ets.json | 24 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 64 "rule": "Class literals are not supported (arkts-no-class-literals)", 74 "rule": "Class literals are not supported (arkts-no-class-literals)", 104 "rule": "Class literals are not supported (arkts-no-class-literals)", 114 "rule": "Class literals are not supported (arkts-no-class-literals)",
|
| D | delete_operator.ets.json | 24 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 54 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 84 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 104 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)", 124 … "rule": "Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/sdkwhite/ |
| D | quoted_hyphen_props_deprecated_sdk.ets.json | 34 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 44 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 54 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… 64 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 74 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 84 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 94 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 104 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 114 …al must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)", 124 …"rule": "Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe40.md | 1 # Object literals cannot be used as type declarations 3 Rule ``arkts-no-obj-literals-as-types`` 7 ArkTS does not support the usage of object literals to declare 43 … must correspond to some explicitly declared class or interface (``arkts-no-untyped-obj-literals``) 44 - Recipe 043: Array literals must contain elements of only inferrable types (``arkts-no-noninferra…
|