Home
last modified time | relevance | path

Searched refs:IfStatement (Results 1 - 23 of 23) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DifStatement.cpp25 void IfStatement::TransformChildren(const NodeTransformer &cb, std::string_view transformationName) in TransformChildren()
45 void IfStatement::Iterate(const NodeTraverser &cb) const in Iterate()
55 void IfStatement::Dump(ir::AstDumper *dumper) const in Dump()
57 dumper->Add({{"type", "IfStatement"}, in Dump()
63 void IfStatement::Dump(ir::SrcDumper *dumper) const in Dump()
93 void IfStatement::Compile(compiler::PandaGen *pg) const in Compile()
98 void IfStatement::Compile(compiler::ETSGen *etsg) const in Compile()
103 checker::Type *IfStatement::Check([[maybe_unused]] checker::TSChecker *checker) in Check()
108 checker::Type *IfStatement::Check([[maybe_unused]] checker::ETSChecker *checker) in Check()
113 IfStatement *IfStatemen
[all...]
H A DifStatement.h29 class IfStatement final : public Statement {
31 IfStatement() = delete;
32 ~IfStatement() override = default;
34 NO_COPY_SEMANTIC(IfStatement);
35 NO_MOVE_SEMANTIC(IfStatement);
37 explicit IfStatement(Expression *test, Statement *consequent, Statement *alternate) in IfStatement() function in ark::es2panda::ark::es2panda::ir::final
87 [[nodiscard]] IfStatement *Clone(ArenaAllocator *allocator, AstNode *parent) override;
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DifStatement.cpp27 void IfStatement::Iterate(const NodeTraverser &cb) const in Iterate()
37 void IfStatement::Dump(ir::AstDumper *dumper) const in Dump()
39 dumper->Add({{"type", "IfStatement"}, in Dump()
45 void IfStatement::Compile(compiler::PandaGen *pg) const in Compile()
64 checker::Type *IfStatement::Check(checker::Checker *checker) const in Check()
79 void IfStatement::UpdateSelf(const NodeUpdater &cb, binder::Binder *binder) in UpdateSelf()
89 Statement *IfStatement::UpdateIfStatementChildStatement(const NodeUpdater &cb, in UpdateIfStatementChildStatement()
H A DifStatement.h34 class IfStatement : public Statement { class
36 explicit IfStatement(Expression *test, Statement *consequent, Statement *alternate) in IfStatement() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::IfStatement
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DifStatementBuilder.h25 class IfStatementBuilder : public AstBuilder<ir::IfStatement> {
47 IfStatement *Build() in Build()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DforwardDeclForParserImpl.h49 class IfStatement;
H A DparserImpl.h259 ir::IfStatement *ParseIfStatement();
H A DstatementParser.cpp975 ir::IfStatement *ParserImpl::ParseIfStatement() in ParseIfStatement()
982 ThrowSyntaxError("Missing left parenthesis in an 'IfStatement'"); in ParseIfStatement()
989 ThrowSyntaxError("Missing right parenthesis in an 'IfStatement'"); in ParseIfStatement()
1006 auto *ifStatement = AllocNode<ir::IfStatement>(test, consequent, alternate); in ParseIfStatement()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DaliveAnalyzer.h73 void AnalyzeIf(const ir::IfStatement *ifStmt);
H A DassignAnalyzer.h117 void AnalyzeIf(const ir::IfStatement *ifStmt);
H A DaliveAnalyzer.cpp339 void AliveAnalyzer::AnalyzeIf(const ir::IfStatement *ifStmt) in AnalyzeIf()
H A DassignAnalyzer.cpp791 void AssignAnalyzer::AnalyzeIf(const ir::IfStatement *ifStmt) in AnalyzeIf()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h55 _(IF_STATEMENT, IfStatement) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h57 _(IF_STATEMENT, IfStatement) \
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSchecker.h73 class IfStatement;
H A DTSAnalyzer.cpp1202 checker::Type *TSAnalyzer::Check(ir::IfStatement *st) const in Check()
H A DETSAnalyzer.cpp2188 checker::Type *ETSAnalyzer::Check(ir::IfStatement *st) const in Check()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h64 class IfStatement;
563 ir::IfStatement *ParseIfStatement();
H A DstatementParser.cpp1625 ir::IfStatement *ParserImpl::ParseIfStatement() in ParseIfStatement()
1632 ThrowSyntaxError("Missing left parenthesis in an 'IfStatement'"); in ParseIfStatement()
1639 ThrowSyntaxError("Missing right parenthesis in an 'IfStatement'"); in ParseIfStatement()
1658 auto *ifStatement = AllocNode<ir::IfStatement>(test, consequent, alternate); in ParseIfStatement()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DenumLowering.cpp615 auto *const ifOrdinalExistsStmt = checker_->AllocNode<ir::IfStatement>(inArraySizeExpr, returnEnumStmt, nullptr);
782 ir::IfStatement *CreateIf(EnumLoweringPhase *const elp, const ir::TSEnumDeclaration *const enumDecl,
801 return checker->AllocNode<ir::IfStatement>(namesEqualExpr, returnStmt, nullptr);
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h74 class IfStatement;
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSCompiler.cpp1458 void JSCompiler::Compile(const ir::IfStatement *st) const in Compile()
H A DETSCompiler.cpp1500 void ETSCompiler::Compile(const ir::IfStatement *st) const in Compile()

Completed in 32 milliseconds