Home
last modified time | relevance | path

Searched refs:key_ (Results 1 – 25 of 26) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/ir/base/
Dproperty.cpp64 if (key_->IsIdentifier()) { in ValidateExpression()
65 currentIsProto = key_->AsIdentifier()->Name().Is("__proto__"); in ValidateExpression()
66 } else if (key_->IsStringLiteral()) { in ValidateExpression()
67 currentIsProto = key_->AsStringLiteral()->Str().Is("__proto__"); in ValidateExpression()
92 cb(key_); in Iterate()
126 {"key", key_}, in Dump()
140 key_ = std::get<ir::AstNode *>(cb(key_))->AsExpression(); in UpdateSelf()
DclassProperty.h39 key_(key), in ClassProperty()
51 return key_; in Key()
56 return key_; in Key()
61 key_ = key; in SetKey()
117 Expression *key_;
Dproperty.h40 key_(key), in Property()
51 key_(key), in Property()
61 return key_; in Key()
66 return key_; in Key()
119 Expression *key_; variable
DmethodDefinition.h49 key_(key), in MethodDefinition()
71 return key_; in Key()
76 return key_; in Key()
81 key_ = key; in SetKey()
161 Expression *key_; variable
DclassProperty.cpp32 cb(key_); in Iterate()
50 {"key", key_}, in Dump()
73 key_ = std::get<ir::AstNode *>(cb(key_))->AsExpression(); in UpdateChildNodes()
DmethodDefinition.cpp40 cb(key_); in Iterate()
85 {"key", key_}, in Dump()
106 key_ = std::get<ir::AstNode *>(cb(key_))->AsExpression(); in UpdateSelf()
/arkcompiler/ets_frontend/es2panda/ir/
DastDump.h76 Property(const char *key, const char *string) : key_(key), value_(string) {} in Property()
77 Property(const char *key, util::StringView str) : key_(key), value_(str) {} in Property()
78 Property(const char *key, bool boolean) : key_(key), value_(boolean) {} in Property()
79 Property(const char *key, double number) : key_(key), value_(number) {} in Property()
80 Property(const char *key, lexer::TokenType token) : key_(key), value_(token) {} in Property()
81 … Property(const char *key, std::initializer_list<Property> props) : key_(key), value_(props) {} in Property()
82 …Property(const char *key, const ir::AstNode *node) : key_(key), value_(const_cast<ir::AstNode *>(n… in Property()
84 Property(const char *key, Constant constant) : key_(key), value_(constant) {} in Property()
85 Property(const char *key, Nullable nullable) : key_(key) in Property()
94 Property(const char *key, Optional optional) : key_(key) in Property()
[all …]
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsPropertySignature.cpp28 cb(key_); in Iterate()
41 {"key", key_}, in Dump()
54 checker->CheckComputedPropertyName(key_); in Check()
68 key_ = std::get<ir::AstNode *>(cb(key_))->AsExpression(); in UpdateSelf()
DtsEnumMember.cpp25 cb(key_); in Iterate()
34 …dumper->Add({{"type", "TSEnumMember"}, {"id", key_}, {"initializer", AstDumper::Optional(init_)}}); in Dump()
46 key_ = std::get<ir::AstNode *>(cb(key_))->AsExpression(); in UpdateSelf()
DtsPrivateIdentifier.cpp24 cb(key_); in Iterate()
38 {"key", key_}, in Dump()
52 key_ = std::get<ir::AstNode *>(cb(key_))->AsExpression(); in UpdateSelf()
DtsPrivateIdentifier.h35 …: Expression(AstNodeType::TS_PRIVATE_IDENTIFIER), key_(key), value_(value), typeAnnotation_(typeAn… in TSPrivateIdentifier()
41 return key_; in Key()
46 return key_; in Key()
66 Expression *key_;
DtsPropertySignature.h37 key_(key), in TSPropertySignature()
47 return key_; in Key()
52 return key_; in Key()
82 Expression *key_;
DtsMethodSignature.cpp31 cb(key_); in Iterate()
51 {"key", key_}, in Dump()
62 checker->CheckComputedPropertyName(key_); in Check()
88 key_ = std::get<ir::AstNode *>(cb(key_))->AsExpression(); in UpdateSelf()
DtsMethodSignature.h45 key_(key), in TSMethodSignature()
61 return key_; in Key()
66 return key_; in Key()
102 Expression *key_; variable
DtsEnumMember.h37 : Statement(AstNodeType::TS_ENUM_MEMBER), key_(key), init_(init) in TSEnumMember()
43 return key_; in Key()
63 Expression *key_;
DtsEnumDeclaration.h47 key_(key), in TSEnumDeclaration()
62 return key_; in Key()
97 Identifier *key_; variable
DtsEnumDeclaration.cpp35 cb(key_); in Iterate()
44 …dumper->Add({{"type", "TSEnumDeclaration"}, {"id", key_}, {"members", members_}, {"const", isConst… in Dump()
379 key_->Name(), checker->Scope(), in InferType()
388 binder::Variable *enumVar = key_->Variable(); in Check()
406 key_ = std::get<ir::AstNode *>(cb(key_))->AsIdentifier(); in UpdateSelf()
/arkcompiler/ets_runtime/ecmascript/ic/
Dproperties_cache.h33 if ((prop.hclass_ == jsHclass) && (prop.key_ == key)) { in Get()
43 prop.key_ = key; in Set()
60 keys_[i].key_ = JSTaggedValue::Hole(); in PropertiesCache()
68 JSTaggedValue key_{JSTaggedValue::Hole()};
/arkcompiler/ets_runtime/ecmascript/
Dobject_operator.cpp45key_ = JSHandle<JSTaggedValue>::Cast(base::NumberHelper::NumberToString(thread_, JSTaggedValue(key… in HandleKey()
57 key_ = key; in HandleKey()
60key_ = JSHandle<JSTaggedValue>(thread_, thread_->GetEcmaVM()->GetFactory()->InternString(key)); in HandleKey()
73key_ = JSHandle<JSTaggedValue>::Cast(base::NumberHelper::NumberToString(thread_, key.GetTaggedValu… in HandleKey()
78 key_ = key; in HandleKey()
84 key_ = keyHandle; in HandleKey()
87 key_ = JSHandle<JSTaggedValue>(thread_, in HandleKey()
185 : thread_(thread), holder_(thread, receiver), receiver_(thread, receiver), key_(thread, name) in ObjectOperator()
206 : thread_(thread), receiver_(thread, receiver), key_(thread, name) in ObjectOperator()
311 int entry = dict->FindEntry(key_.GetTaggedValue()); in LookupGlobal()
[all …]
Dobject_operator.h90 return key_.IsEmpty(); in IsElement()
232 if (key_.IsEmpty()) { in GetKey()
235 return key_; in GetKey()
326 JSHandle<JSTaggedValue> key_{};
Dlayout_info.h25 JSTaggedValue key_; member
Dlayout_info-inl.h105 if (sp[i].key_ == key) { in FindElementWithCache()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dobject_access_helper.h73 key_(key), in ObjectAccessHelper()
110 JSTaggedValue key_ {JSTaggedValue::Hole()};
Dobject_access_helper.cpp56 PropertyLookupResult plr = JSHClass::LookupPropertyInAotHClass(thread_, hclass, key_); in ComputeForClassInstance()
81 PropertyLookupResult plr = JSHClass::LookupPropertyInAotHClass(thread_, hclass, key_); in ComputeForClassOrObject()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_info.h759 if (len > 0 && memcpy_s(&key_, len, key.c_str(), len) != EOK) { in PGOLayoutDescInfo()
763 *(&key_ + len) = '\0'; in PGOLayoutDescInfo()
778 return &key_; in GetKey()
789 char key_ {'\0'};

12