Home
last modified time | relevance | path

Searched full:property (Results 1 – 25 of 1760) sorted by relevance

12345678910>>...71

/arkcompiler/ets_frontend/ets2panda/test/parser/ts/
Dtest-ts-parameter-property-expected.txt15 "program": "test-ts-parameter-property.ts"
20 "program": "test-ts-parameter-property.ts"
36 "program": "test-ts-parameter-property.ts"
41 "program": "test-ts-parameter-property.ts"
69 "program": "test-ts-parameter-property.ts"
74 "program": "test-ts-parameter-property.ts"
85 "program": "test-ts-parameter-property.ts"
90 "program": "test-ts-parameter-property.ts"
98 "program": "test-ts-parameter-property.ts"
103 "program": "test-ts-parameter-property.ts"
[all …]
/arkcompiler/ets_runtime/test/sharedtest/check/
Dexpect_output.txt22 Fail to update propNumber to null with stobjbyname. err: TypeError: Cannot set sendable property wi…
23 Fail to update propBool to null with stobjbyname. err: TypeError: Cannot set sendable property with…
24 Fail to update propBigInt1 to null with stobjbyname. err: TypeError: Cannot set sendable property w…
25 Fail to update propBigInt2 to null with stobjbyname. err: TypeError: Cannot set sendable property w…
45 Fail to update subClassPropString with stobjbyname. err: TypeError: Cannot set sendable property wi…
47 Fail to replace accessor. err: TypeError: Cannot define property
49 …ough accessor with mismatched type. err: TypeError: Cannot set sendable property with mismatched t…
51 Fail to replace instance's func. err: TypeError: Cannot assign to read only property
53 Fail to update prototype. err: TypeError: Cannot add property in prevent extensions
54 Fail to extend prop to constructor's prototype. err: TypeError: Cannot add property in prevent exte…
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dsendable_class_interface_property.ets65 prop1: string[]; // ERROR, sendable class property cannot be array
66 prop2: NonSendableClass2; // ERROR, sendable class property cannot be non-sendable-class
67 …prop3: NonSendableClass2 | null; // ERROR, sendable class property cannot be non-sendable-class un…
68 …prop4: NonSendableInterface | number; // ERROR, sendable class property cannot be non-sendable-cla…
69 …prop5: NonSendableClass2 | null | undefined; // ERROR, sendable class property cannot be non-senda…
70 prop6: alias2; // ERROR, sendable class property cannot be non-sendable-type
71 prop7: alias3; // ERROR, sendable class property cannot be non-sendable-type
72 prop8: RegularEnum; // ERROR, sendable class property cannot be non-sendable-type
73 prop9: RegularEnum1; // ERROR, sendable class property cannot be non-sendable-type
74 prop10: RegularEnum2; // ERROR, sendable class property cannot be non-sendable-type
[all …]
Dsendable_class_interface_property.ets.json414 …"rule": "Computed property names are not allowed in \"Sendable\" classes and interfaces (arkts-sen…
544 …"rule": "Computed property names are not allowed in \"Sendable\" classes and interfaces (arkts-sen…
554 …"rule": "Computed property names are not allowed in \"Sendable\" classes and interfaces (arkts-sen…
563 …"suggest": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.…
564 … "rule": "Property 'prop1' has no initializer and is not definitely assigned in the constructor.",
573 …"suggest": "Property 'prop2' has no initializer and is not definitely assigned in the constructor.…
574 … "rule": "Property 'prop2' has no initializer and is not definitely assigned in the constructor.",
583 …"suggest": "Property 'prop3' has no initializer and is not definitely assigned in the constructor.…
584 … "rule": "Property 'prop3' has no initializer and is not definitely assigned in the constructor.",
593 …"suggest": "Property 'prop4' has no initializer and is not definitely assigned in the constructor.…
[all …]
Dclass_static_init.ets.arkts2.json24 "rule": "The static property has no initializer (arkts-class-static-initialization)",
34 "rule": "The static property has no initializer (arkts-class-static-initialization)",
44 "rule": "The static property has no initializer (arkts-class-static-initialization)",
54 "rule": "The static property has no initializer (arkts-class-static-initialization)",
64 "rule": "The static property has no initializer (arkts-class-static-initialization)",
74 "rule": "The static property has no initializer (arkts-class-static-initialization)",
84 "rule": "The static property has no initializer (arkts-class-static-initialization)",
104 "rule": "The static property has no initializer (arkts-class-static-initialization)",
114 "rule": "The static property has no initializer (arkts-class-static-initialization)",
124 "rule": "The static property has no initializer (arkts-class-static-initialization)",
[all …]
Dliterals_as_prop_names.ets.migrate.json34 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
44 …"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…
114 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
124 …"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…
144 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
164 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
174 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
184 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
[all …]
Dnot_support_decorator.ets.json83 …"suggest": "Property 'data' has no initializer and is not definitely assigned in the constructor.",
84 … "rule": "Property 'data' has no initializer and is not definitely assigned in the constructor.",
93 … "suggest": "Property 'id' has no initializer and is not definitely assigned in the constructor.",
94 … "rule": "Property 'id' has no initializer and is not definitely assigned in the constructor.",
103 …"suggest": "Property 'sharedValue' has no initializer and is not definitely assigned in the constr…
104 …"rule": "Property 'sharedValue' has no initializer and is not definitely assigned in the construct…
113 …"suggest": "Property 'value' has no initializer and is not definitely assigned in the constructor.…
114 … "rule": "Property 'value' has no initializer and is not definitely assigned in the constructor.",
123 …"suggest": "Property 'colorScheme' has no initializer and is not definitely assigned in the constr…
124 …"rule": "Property 'colorScheme' has no initializer and is not definitely assigned in the construct…
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/sdkwhite/
Dquoted_hyphen_props_deprecated_sdk2.ets.arkts2.json44 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
54 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
64 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
74 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
84 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
94 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
104 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
114 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
124 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
144 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
[all …]
Dquoted_hyphen_props_deprecated_sdk.ets.arkts2.json24 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
34 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
44 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
54 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
64 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
74 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
84 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
94 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
104 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
114 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
[all …]
Dliteral_as_property_name_sdk.ets.arkts2.json24 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
34 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
44 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
54 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
64 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
74 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
84 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
94 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
104 …le": "Object property names must be valid identifiers.Single-quoted and hyphenated properties are …
114 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
[all …]
/arkcompiler/runtime_core/static_core/tests/test-lists/test262/
Dtest262-ignored-AOT-FULL.txt31 language/expressions/compound-assignment/left-hand-side-private-reference-accessor-property-add.js
32 language/expressions/compound-assignment/left-hand-side-private-reference-accessor-property-bitand.…
33 language/expressions/compound-assignment/left-hand-side-private-reference-accessor-property-bitor.js
34 language/expressions/compound-assignment/left-hand-side-private-reference-accessor-property-bitxor.…
35 language/expressions/compound-assignment/left-hand-side-private-reference-accessor-property-div.js
36 language/expressions/compound-assignment/left-hand-side-private-reference-accessor-property-exp.js
37 language/expressions/compound-assignment/left-hand-side-private-reference-accessor-property-lshift.…
38 language/expressions/compound-assignment/left-hand-side-private-reference-accessor-property-mod.js
39 language/expressions/compound-assignment/left-hand-side-private-reference-accessor-property-mult.js
40 language/expressions/compound-assignment/left-hand-side-private-reference-accessor-property-rshift.…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/indexed_signature/
Dmain.js19 get: function (target, property) { argument
20 if (!isNaN(property)) {
21 return target.items[property];
23 if (typeof target[property] === 'function') {
24 return target[property]();
26 if (target[property]) {
27 return target[property];
31 set: function (target, property, value) { argument
32 if (!isNaN(property)) {
33 target.items[property] = value;
[all …]
Dmain.ts26 get: function (target, property): AnyType {
27 if (!isNaN(property)) {
28 return target.items[property];
31 if (typeof target[property] === 'function') {
32 return target[property]();
35 if (target[property]) {
36 return target[property];
41 set: function (target, property, value): boolean {
43 if (!isNaN(property)) {
44 target.items[property] = value;
[all …]
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
DStringFasta.ets125 /* @@@ label Error SyntaxError: Unexpected token. A constructor, method, accessor, or property was …
134 /* @@? 21:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
135 /* @@? 22:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
136 /* @@? 23:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
137 /* @@? 24:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
138 /* @@? 25:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
139 /* @@? 26:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
140 /* @@? 27:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
141 /* @@? 28:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
142 /* @@? 29:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
[all …]
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/FixedArray/
DStringFasta.ets125 /* @@@ label Error SyntaxError: Unexpected token. A constructor, method, accessor, or property was …
134 /* @@? 21:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
135 /* @@? 22:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
136 /* @@? 23:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
137 /* @@? 24:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
138 /* @@? 25:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
139 /* @@? 26:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
140 /* @@? 27:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
141 /* @@? 28:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
142 /* @@? 29:9 Error TypeError: Static property 'IUB' must be accessed through it's class 'StringFasta…
[all …]
/arkcompiler/runtime_core/panda_guard/obfuscate/
Dobject.cpp113 const auto property = std::make_shared<ObjectProperty>(this->program_, this->literalArrayIdx_); in CreateProperty() local
114 property->name_ = StringUtil::UnicodeEscape(std::get<std::string>(keyValue)); in CreateProperty()
115 property->scope_ = this->scope_; in CreateProperty()
116 property->export_ = this->export_; in CreateProperty()
117 property->index_ = index; in CreateProperty()
126property->method_ = std::make_shared<PropertyMethod>(this->program_, std::get<std::string>(valueVa… in CreateProperty()
127 property->method_->node_ = this->node_; in CreateProperty()
128 property->method_->export_ = this->export_; in CreateProperty()
129 property->method_->scope_ = this->scope_; in CreateProperty()
132 property->Create(); in CreateProperty()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dprim_types.h25 PrimitiveType(PrimType type) : property(GetPrimitiveTypeProperty(type)) {} in PrimitiveType()
30 return property.type; in GetType()
35 return property.IsInteger(); in IsInteger()
39 return property.IsUnsigned(); in IsUnsigned()
43 return property.IsAddress(); in IsAddress()
47 return property.IsFloat(); in IsFloat()
51 return property.IsPointer(); in IsPointer()
55 return property.IsSimple(); in IsSimple()
58 const PrimitiveTypeProperty &property;
/arkcompiler/ets_frontend/ets2panda/ir/base/
Dproperty.h25 class Property : public Expression {
30 Property() = delete;
31 ~Property() override = default;
33 Property &operator=(const Property &) = delete;
34 NO_MOVE_SEMANTIC(Property);
36 explicit Property(Expression *const key, Expression *const value) in Property() function
37 : Expression(AstNodeType::PROPERTY), kind_(PropertyKind::INIT), key_(key), value_(value) in Property()
41 …explicit Property(PropertyKind const kind, Expression *const key, Expression *const value, bool co… in Property() function
43 : Expression(AstNodeType::PROPERTY), in Property()
53 explicit Property(Tag tag, Property const &other, Expression *key, Expression *value);
[all …]
Dproperty.cpp16 #include "property.h"
23 Property::Property([[maybe_unused]] Tag const tag, Property const &other, Expression *const key, in Property() function in ark::es2panda::ir::Property
25 : Property(other) in Property()
31 Property *Property::Clone(ArenaAllocator *const allocator, AstNode *const parent) in Clone()
35 auto *const clone = allocator->New<Property>(Tag {}, *this, key, value); in Clone()
49 bool Property::ConvertibleToPatternProperty() in ConvertibleToPatternProperty()
85 ValidationInfo Property::ValidateExpression() in ValidateExpression()
105 return {"Invalid shorthand property initializer.", value_->Start()}; in ValidateExpression()
118 void Property::TransformChildren(const NodeTransformer &cb, std::string_view transformationName) in TransformChildren()
131 void Property::Iterate(const NodeTraverser &cb) const in Iterate()
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
Dets_test_dir.py28 @property
32 @property
36 @property
40 @property
44 @property
48 @property
52 @property
56 @property
60 @property
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/01.partial_utility_type/
Dpartial_example_getter_setter.ets26 property: number
30 set property(property: number) { i+=1 }
31 get property(): number { i+=10; return this.property }
35 partial.property = 42 // setter to be called
36 return partial.property // getter to be called
40 assertEQ( foo({property: 1}), 42) // No getter or setter from class A is called
/arkcompiler/ets_frontend/arkguard/
DREADME.md23 * property names
26 global names obfuscation and property names obfuscation are disabled by default, as they may
43 When you create a new library, additional property `consumerFiles` will be added.
59 * the property `ruleOptions.enable` is `true` and the property `ruleOptions.enable` of every depend…
62 The files in the property `ruleOptions.files` will be applied when you build HAP or HAR.
64 The files in the property `consumerFiles` will be applied when you build the project or library whi…
68 property, dependent libraries' `consumerFiles` properties and dependent HAR's `obfuscation.txt`.
69 …ilding HAR, the content of `obfuscation.txt` is the combination of self's `consumerFiles` property,
103 #### -enable-property-obfuscation
105 Specifies to obfuscate the property names. If you use this option, all property names will be obfus…
[all …]
/arkcompiler/ets_frontend/es2panda/ir/
DastDump.h60 class Property {
73 …std::variant<const char *, lexer::TokenType, std::initializer_list<Property>, util::StringView, bo…
76 Property(const char *key, const char *string) : key_(key), value_(string) {} in Property() function
77 Property(const char *key, util::StringView str) : key_(key), value_(str) {} in Property() function
78 Property(const char *key, bool boolean) : key_(key), value_(boolean) {} in Property() function
79 Property(const char *key, double number) : key_(key), value_(number) {} in Property() function
80 Property(const char *key, lexer::TokenType token) : key_(key), value_(token) {} in Property() function
81Property(const char *key, std::initializer_list<Property> props) : key_(key), value_(props) {} in Property() function
82Property(const char *key, const ir::AstNode *node) : key_(key), value_(const_cast<ir::AstNode *>(n… in Property() function
84 Property(const char *key, Constant constant) : key_(key), value_(constant) {} in Property() function
[all …]
/arkcompiler/ets_runtime/test/sharedtest/sendable/
Dexpect_output.txt20 sendable contain non-sendable failed. err: TypeError: Cannot set sendable property with mismatched …
21 sendable contain static non-sendable failed. err: TypeError: Cannot set sendable property with mism…
25 sendable add property failed. err: TypeError: Cannot add property in prevent extensions, code: unde…
26 sendable change property failed. err: TypeError: Cannot set sendable property with mismatched type,…
27 sendable delete property failed. err: TypeError: Cannot delete property, code: undefined
/arkcompiler/ets_frontend/ets2panda/linter/test/regression/
D14953.ets.json34 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
44 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
53 …"suggest": "Property '['b']' has no initializer and is not definitely assigned in the constructor.…
54 … "rule": "Property '['b']' has no initializer and is not definitely assigned in the constructor.",
63 …"suggest": "Property '[T.A]' has no initializer and is not definitely assigned in the constructor.…
64 … "rule": "Property '[T.A]' has no initializer and is not definitely assigned in the constructor.",
73 …"suggest": "Property '[T.B]' has no initializer and is not definitely assigned in the constructor.…
74 … "rule": "Property '[T.B]' has no initializer and is not definitely assigned in the constructor.",
83 …"suggest": "Property '[str1]' has no initializer and is not definitely assigned in the constructor…
84 … "rule": "Property '[str1]' has no initializer and is not definitely assigned in the constructor.",

12345678910>>...71