| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | unique_names.ts.json | 22 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 29 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 36 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 43 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 50 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 64 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 78 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 85 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 99 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 113 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" [all …]
|
| D | interface_literal_prop_name.ts.json | 24 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 33 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 42 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 49 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 58 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 67 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
|
| D | literals_as_prop_names.ts.json | 22 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 31 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 68 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 98 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 107 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 116 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
|
| D | literals_as_prop_names.ts.autofix.json | 39 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 63 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 151 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 203 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 222 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 229 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
|
| D | private_identifiers.ts.json | 22 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 29 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 36 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 43 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 50 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 57 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 281 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 288 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 351 "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
|
| D | types.ts.json | 106 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 113 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 120 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 127 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 134 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
|
| D | private_identifiers.ts.autofix.json | 23 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 31 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 39 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 47 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 55 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 63 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 607 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 615 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 735 "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
|
| D | types.ts.autofix.json | 139 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 146 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 153 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 172 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 191 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
|
| /arkcompiler/ets_frontend/arkguard/ |
| D | README.md | 19 You can obfuscate the following names: 21 * parameter names and local variable names 22 * names in global scope 23 * property names 25 We enable the obfuscation of parameter names and local variable names by default. However, 26 global names obfuscation and property names obfuscation are disabled by default, as they may 101 Arkguard only obfuscates the parameter names and local variable names by assigning random short nam… 105 Specifies to obfuscate the property names. If you use this option, all property names will be obfus… 108 * the property names of classes or objects directly imported or exported by `import/export` will be… 118 their property names, you need to use [keep options](#keep-options) to keep them. Besides, for the … [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe4.md | 1 # Use unique names for types and namespaces. 3 Rule ``arkts-unique-names`` 7 Names for all types (classes, interfaces, enums) and namespaces must be unique 8 and distinct from other names, e.g., variable names and function names.
|
| D | recipe2.md | 8 unique property names at runtime. ArkTS does not support ``Symbol()`` API 42 …Recipe 001: Objects with property names that are not identifiers are not supported (``arkts-ident…
|
| D | recipe1.md | 1 # Objects with property names that are not identifiers are not supported 3 Rule ``arkts-identifiers-as-prop-names`` 8 strings. Use classes to access data by property names. Use arrays to access
|
| /arkcompiler/ets_frontend/ets2panda/linter/test_rules/ |
| D | rule103.ts.json | 29 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 50 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 64 "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
|
| D | rule4.ts.json | 22 "rule": "Use unique names for types and namespaces. (arkts-unique-names)" 29 "rule": "Use unique names for types and namespaces. (arkts-unique-names)"
|
| D | rule1.ts.json | 38 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 75 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 84 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
|
| D | rule1.ts.autofix.json | 55 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 102 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 109 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/12.indexing_expression/01.array_indexing_expression/ |
| D | spec_ex1.sts | 24 let names: string[] = ["Alice", "Bob", "Carol"] 25 assert names[1] == "Bob" 27 names[1] = "Martin" 28 assert names[1] == "Martin"
|
| /arkcompiler/ets_frontend/test262/ |
| D | es2022_tests.txt | 107 built-ins/RegExp/match-indices/indices-array-unicode-property-names.js 214 language/expressions/class/elements/after-same-line-static-async-gen-computed-names.js 218 language/expressions/class/elements/regular-definitions-literal-names.js 219 language/expressions/class/elements/new-sc-line-gen-literal-names-asi.js 220 language/expressions/class/elements/new-sc-line-method-computed-symbol-names.js 221 language/expressions/class/elements/new-sc-line-method-string-literal-names.js 223 language/expressions/class/elements/new-sc-line-method-literal-names.js 226 language/expressions/class/elements/after-same-line-method-computed-names.js 227 language/expressions/class/elements/same-line-async-gen-literal-names-asi.js 228 language/expressions/class/elements/after-same-line-static-async-gen-literal-names.js [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
| D | SourceMapMergingUtil.spec.ts | 42 "names": [], 59 "names": [], 70 …const expect = '{"version":3,"file":"index.js","sources":["index.ts"],"names":[],"mappings":"AAAA;… 84 names: ['console', 'log'], 97 expect(traced.names).to.include('log'); 113 names: [], 120 names: [],
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/ |
| D | decorator_value.py | 84 Log.exception_and_raise(_LOGGER, f"Cannot process CLI names {cli_name}") 88 def _to_qemu(names: Union[str, List[Tuple[str, bool]], None]) -> Optional[QemuKind]: 89 if names is None: 91 if isinstance(names, str): 92 return enum_from_str(names, QemuKind) 93 result = [n for n in names if n[1] is not None] 108 def _to_test_suites(names: Optional[List[Union[str, TestSuitesFromCliTuple]]]) -> Optional[Set[str]… 109 if names is None: 112 for name in names:
|
| /arkcompiler/runtime_core/static_core/verification/config/whitelist/ |
| D | whitelist.cpp | 42 auto &names = config->whitelistNames[k]; in InsertIntoWhitelist() local 43 if (std::find(names.begin(), names.end(), name) != names.end()) { in InsertIntoWhitelist()
|
| /arkcompiler/ets_frontend/arkguard/src/utils/ |
| D | SourceMapMergingUtil.ts | 35 names?: string[]; property 74 type MappingsNameType = { mappings: readonly SourceMapSegment[][]; names?: readonly string[] }; 75 type TracedMappingsType = { mappings: SourceMapSegment[][]; names: string[]; sources: string[] }; 82 readonly names?: readonly string[]; 87 this.names = map.names; 112 // segment[4] records the name from the names array. 117 let name: string = segment.length === 5 ? this.names[segment[SegmentIndex.NAME_INDEX]] : ''; 132 return { mappings, names: tracednames, sources: tracedSources }; 195 …let tracedName: string = tempSegment.length === 5 ? this.names[tempSegment[SegmentIndex.NAME_INDEX… 221 return { mappings: [], names: [], sources: [], version: 3 }; // 3 is the sourcemap version.
|
| /arkcompiler/ets_frontend/ets2panda/linter/test_regression/ |
| D | 14953.ts.json | 29 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 36 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/09.field_access_expressions/01.accessing_current_object_fields/ |
| D | incorrect_class_field_access.params.yaml | 16 …- { init: "let c: A = new A();", check: "c.a1.a2 = 1;", text: "names several accessible member fie… 17 …- { init: "let c: B = new B();", check: "c.i1.a1 = 1;", text: "names several accessible member fie… 18 …- { init: "let c: B = new B();", check: "c.b1.a1 = 1;", text: "names several accessible member fie…
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ts/ |
| D | test-tuple-type2.ts | 18 /* @@? 17:17 Error SyntaxError: Tuple members must all have names or all not have names */
|