Home
last modified time | relevance | path

Searched refs:DoWhileStatement (Results 1 - 25 of 26) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DdoWhileStatement.cpp29 void DoWhileStatement::TransformChildren(const NodeTransformer &cb, std::string_view const transformationName) in TransformChildren()
42 void DoWhileStatement::Iterate(const NodeTraverser &cb) const in Iterate()
48 void DoWhileStatement::Dump(ir::AstDumper *dumper) const in Dump()
50 dumper->Add({{"type", "DoWhileStatement"}, {"body", body_}, {"test", test_}}); in Dump()
53 void DoWhileStatement::Dump(ir::SrcDumper *dumper) const in Dump()
71 void DoWhileStatement::Compile(compiler::PandaGen *pg) const in Compile()
76 void DoWhileStatement::Compile(compiler::ETSGen *etsg) const in Compile()
81 checker::Type *DoWhileStatement::Check(checker::TSChecker *checker) in Check()
86 checker::Type *DoWhileStatement::Check(checker::ETSChecker *checker) in Check()
H A DdoWhileStatement.h28 class DoWhileStatement : public LoopStatement { class
30 explicit DoWhileStatement(Statement *body, Expression *test) in DoWhileStatement() function in ark::es2panda::ark::es2panda::ir::DoWhileStatement
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DdoWhileStatement.cpp29 void DoWhileStatement::Iterate(const NodeTraverser &cb) const in Iterate()
35 void DoWhileStatement::Dump(ir::AstDumper *dumper) const in Dump()
37 dumper->Add({{"type", "DoWhileStatement"}, {"body", body_}, {"test", test_}}); in Dump()
40 void DoWhileStatement::Compile(compiler::PandaGen *pg) const in Compile()
59 checker::Type *DoWhileStatement::Check(checker::Checker *checker) const in Check()
70 void DoWhileStatement::UpdateSelf(const NodeUpdater &cb, binder::Binder *binder) in UpdateSelf()
H A DdoWhileStatement.h38 class DoWhileStatement : public LoopStatement { class
40 explicit DoWhileStatement(binder::LoopScope *scope, Statement *body, Expression *test) in DoWhileStatement() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::DoWhileStatement
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DdoWhileStatementBuilder.h25 class DoWhileStatementBuilder : public AstBuilder<ir::DoWhileStatement> {
41 DoWhileStatement *Build() in Build()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DaliveAnalyzer.h29 class DoWhileStatement;
69 void AnalyzeDoLoop(const ir::DoWhileStatement *doWhile);
H A DassignAnalyzer.h113 void AnalyzeDoLoop(const ir::DoWhileStatement *doWhileStmt);
H A DaliveAnalyzer.cpp274 void AliveAnalyzer::AnalyzeDoLoop(const ir::DoWhileStatement *doWhile) in AnalyzeDoLoop()
H A DassignAnalyzer.cpp620 void AssignAnalyzer::AnalyzeDoLoop(const ir::DoWhileStatement *doWhileStmt) in AnalyzeDoLoop()
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
H A DcheckInfiniteLoop.h32 [[nodiscard]] CheckResult HandleDoWhileStatement(CheckContext &ctx, const ir::DoWhileStatement *const stmt) const;
H A DcheckInfiniteLoop.cpp87 const ir::DoWhileStatement *const stmt) const in HandleDoWhileStatement()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DforwardDeclForParserImpl.h40 class DoWhileStatement;
H A DparserImpl.h273 ir::DoWhileStatement *ParseDoWhileStatement();
H A DstatementParser.cpp541 ir::DoWhileStatement *ParserImpl::ParseDoWhileStatement() in ParseDoWhileStatement()
550 ThrowSyntaxError("Missing 'while' keyword in a 'DoWhileStatement'"); in ParseDoWhileStatement()
555 ThrowSyntaxError("Missing left parenthesis in a 'DoWhileStatement'"); in ParseDoWhileStatement()
563 ThrowSyntaxError("Missing right parenthesis in a 'DoWhileStatement'"); in ParseDoWhileStatement()
566 auto *doWhileStatement = AllocNode<ir::DoWhileStatement>(body, test); in ParseDoWhileStatement()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h42 _(DO_WHILE_STATEMENT, DoWhileStatement) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h43 _(DO_WHILE_STATEMENT, DoWhileStatement) \
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.h107 void VisitDoWhileStatement(ir::DoWhileStatement *doWhileStmt) override;
H A DscopesInitPhase.cpp264 void ScopesInitPhase::VisitDoWhileStatement(ir::DoWhileStatement *doWhileStmt) in VisitDoWhileStatement()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSchecker.h74 class DoWhileStatement;
H A DTSAnalyzer.cpp1134 checker::Type *TSAnalyzer::Check(ir::DoWhileStatement *st) const in Check()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h55 class DoWhileStatement;
542 ir::DoWhileStatement *ParseDoWhileStatement();
H A DstatementParser.cpp1130 ir::DoWhileStatement *ParserImpl::ParseDoWhileStatement() in ParseDoWhileStatement()
1140 ThrowSyntaxError("Missing 'while' keyword in a 'DoWhileStatement'"); in ParseDoWhileStatement()
1145 ThrowSyntaxError("Missing left parenthesis in a 'DoWhileStatement'"); in ParseDoWhileStatement()
1158 ThrowSyntaxError("Missing right parenthesis in a 'DoWhileStatement'"); in ParseDoWhileStatement()
1161 auto *doWhileStatement = AllocNode<ir::DoWhileStatement>(iterCtx.LexicalScope().GetScope(), body, test); in ParseDoWhileStatement()
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h75 class DoWhileStatement;
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSCompiler.cpp1312 static void CompileImpl(const ir::DoWhileStatement *self, PandaGen *cg) in CompileImpl()
1332 void JSCompiler::Compile(const ir::DoWhileStatement *st) const in Compile()
H A DETSCompiler.cpp1381 void CompileImpl(const ir::DoWhileStatement *self, ETSGen *etsg) in CompileImpl()
1401 void ETSCompiler::Compile(const ir::DoWhileStatement *st) const in Compile()

Completed in 28 milliseconds

12