/arkcompiler/ets_frontend/ets2panda/ir/statements/ |
H A D | switchStatement.cpp | 25 void SwitchStatement::TransformChildren(const NodeTransformer &cb, std::string_view transformationName) in TransformChildren() 40 void SwitchStatement::Iterate(const NodeTraverser &cb) const in Iterate() 49 void SwitchStatement::Dump(ir::AstDumper *dumper) const in Dump() 51 dumper->Add({{"type", "SwitchStatement"}, {"discriminant", discriminant_}, {"cases", cases_}}); in Dump() 54 void SwitchStatement::Dump(ir::SrcDumper *dumper) const in Dump() 74 void SwitchStatement::Compile(compiler::PandaGen *pg) const in Compile() 79 void SwitchStatement::Compile(compiler::ETSGen *etsg) const in Compile() 84 checker::Type *SwitchStatement::Check(checker::TSChecker *checker) in Check() 89 checker::Type *SwitchStatement::Check(checker::ETSChecker *const checker) in Check()
|
H A D | switchStatement.h | 31 class SwitchStatement : public Statement { class 33 SwitchStatement() = delete; 34 ~SwitchStatement() override = default; 36 NO_COPY_SEMANTIC(SwitchStatement); 37 NO_MOVE_SEMANTIC(SwitchStatement); 39 explicit SwitchStatement(Expression *discriminant, ArenaVector<SwitchCaseStatement *> &&cases) in SwitchStatement() function in ark::es2panda::ark::es2panda::ir::SwitchStatement
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
H A D | switchBuilder.h | 23 class SwitchStatement; 32 SwitchBuilder(PandaGen *pg, const ir::SwitchStatement *stmt); 48 const ir::SwitchStatement *stmt_;
|
H A D | switchBuilder.cpp | 28 SwitchBuilder::SwitchBuilder(PandaGen *pg, const ir::SwitchStatement *stmt) in SwitchBuilder()
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
H A D | switchStatement.cpp | 30 void SwitchStatement::Iterate(const NodeTraverser &cb) const in Iterate() 39 void SwitchStatement::Dump(ir::AstDumper *dumper) const in Dump() 41 dumper->Add({{"type", "SwitchStatement"}, {"discriminant", discriminant_}, {"cases", cases_}}); in Dump() 44 void SwitchStatement::Compile(compiler::PandaGen *pg) const in Compile() 81 checker::Type *SwitchStatement::Check(checker::Checker *checker) const in Check() 114 void SwitchStatement::UpdateSelf(const NodeUpdater &cb, binder::Binder *binder) in UpdateSelf()
|
H A D | switchStatement.h | 39 class SwitchStatement : public Statement { class 41 explicit SwitchStatement(binder::LocalScope *scope, Expression *discriminant, in SwitchStatement() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::SwitchStatement
|
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
H A D | switchStatementBuilder.h | 25 class SwitchStatementBuilder : public AstBuilder<ir::SwitchStatement> { 50 SwitchStatement *Build() in Build()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | switchBuilder.h | 27 class SwitchStatement; 37 SwitchBuilder(CodeGen *cg, const ir::SwitchStatement *stmt) in SwitchBuilder() 101 const ir::SwitchStatement *stmt_;
|
H A D | JSCompiler.cpp | 1516 static void CompileImpl(const ir::SwitchStatement *self, PandaGen *cg) in CompileImpl() 1548 void JSCompiler::Compile(const ir::SwitchStatement *st) const in Compile()
|
H A D | ETSCompiler.cpp | 1597 static void CompileImpl(const ir::SwitchStatement *self, ETSGen *etsg) in CompileImpl() 1629 void ETSCompiler::Compile(const ir::SwitchStatement *st) const in Compile()
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | forwardDeclForParserImpl.h | 62 class SwitchStatement;
|
H A D | parserImpl.h | 275 ir::SwitchStatement *ParseSwitchStatement();
|
H A D | statementParser.cpp | 1123 ir::SwitchStatement *ParserImpl::ParseSwitchStatement() in ParseSwitchStatement() 1153 auto *switchStatement = AllocNode<ir::SwitchStatement>(discriminant, std::move(cases)); in ParseSwitchStatement()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | aliveAnalyzer.h | 78 void AnalyzeSwitch(const ir::SwitchStatement *switchStmt);
|
H A D | assignAnalyzer.h | 119 void AnalyzeSwitch(const ir::SwitchStatement *switchStmt);
|
H A D | aliveAnalyzer.cpp | 388 void AliveAnalyzer::AnalyzeSwitch(const ir::SwitchStatement *switchStmt) in AnalyzeSwitch()
|
H A D | assignAnalyzer.cpp | 827 void AssignAnalyzer::AnalyzeSwitch(const ir::SwitchStatement *switchStmt) in AnalyzeSwitch()
|
/arkcompiler/ets_frontend/es2panda/ir/ |
H A D | astNodeMapping.h | 78 _(SWITCH_STATEMENT, SwitchStatement) \
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | astNodeMapping.h | 105 _(SWITCH_STATEMENT, SwitchStatement) \
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
H A D | scopesInitPhase.h | 103 void VisitSwitchStatement(ir::SwitchStatement *switchStmt) override;
|
H A D | scopesInitPhase.cpp | 234 void ScopesInitPhase::VisitSwitchStatement(ir::SwitchStatement *switchStmt) in VisitSwitchStatement()
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | TSchecker.h | 80 class SwitchStatement;
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | parserImpl.h | 76 class SwitchStatement; 585 ir::SwitchStatement *ParseSwitchStatement();
|
H A D | statementParser.cpp | 1781 ir::SwitchStatement *ParserImpl::ParseSwitchStatement() in ParseSwitchStatement() 1812 auto *switchStatement = AllocNode<ir::SwitchStatement>(localCtx.GetScope(), discriminant, std::move(cases)); in ParseSwitchStatement()
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
H A D | checker.h | 81 class SwitchStatement;
|