Home
last modified time | relevance | path

Searched refs:body_ (Results 1 – 24 of 24) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsModuleDeclaration.cpp29 if (body_) { in Iterate()
30 cb(body_); in Iterate()
38 {"body", AstDumper::Optional(body_)}, in Dump()
54 if (body_) { in UpdateSelf()
56 body_ = std::get<ir::AstNode *>(cb(body_))->AsStatement(); in UpdateSelf()
DtsInterfaceBody.cpp24 for (auto *it : body_) { in Iterate()
31 dumper->Add({{"type", "TSInterfaceBody"}, {"body", body_}}); in Dump()
38 for (auto *it : body_) { in Check()
47 for (auto iter = body_.begin(); iter != body_.end(); iter++) { in UpdateSelf()
DtsModuleDeclaration.h42 body_(body), in Statement()
61 return body_; in Body()
66 return body_; in Body()
93 Statement *body_; variable
DtsInterfaceBody.h35 : Expression(AstNodeType::TS_INTERFACE_BODY), body_(std::move(body)) in TSInterfaceBody()
41 return body_; in Body()
51 ArenaVector<Expression *> body_;
DtsInterfaceDeclaration.cpp43 cb(body_); in Iterate()
49 {"body", body_}, in Dump()
124 body_->Check(checker); in Check()
141 body_ = std::get<ir::AstNode *>(cb(body_))->AsTSInterfaceBody(); in UpdateSelf()
DtsInterfaceDeclaration.h50 body_(body), in TSInterfaceDeclaration()
62 return body_; in Body()
91 TSInterfaceBody *body_; variable
/arkcompiler/ets_frontend/es2panda/ir/base/
DcatchClause.cpp39 cb(body_); in Iterate()
44 dumper->Add({{"type", "CatchClause"}, {"body", body_}, {"param", AstDumper::Nullable(param_)}}); in Dump()
56 ASSERT(scope_ == body_->Scope()); in Compile()
57 body_->Compile(pg); in Compile()
82 body_->Check(checker); in Check()
95 body_ = std::get<ir::AstNode *>(cb(body_))->AsBlockStatement(); in UpdateSelf()
DcatchClause.h42 : Statement(AstNodeType::CATCH_CLAUSE), scope_(scope), param_(param), body_(body) in CatchClause()
58 return body_; in Body()
63 return body_; in Body()
80 BlockStatement *body_; variable
DscriptFunction.cpp80 if (body_) { in Iterate()
81 cb(body_); in Iterate()
97 {"body", AstDumper::Optional(body_)}}); in Dump()
133 if (body_) { in UpdateSelf()
134 body_ = std::get<ir::AstNode *>(cb(body_)); in UpdateSelf()
DclassDefinition.h61 body_(std::move(body)), in ClassDefinition()
111 return body_; in Body()
116 return body_; in Body()
188 ArenaVector<Statement *> body_; variable
DscriptFunction.h50 body_(body), in ScriptFunction()
110 return body_; in Body()
115 return body_; in Body()
221 AstNode *body_; variable
DclassDefinition.cpp87 for (auto *it : body_) { in Iterate()
104 {"body", body_}, in Dump()
142 const auto &properties = body_; in CreateClassStaticProperties()
232 const auto &properties = body_; in CompileMissingProperties()
315 util::BitSet compiled(body_.size()); in Compile()
358 for (auto iter = body_.begin(); iter != body_.end(); iter++) { in UpdateSelf()
/arkcompiler/ets_frontend/es2panda/ir/statements/
DlabelledStatement.cpp28 cb(body_); in Iterate()
33 dumper->Add({{"type", "LabelledStatement"}, {"label", ident_}, {"body", body_}}); in Dump()
39 body_->Compile(pg); in Compile()
50 body_ = std::get<ir::AstNode *>(cb(body_))->AsStatement(); in UpdateSelf()
DwhileStatement.cpp33 cb(body_); in Iterate()
38 dumper->Add({{"type", "WhileStatement"}, {"test", test_}, {"body", body_}}); in Dump()
50 body_->Compile(pg); in Compile()
64 body_->Check(checker); in Check()
74 body_ = UpdateChildStatement(cb, binder, body_); in UpdateSelf()
DdoWhileStatement.cpp31 cb(body_); in Iterate()
37 dumper->Add({{"type", "DoWhileStatement"}, {"body", body_}, {"test", test_}}); in Dump()
48 body_->Compile(pg); in Compile()
64 body_->Check(checker); in Check()
73 body_ = UpdateChildStatement(cb, binder, body_); in UpdateSelf()
DforUpdateStatement.cpp43 cb(body_); in Iterate()
52 {"body", body_}}); in Dump()
74 body_->Compile(pg); in Compile()
104 body_->Check(checker); in Check()
126 body_ = UpdateChildStatement(cb, binder, body_); in UpdateSelf()
DwhileStatement.h41 : LoopStatement(AstNodeType::WHILE_STATEMENT, scope), test_(test), body_(body) in WhileStatement()
57 return body_; in Body()
62 return body_; in Body()
73 Statement *body_; variable
DdoWhileStatement.h41 : LoopStatement(AstNodeType::DO_WHILE_STATEMENT, scope), body_(body), test_(test) in DoWhileStatement()
47 return body_; in Body()
52 return body_; in Body()
72 Statement *body_;
DforInStatement.h41 … : LoopStatement(AstNodeType::FOR_IN_STATEMENT, scope), left_(left), right_(right), body_(body) in ForInStatement()
67 return body_; in Body()
72 return body_; in Body()
84 Statement *body_; variable
DforOfStatement.h44 body_(body), in ForOfStatement()
71 return body_; in Body()
76 return body_; in Body()
93 Statement *body_; variable
DforUpdateStatement.h46 body_(body) in ForUpdateStatement()
82 return body_; in Body()
87 return body_; in Body()
100 Statement *body_; variable
DforInStatement.cpp35 cb(body_); in Iterate()
40 dumper->Add({{"type", "ForInStatement"}, {"left", left_}, {"right", right_}, {"body", body_}}); in Dump()
93 body_->Compile(pg); in Compile()
112 body_ = UpdateChildStatement(cb, binder, body_); in UpdateSelf()
DlabelledStatement.h38 : Statement(AstNodeType::LABELLED_STATEMENT), ident_(ident), body_(body) in LabelledStatement()
44 return body_; in Body()
60 Statement *body_; variable
DforOfStatement.cpp35 cb(body_); in Iterate()
40 …pe", "ForOfStatement"}, {"await", isAwait_}, {"left", left_}, {"right", right_}, {"body", body_}}); in Dump()
95 body_->Compile(pg); in Compile()
114 body_ = UpdateChildStatement(cb, binder, body_); in UpdateSelf()