Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DthrowStatement.cpp26 void ThrowStatement::TransformChildren(const NodeTransformer &cb, std::string_view transformationName) in TransformChildren()
34 void ThrowStatement::Iterate(const NodeTraverser &cb) const in Iterate()
39 void ThrowStatement::Dump(ir::AstDumper *dumper) const in Dump()
41 dumper->Add({{"type", "ThrowStatement"}, {"argument", argument_}}); in Dump()
44 void ThrowStatement::Dump(ir::SrcDumper *dumper) const in Dump()
52 void ThrowStatement::Compile(compiler::PandaGen *pg) const in Compile()
57 void ThrowStatement::Compile([[maybe_unused]] compiler::ETSGen *etsg) const in Compile()
62 checker::Type *ThrowStatement::Check([[maybe_unused]] checker::TSChecker *checker) in Check()
67 checker::Type *ThrowStatement::Check([[maybe_unused]] checker::ETSChecker *checker) in Check()
H A DthrowStatement.h28 class ThrowStatement : public Statement { class
30 explicit ThrowStatement(Expression *argument) : Statement(AstNodeType::THROW_STATEMENT), argument_(argument) {} in ThrowStatement() function in ark::es2panda::ark::es2panda::ir::ThrowStatement
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DthrowStatement.cpp24 void ThrowStatement::Iterate(const NodeTraverser &cb) const in Iterate()
29 void ThrowStatement::Dump(ir::AstDumper *dumper) const in Dump()
31 dumper->Add({{"type", "ThrowStatement"}, {"argument", argument_}}); in Dump()
34 void ThrowStatement::Compile(compiler::PandaGen *pg) const in Compile()
40 checker::Type *ThrowStatement::Check([[maybe_unused]] checker::Checker *checker) const in Check()
45 void ThrowStatement::UpdateSelf(const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) in UpdateSelf()
H A DthrowStatement.h34 class ThrowStatement : public Statement { class
36 explicit ThrowStatement(Expression *argument) : Statement(AstNodeType::THROW_STATEMENT), argument_(argument) {} in ThrowStatement() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::ThrowStatement
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DthrowStatementBuilder.h25 class ThrowStatementBuilder : public AstBuilder<ir::ThrowStatement> {
35 ThrowStatement *Build() in Build()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DforwardDeclForParserImpl.h64 class ThrowStatement;
H A DparserImpl.h451 virtual ir::ThrowStatement *ParseThrowStatement();
H A DstatementParser.cpp1166 ir::ThrowStatement *ParserImpl::ParseThrowStatement() in ParseThrowStatement()
1178 auto *throwStatement = AllocNode<ir::ThrowStatement>(expression); in ParseThrowStatement()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DaliveAnalyzer.h77 void AnalyzeThrow(const ir::ThrowStatement *throwStmt);
H A DassignAnalyzer.h124 void AnalyzeThrow(const ir::ThrowStatement *throwStmt);
H A DaliveAnalyzer.cpp382 void AliveAnalyzer::AnalyzeThrow(const ir::ThrowStatement *throwStmt) in AnalyzeThrow()
H A DassignAnalyzer.cpp963 void AssignAnalyzer::AnalyzeThrow(const ir::ThrowStatement *throwStmt) in AnalyzeThrow()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h146 _(THROW_STATEMENT, ThrowStatement) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h165 _(THROW_STATEMENT, ThrowStatement) \
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSchecker.h82 class ThrowStatement;
H A DTSAnalyzerUnreachable.cpp283 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::ThrowStatement *st) const in Check()
H A DETSAnalyzer.cpp2399 checker::Type *ETSAnalyzer::Check(ir::ThrowStatement *st) const in Check()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h87 class ThrowStatement;
586 ir::ThrowStatement *ParseThrowStatement();
H A DstatementParser.cpp1821 ir::ThrowStatement *ParserImpl::ParseThrowStatement() in ParseThrowStatement()
1839 auto *throwStatement = AllocNode<ir::ThrowStatement>(expression); in ParseThrowStatement()
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h83 class ThrowStatement;
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DenumLowering.cpp565 ir::ThrowStatement *CreateThrowStatement(EnumLoweringPhase *const elp, ir::ETSParameterExpression *const parameter,
582 return checker->AllocNode<ir::ThrowStatement>(newExpr);
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSCompiler.cpp1554 void JSCompiler::Compile(const ir::ThrowStatement *st) const in Compile()
H A DETSCompiler.cpp1635 void ETSCompiler::Compile(const ir::ThrowStatement *st) const in Compile()

Completed in 29 milliseconds