Home
last modified time | relevance | path

Searched refs:node_ (Results 1 - 25 of 29) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Diterators.cpp27 : pg_(pg), node_(node), closed_(pg->AllocReg()), method_(pg->AllocReg()), iterator_(pg->AllocReg()), in Iterator()
37 pg_->LoadObjByName(node_, iterator_, "next"); in Iterator()
38 pg_->StoreAccumulator(node_, method_); in Iterator()
39 pg_->StoreConst(node_, closed_, Constant::JS_FALSE); in Iterator()
44 pg_->LoadObjByName(node_, iterator_, name); in GetMethod()
45 pg_->StoreAccumulator(node_, method_); in GetMethod()
50 pg_->CallThis(node_, method_, 2); in CallMethodWithValue()
55 pg_->CallThis(node_, method_, 1); in CallMethod()
63 pg_->FuncBuilder()->Await(node_); in Next()
66 pg_->StoreAccumulator(node_, nextResult in Next()
[all...]
H A DoptionalChain.cpp22 OptionalChain::OptionalChain(PandaGen *pg, const ir::AstNode *node) : pg_(pg), node_(node), prev_(pg->optionalChain_) in OptionalChain()
30 pg_->SetLabel(node_, label_); in ~OptionalChain()
50 pg_->LoadConst(node_, Constant::JS_NULL); in CheckNullish()
51 pg_->Condition(node_, lexer::TokenType::PUNCTUATOR_NOT_STRICT_EQUAL, obj, nullish); in CheckNullish()
52 pg_->LoadConst(node_, Constant::JS_UNDEFINED); in CheckNullish()
53 pg_->Condition(node_, lexer::TokenType::PUNCTUATOR_NOT_STRICT_EQUAL, obj, nullish); in CheckNullish()
54 pg_->Branch(node_, notNullish); in CheckNullish()
55 pg_->SetLabel(node_, nullish); in CheckNullish()
57 pg_->LoadConst(node_, compiler::Constant::JS_UNDEFINED); in CheckNullish()
59 pg_->Branch(node_, label in CheckNullish()
[all...]
H A Dlreference.cpp39 : node_(node), pg_(pg), refKind_(refKind), res_(res), isDeclaration_(isDeclaration) in LReference()
44 node_->AsMemberExpression()->CompileObject(pg_, obj_); in LReference()
45 if (!node_->AsMemberExpression()->AccessPrivateProperty()) { in LReference()
55 pg_->LoadVar(node_->AsIdentifier(), res_); in GetValue()
59 if (node_->AsMemberExpression()->AccessPrivateProperty()) { in GetValue()
60 auto name = node_->AsMemberExpression()->Property()->AsPrivateIdentifier()->Name(); in GetValue()
63 pg_->LoadAccumulator(node_, obj_); in GetValue()
64 pg_->LoadPrivateProperty(node_, result.lexLevel, result.result.slot); in GetValue()
69 pg_->LoadLexicalVar(node_, result.lexLevel, result.result.validateMethodSlot); in GetValue()
70 pg_->Equal(node_, obj in GetValue()
[all...]
H A Diterators.h55 return node_; in Node()
69 const ir::AstNode *node_; member in panda::es2panda::panda::es2panda::compiler::Iterator
H A DoptionalChain.h40 const ir::AstNode *node_ {};
H A Dlreference.h57 const ir::AstNode *node_; member in panda::es2panda::panda::es2panda::compiler::LReference
/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Diterators.cpp26 : pg_(pg), node_(node), method_(pg->AllocReg()), iterator_(pg->AllocReg()), nextResult_(pg->AllocReg()), type_(type) in Iterator()
35 pg_->LoadObjByName(node_, "next"); in Iterator()
36 pg_->StoreAccumulator(node_, method_); in Iterator()
38 pg_->ThrowIfNotObject(node_); in Iterator()
43 pg_->GetMethod(node_, iterator_, name); in GetMethod()
44 pg_->StoreAccumulator(node_, method_); in GetMethod()
49 pg_->Call1This(node_, method_, iterator_, nextResult_); in CallMethodWithValue()
54 pg_->Call0This(node_, method_, iterator_); in CallMethod()
62 pg_->FuncBuilder()->Await(node_); in Next()
65 pg_->ThrowIfNotObject(node_); in Next()
[all...]
H A DoptionalChain.cpp21 OptionalChain::OptionalChain(PandaGen *pg, const ir::AstNode *node) : pg_(pg), node_(node), prev_(pg->optionalChain_) in OptionalChain()
29 pg_->SetLabel(node_, label_); in ~OptionalChain()
45 pg_->StoreAccumulator(node_, obj); in Check()
50 pg_->BranchIfCoercible(node_, coercibleLabel); in Check()
52 pg_->LoadConst(node_, compiler::Constant::JS_UNDEFINED); in Check()
53 pg_->Branch(node_, label_); in Check()
55 pg_->SetLabel(node_, coercibleLabel); in Check()
56 pg_->LoadAccumulator(node_, obj); in Check()
H A Dlreference.h73 return node_; in Node()
98 : node_(node), refKind_(refKind), res_(res), isDeclaration_(isDeclaration) in LReference()
103 const ir::AstNode *node_; member in ark::es2panda::ark::es2panda::ark::es2panda::compiler::LReference
H A Diterators.h54 return node_; in Node()
70 const ir::AstNode *node_; member in ark::es2panda::ark::es2panda::compiler::Iterator
H A DoptionalChain.h38 const ir::AstNode *node_ {};
/arkcompiler/runtime_core/libpandabase/utils/
H A Dlist.h71 explicit ListIterator(const ListNode *node) : node_(node) {} in ListIterator()
75 : node_(src.node_) in ListIterator()
81 ASSERT(node_); in operator ++()
82 node_ = node_->next_; in operator ++()
88 ASSERT(node_); in operator ++()
90 node_ = node_->next_; in operator ++()
96 ASSERT(node_); in operator +()
421 T *node_ = nullptr; global() member in DListIterator
483 T *node_ = nullptr; global() member in DListReverseIterator
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dlist.h69 explicit ListIterator(const ListNode *node) : node_(node) {} in ListIterator()
73 : node_(src.node_) in ListIterator()
79 ASSERT(node_); in operator ++()
80 node_ = node_->next_; in operator ++()
86 ASSERT(node_); in operator ++()
88 node_ = node_->next_; in operator ++()
94 ASSERT(node_); in operator +()
405 T *node_ = nullptr; global() member in DListIterator
465 T *node_ = nullptr; global() member in DListReverseIterator
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/base/
H A Ddepend_chain_helper.h34 DependChainIterator(Node* node) : node_(node) {} in DependChainIterator()
38 ASSERT(node_ != nullptr); in operator ++()
39 node_ = node_->next; in operator ++()
45 return node_ != that.node_; in operator !=()
50 return node_->gate; in GetCurrentGate()
53 Node* node_; member
/arkcompiler/ets_frontend/es2panda/binder/
H A Ddeclaration.cpp28 return node_ && node_->IsClassDefinition() && node_->AsClassDefinition()->IsSendable(); in IsSendableClassDecl()
33 return node_ && node_->IsScriptFunction() && node_->AsScriptFunction()->IsSendable(); in IsSendableFunctionDecl()
H A Dscope.cpp196 return !node_->AsClassDefinition()->IsSendable(); in IsVariableScope()
286 if (node_ && node_->IsClassDefinition() && node_->AsClassDefinition()->Ident()) { in GetSelfScopeName()
287 util::StringView selfName = node_->AsClassDefinition()->Ident()->Name(); in GetSelfScopeName()
292 if (node_ && node_->Parent() && node_->Parent()->Parent()) { in GetSelfScopeName()
293 scopeName << util::Helpers::GetName(allocator_, node_->Parent()->Parent()); in GetSelfScopeName()
623 if (IsFunctionScope() && (node_ in GetScopeTag()
[all...]
H A Ddeclaration.h57 return node_; in Node()
80 node_ = node; in BindNode()
139 const ir::AstNode *node_ {};
321 node_ = node; in FunctionDecl()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DbaseAnalyzer.h40 : node_(node), jumpResolver_(std::move(jumpResolver))
55 return node_; in Node()
59 const ir::AstNode *node_; member in ark::es2panda::ark::es2panda::checker::PendingExit
/arkcompiler/ets_frontend/ets2panda/ir/
H A Dirnode.h115 explicit IRNode(const ir::AstNode *node) : node_(node) {}; in IRNode()
123 return node_; in Node()
156 const ir::AstNode *node_; member in ark::es2panda::ark::es2panda::compiler::IRNode
H A DastDump.h33 explicit Nullish(const ir::AstNode *node) : node_(node) {} in Nullish()
37 return node_; in Node()
41 const ir::AstNode *node_; member in ark::es2panda::ir::AstDumper::Nullish
/arkcompiler/ets_frontend/es2panda/ir/
H A Dirnode.h107 explicit IRNode(const ir::AstNode *node) : node_(node) {}; in IRNode()
115 return node_; in Node()
141 const ir::AstNode *node_; member in panda::es2panda::panda::panda::es2panda::compiler::IRNode
H A DastDump.h33 explicit Nullable(const ir::AstNode *node) : node_(node) {} in Nullable()
37 return node_; in Node()
41 const ir::AstNode *node_; member in panda::es2panda::ir::AstDumper::Nullable
/arkcompiler/ets_frontend/es2panda/typescript/types/
H A Dsignature.h102 node_ = node; in SetNode()
107 return node_; in Node()
124 const ir::AstNode *node_ {nullptr};
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Ddeclaration.h55 return node_; in Node()
60 return node_; in Node()
84 node_ = node; in BindNode()
99 explicit Decl(util::StringView name, ir::AstNode *declNode) : name_(name), node_(declNode) {} in Decl()
103 ir::AstNode *node_ {};
197 node_ = node; in FunctionDecl()
/arkcompiler/ets_frontend/ets2panda/checker/types/
H A DtypeRelation.h249 return node_; in GetNode()
329 node_ = node; in SetNode()
353 ir::Expression *node_ {};

Completed in 12 milliseconds

12