Home
last modified time | relevance | path

Searched full:literals (Results 1 – 25 of 609) sorted by relevance

12345678910>>...25

/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dliterals-expected.txt15 "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/
Drule37.ets.arkts2.json24 "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 …]
Drule37.ets.autofix.json31 "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 …]
Drule38.ets.json24 …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 …]
Drule38.ets.autofix.json36 …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 …]
Drule38.ets.migrate.json24 …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/
Dtype_literals.ets.json24 … "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 …]
Dtype_literals.ets.autofix.json31 … "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 …]
Dobject_literals_3.ets.json24 …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 …]
Dclass_static_init.ets.json24 … "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)",
Dobject_literals_autofixes.ets.json34 …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 …]
Dobject_literals_properties.ets.json24 …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 …]
Dobject_literals.ets.json24 … "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 …]
Dtype_literals.ets.migrate.json104 … "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 …]
Dvoid_operator.ets.migrate.json24 "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)",
Ddestructuring_for_loop.ets.json24 … "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)",
Dobject_literals_3.ets.autofix.json36 …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 …]
Dobject_literals_autofixes.ets.autofix.json46 …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 …]
Dmapped_types.ets.json34 … "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)",
Dinterfaces_props.ets.json24 … "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)",
Dobject_literals.ets.autofix.json36 … "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 …]
Dvoid_operator.ets.json24 …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)",
Ddelete_operator.ets.json24 … "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/
Dquoted_hyphen_props_deprecated_sdk.ets.json34 …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/
Drecipe40.md1 # 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…

12345678910>>...25