Home
last modified time | relevance | path

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

12

/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DswitchStatement.cpp25 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 DswitchStatement.h31 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 DswitchBuilder.h23 class SwitchStatement;
32 SwitchBuilder(PandaGen *pg, const ir::SwitchStatement *stmt);
48 const ir::SwitchStatement *stmt_;
H A DswitchBuilder.cpp28 SwitchBuilder::SwitchBuilder(PandaGen *pg, const ir::SwitchStatement *stmt) in SwitchBuilder()
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DswitchStatement.cpp30 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 DswitchStatement.h39 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 DswitchStatementBuilder.h25 class SwitchStatementBuilder : public AstBuilder<ir::SwitchStatement> {
50 SwitchStatement *Build() in Build()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DswitchBuilder.h27 class SwitchStatement;
37 SwitchBuilder(CodeGen *cg, const ir::SwitchStatement *stmt) in SwitchBuilder()
101 const ir::SwitchStatement *stmt_;
H A DJSCompiler.cpp1516 static void CompileImpl(const ir::SwitchStatement *self, PandaGen *cg) in CompileImpl()
1548 void JSCompiler::Compile(const ir::SwitchStatement *st) const in Compile()
H A DETSCompiler.cpp1597 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 DforwardDeclForParserImpl.h62 class SwitchStatement;
H A DparserImpl.h275 ir::SwitchStatement *ParseSwitchStatement();
H A DstatementParser.cpp1123 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 DaliveAnalyzer.h78 void AnalyzeSwitch(const ir::SwitchStatement *switchStmt);
H A DassignAnalyzer.h119 void AnalyzeSwitch(const ir::SwitchStatement *switchStmt);
H A DaliveAnalyzer.cpp388 void AliveAnalyzer::AnalyzeSwitch(const ir::SwitchStatement *switchStmt) in AnalyzeSwitch()
H A DassignAnalyzer.cpp827 void AssignAnalyzer::AnalyzeSwitch(const ir::SwitchStatement *switchStmt) in AnalyzeSwitch()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h78 _(SWITCH_STATEMENT, SwitchStatement) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h105 _(SWITCH_STATEMENT, SwitchStatement) \
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.h103 void VisitSwitchStatement(ir::SwitchStatement *switchStmt) override;
H A DscopesInitPhase.cpp234 void ScopesInitPhase::VisitSwitchStatement(ir::SwitchStatement *switchStmt) in VisitSwitchStatement()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSchecker.h80 class SwitchStatement;
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h76 class SwitchStatement;
585 ir::SwitchStatement *ParseSwitchStatement();
H A DstatementParser.cpp1781 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 Dchecker.h81 class SwitchStatement;

Completed in 28 milliseconds

12