Home
last modified time | relevance | path

Searched refs:WhileStatement (Results 1 - 25 of 27) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DwhileStatement.cpp29 void WhileStatement::TransformChildren(const NodeTransformer &cb, std::string_view transformationName) in TransformChildren()
42 void WhileStatement::Iterate(const NodeTraverser &cb) const in Iterate()
48 void WhileStatement::Dump(ir::AstDumper *dumper) const in Dump()
50 dumper->Add({{"type", "WhileStatement"}, {"test", test_}, {"body", body_}}); in Dump()
53 void WhileStatement::Dump(ir::SrcDumper *dumper) const in Dump()
70 void WhileStatement::Compile([[maybe_unused]] compiler::PandaGen *pg) const in Compile()
75 void WhileStatement::Compile([[maybe_unused]] compiler::ETSGen *etsg) const in Compile()
80 checker::Type *WhileStatement::Check([[maybe_unused]] checker::TSChecker *checker) in Check()
85 checker::Type *WhileStatement::Check([[maybe_unused]] checker::ETSChecker *checker) in Check()
H A DwhileStatement.h28 class WhileStatement : public LoopStatement { class
30 explicit WhileStatement(Expression *test, Statement *body) in WhileStatement() function in ark::es2panda::ark::es2panda::ir::WhileStatement
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DwhileStatement.cpp30 void WhileStatement::Iterate(const NodeTraverser &cb) const in Iterate()
36 void WhileStatement::Dump(ir::AstDumper *dumper) const in Dump()
38 dumper->Add({{"type", "WhileStatement"}, {"test", test_}, {"body", body_}}); in Dump()
41 void WhileStatement::Compile(compiler::PandaGen *pg) const in Compile()
57 checker::Type *WhileStatement::Check(checker::Checker *checker) const in Check()
69 void WhileStatement::UpdateSelf(const NodeUpdater &cb, binder::Binder *binder) in UpdateSelf()
H A DwhileStatement.h38 class WhileStatement : public LoopStatement { class
40 explicit WhileStatement(binder::LoopScope *scope, Expression *test, Statement *body) in WhileStatement() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::WhileStatement
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DwhileStatementBuilder.h25 class WhileStatementBuilder : public AstBuilder<ir::WhileStatement> {
41 WhileStatement *Build() in Build()
/arkcompiler/ets_frontend/ets2panda/test/unit/
H A Dnode_creator.h82 ir::WhileStatement *CreateWhile() in CreateWhile()
84 return alloc_->New<ir::WhileStatement>(CreateLessCmpExpr(), CreateBlockWithDeclare()); in CreateWhile()
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
H A DcheckInfiniteLoop.h31 [[nodiscard]] CheckResult HandleWhileStatement(CheckContext &ctx, const ir::WhileStatement *const stmt) const;
H A DcheckInfiniteLoop.cpp69 const ir::WhileStatement *const stmt) const in HandleWhileStatement()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DforwardDeclForParserImpl.h67 class WhileStatement;
H A DparserImpl.h274 ir::WhileStatement *ParseWhileStatement();
H A DstatementParser.cpp1438 ir::WhileStatement *ParserImpl::ParseWhileStatement() in ParseWhileStatement()
1458 auto *whileStatement = AllocNode<ir::WhileStatement>(test, body); in ParseWhileStatement()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DaliveAnalyzer.h70 void AnalyzeWhileLoop(const ir::WhileStatement *whileStmt);
H A DassignAnalyzer.h114 void AnalyzeWhileLoop(const ir::WhileStatement *whileStmt);
H A DaliveAnalyzer.cpp286 void AliveAnalyzer::AnalyzeWhileLoop(const ir::WhileStatement *whileStmt) in AnalyzeWhileLoop()
H A DassignAnalyzer.cpp658 void AssignAnalyzer::AnalyzeWhileLoop(const ir::WhileStatement *whileStmt) in AnalyzeWhileLoop()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h152 _(WHILE_STATEMENT, WhileStatement) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h171 _(WHILE_STATEMENT, WhileStatement) \
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.h104 void VisitWhileStatement(ir::WhileStatement *whileStmt) override;
H A DscopesInitPhase.cpp243 void ScopesInitPhase::VisitWhileStatement(ir::WhileStatement *whileStmt) in VisitWhileStatement()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSchecker.h75 class WhileStatement;
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h90 class WhileStatement;
597 ir::WhileStatement *ParseWhileStatement();
H A DstatementParser.cpp2198 ir::WhileStatement *ParserImpl::ParseWhileStatement() in ParseWhileStatement()
2218 auto *whileStatement = AllocNode<ir::WhileStatement>(iterCtx.LexicalScope().GetScope(), test, body); in ParseWhileStatement()
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h76 class WhileStatement;
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSCompiler.cpp1703 void CompileImpl(const ir::WhileStatement *whileStmt, [[maybe_unused]] CodeGen *cg) in CompileImpl()
1720 void JSCompiler::Compile(const ir::WhileStatement *st) const in Compile()
H A DETSCompiler.cpp1706 void CompileImpl(const ir::WhileStatement *whileStmt, [[maybe_unused]] CodeGen *cg) in CompileImpl()
1723 void ETSCompiler::Compile(const ir::WhileStatement *st) const in Compile()

Completed in 28 milliseconds

12