Home
last modified time | relevance | path

Searched refs:node_ (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/ets_frontend/es2panda/compiler/base/
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 …]
DoptionalChain.cpp21 OptionalChain::OptionalChain(PandaGen *pg, const ir::AstNode *node) : pg_(pg), node_(node), prev_(p… in OptionalChain()
29 pg_->SetLabel(node_, label_); in ~OptionalChain()
49 pg_->LoadConst(node_, Constant::JS_NULL); in CheckNullish()
50 pg_->Condition(node_, lexer::TokenType::PUNCTUATOR_NOT_STRICT_EQUAL, obj, nullish); in CheckNullish()
51 pg_->LoadConst(node_, Constant::JS_UNDEFINED); in CheckNullish()
52 pg_->Condition(node_, lexer::TokenType::PUNCTUATOR_NOT_STRICT_EQUAL, obj, nullish); in CheckNullish()
53 pg_->Branch(node_, notNullish); in CheckNullish()
54 pg_->SetLabel(node_, nullish); in CheckNullish()
56 pg_->LoadConst(node_, compiler::Constant::JS_UNDEFINED); in CheckNullish()
57 pg_->Branch(node_, label_); in CheckNullish()
[all …]
Dlreference.cpp36 : node_(node), pg_(pg), refKind_(refKind), res_(res), isDeclaration_(isDeclaration) in LReference()
41 node_->AsMemberExpression()->CompileObject(pg_, obj_); in LReference()
50 pg_->LoadVar(node_->AsIdentifier(), res_); in GetValue()
54 pg_->LoadObjProperty(node_, obj_, prop_); in GetValue()
67 pg_->StoreVar(node_, res_, isDeclaration_); in SetValue()
71 if (node_->AsMemberExpression()->Object()->IsSuperExpression()) { in SetValue()
72 pg_->StoreSuperProperty(node_, obj_, prop_); in SetValue()
74 pg_->StoreObjProperty(node_, obj_, prop_); in SetValue()
80 Destructuring::Compile(pg_, node_->AsExpression()); in SetValue()
Diterators.h55 return node_; in Node()
69 const ir::AstNode *node_; variable
DoptionalChain.h38 const ir::AstNode *node_ {};
Dlreference.h57 const ir::AstNode *node_;
/arkcompiler/runtime_core/libpandabase/utils/
Dlist.h71 explicit ListIterator(const ListNode *node) : node_(node) {} in ListIterator()
75 : node_(src.node_) in ListIterator()
81 ASSERT(node_);
82 node_ = node_->next_;
88 ASSERT(node_);
90 node_ = node_->next_;
96 ASSERT(node_);
104 return *(static_cast<T *>(const_cast<ListNode *>(node_)));
109 return static_cast<T *>(const_cast<ListNode *>(node_));
118 const ListNode *node_ {nullptr};
[all …]
/arkcompiler/ets_frontend/es2panda/typescript/types/
Dsignature.h102 node_ = node; in SetNode()
107 return node_; in Node()
124 const ir::AstNode *node_ {nullptr};
/arkcompiler/ets_frontend/es2panda/ir/
Dirnode.h107 explicit IRNode(const ir::AstNode *node) : node_(node) {}; in IRNode()
115 return node_; in Node()
137 const ir::AstNode *node_;
DastDump.h33 explicit Nullable(const ir::AstNode *node) : node_(node) {} in Nullable()
37 return node_; in Node()
41 const ir::AstNode *node_;
/arkcompiler/ets_frontend/es2panda/binder/
Ddeclaration.h57 return node_; in DECLARATION_KINDS()
80 node_ = node; in DECLARATION_KINDS()
133 const ir::AstNode *node_ {}; in DECLARATION_KINDS()
315 node_ = node; in FunctionDecl()
Dscope.h264 return node_; in Node()
269 return node_; in Node()
274 node_ = node; in BindNode()
369 ir::AstNode *node_ {};