Home
last modified time | relevance | path

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

12345678910>>...60

/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.sts65 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.ts.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 …]
Darkui_decorators.ts.json173 …"suggest": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
174 … "rule": "Property 'name' has no initializer and is not definitely assigned in the constructor.",
183 … "suggest": "Property 'age' has no initializer and is not definitely assigned in the constructor.",
184 … "rule": "Property 'age' has no initializer and is not definitely assigned in the constructor.",
193 …"suggest": "Property 'localStorage' has no initializer and is not definitely assigned in the const…
194 …"rule": "Property 'localStorage' has no initializer and is not definitely assigned in the construc…
203 …"suggest": "Property 'provide' has no initializer and is not definitely assigned in the constructo…
204 …"rule": "Property 'provide' has no initializer and is not definitely assigned in the constructor.",
213 …"suggest": "Property 'state' has no initializer and is not definitely assigned in the constructor.…
214 … "rule": "Property 'state' has no initializer and is not definitely assigned in the constructor.",
[all …]
Dobject_literals_prop_func_type.ts.json33 … "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
34 … "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
43 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
44 … "rule": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
53 … "suggest": "Property 'c' has no initializer and is not definitely assigned in the constructor.",
54 … "rule": "Property 'c' has no initializer and is not definitely assigned in the constructor.",
63 … "suggest": "Property 'd' has no initializer and is not definitely assigned in the constructor.",
64 … "rule": "Property 'd' has no initializer and is not definitely assigned in the constructor.",
Dobject_literals_prop_func_type.ts.autofix.json33 … "suggest": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
34 … "rule": "Property 'a' has no initializer and is not definitely assigned in the constructor.",
43 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
44 … "rule": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
53 … "suggest": "Property 'c' has no initializer and is not definitely assigned in the constructor.",
54 … "rule": "Property 'c' has no initializer and is not definitely assigned in the constructor.",
63 … "suggest": "Property 'd' has no initializer and is not definitely assigned in the constructor.",
64 … "rule": "Property 'd' has no initializer and is not definitely assigned in the constructor.",
Dobject_literals_2.ts.autofix.json135 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
136 … "rule": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
145 … "suggest": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
146 … "rule": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
155 … "suggest": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
156 … "rule": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
165 … "suggest": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
166 … "rule": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
175 … "suggest": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
176 … "rule": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
[all …]
Dobject_literals_2.ts.json123 … "suggest": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
124 … "rule": "Property 'b' has no initializer and is not definitely assigned in the constructor.",
133 … "suggest": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
134 … "rule": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
143 … "suggest": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
144 … "rule": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
153 … "suggest": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
154 … "rule": "Property 'x' has no initializer and is not definitely assigned in the constructor.",
163 … "suggest": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
164 … "rule": "Property 'y' has no initializer and is not definitely assigned in the constructor.",
[all …]
Dliterals_as_prop_names.ts.json24 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
34 …"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…
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…
153 … "suggest": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
154 … "rule": "Property '_2' has no initializer and is not definitely assigned in the constructor.",
163 … "suggest": "Property 'Two' has no initializer and is not definitely assigned in the constructor.",
164 … "rule": "Property 'Two' has no initializer and is not definitely assigned in the constructor.",
[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.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 …]
Dmain.js21 get: function (target, property) { argument
22 if (!isNaN(property)) {
23 return target.items[property];
25 if (typeof target[property] === 'function') {
26 return target[property]();
28 if (target[property]) {
29 return target[property];
33 set: function (target, property, value) { argument
34 if (!isNaN(property)) {
35 target.items[property] = value;
[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"
26 Property::Property([[maybe_unused]] Tag const tag, Property const &other, Expression *const key, in Property() function in ark::es2panda::ir::Property
28 : Property(other) in Property()
34 Property *Property::Clone(ArenaAllocator *const allocator, AstNode *const parent) in Clone()
39 if (auto *const clone = allocator->New<Property>(Tag {}, *this, key, value); clone != nullptr) { in Clone()
55 bool Property::ConvertibleToPatternProperty() in ConvertibleToPatternProperty()
91 ValidationInfo Property::ValidateExpression() in ValidateExpression()
111 return {"Invalid shorthand property initializer.", value_->Start()}; in ValidateExpression()
124 void Property::TransformChildren(const NodeTransformer &cb, std::string_view transformationName) in TransformChildren()
137 void Property::Iterate(const NodeTraverser &cb) const in Iterate()
[all …]
/arkcompiler/runtime_core/panda_guard/obfuscate/
Dobject.cpp125 ObjectProperty property(this->program_, this->literalArrayIdx_); in CreateProperty() local
126 property.name_ = StringUtil::UnicodeEscape(std::get<std::string>(keyValue)); in CreateProperty()
127 property.scope_ = this->scope_; in CreateProperty()
128 property.export_ = this->export_; in CreateProperty()
129 property.index_ = index; in CreateProperty()
138property.method_ = std::make_shared<PropertyMethod>(this->program_, std::get<std::string>(valueVal… in CreateProperty()
139 property.method_->export_ = this->export_; in CreateProperty()
140 property.method_->scope_ = this->scope_; in CreateProperty()
143 property.Create(); in CreateProperty()
145 LOG(INFO, PANDAGUARD) << TAG << "find object property:" << property.name_; in CreateProperty()
[all …]
/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/ir/
DastDump.h73 class Property {
86 …using Val = std::variant<const char *, lexer::TokenType, std::initializer_list<Property>, util::St…
90 Property(const char *key, const char *string) : key_(key), value_(string) {} in Property() function
91 Property(const char *key, util::StringView str) : key_(key), value_(str) {} in Property() function
92 Property(const char *key, bool boolean) : key_(key), value_(boolean) {} in Property() function
93 Property(const char *key, char16_t c16) : key_(key), value_(c16) {} in Property() function
94 Property(const char *key, lexer::Number number) : key_(key), value_(number) {} in Property() function
95 Property(const char *key, lexer::TokenType token) : key_(key), value_(token) {} in Property() function
96Property(const char *key, std::initializer_list<Property> props) : key_(key), value_(props) {} in Property() function
97Property(const char *key, const ir::AstNode *node) : key_(key), value_(const_cast<ir::AstNode *>(n… in Property() function
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/regression/
D14953.ts.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.",
/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
/arkcompiler/ets_runtime/test/moduletest/functionapply/
Dexpect_output.txt25 TypeError: Cannot assign to read only property
26 TypeError: Cannot assign to read only property
27 TypeError: Cannot assign to read only property
28 TypeError: Cannot assign to read only property
29 TypeError: Cannot assign to read only property
32 TypeError: Cannot assign to read only property
/arkcompiler/runtime_core/libpandabase/os/
Dproperty.h22 #include "platforms/unix/libpandabase/property.h"
25 namespace panda::os::property {
28 const auto ARK_DFX_PROP = panda::os::unix::property::ARK_DFX_PROP;
29 const auto ARK_TRACE_PROP = panda::os::unix::property::ARK_TRACE_PROP;
31 const auto GetPropertyBuffer = panda::os::unix::property::GetPropertyBuffer;
35 } // namespace panda::os::property
/arkcompiler/runtime_core/static_core/libpandabase/os/
Dproperty.h20 #include "platforms/unix/libpandabase/property.h"
25 namespace ark::os::property {
28 const auto ARK_DFX_PROP = ark::os::unix::property::ARK_DFX_PROP;
29 const auto ARK_TRACE_PROP = ark::os::unix::property::ARK_TRACE_PROP;
32 const auto GetPropertyBuffer = ark::os::unix::property::GetPropertyBuffer;
36 } // namespace ark::os::property

12345678910>>...60