/arkcompiler/ets_frontend/ets2panda/ir/base/ |
H A D | catchClause.cpp | 27 void CatchClause::TransformChildren(const NodeTransformer &cb, std::string_view transformationName) in TransformChildren() 42 void CatchClause::Iterate(const NodeTraverser &cb) const in Iterate() 51 void CatchClause::Dump(ir::AstDumper *dumper) const in Dump() 53 dumper->Add({{"type", "CatchClause"}, {"body", body_}, {"param", AstDumper::Nullish(param_)}}); in Dump() 56 void CatchClause::Dump(ir::SrcDumper *dumper) const in Dump() 76 bool CatchClause::IsDefaultCatchClause() const in IsDefaultCatchClause() 81 void CatchClause::Compile(compiler::PandaGen *pg) const in Compile() 86 void CatchClause::Compile(compiler::ETSGen *etsg) const in Compile() 91 checker::Type *CatchClause::Check(checker::TSChecker *checker) in Check() 96 checker::Type *CatchClause [all...] |
H A D | catchClause.h | 26 class CatchClause : public TypedStatement { class 28 explicit CatchClause(Expression *param, BlockStatement *body) in CatchClause() function in ark::es2panda::ir::CatchClause
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
H A D | tryStatement.h | 35 class CatchClause; 39 explicit TryStatement(BlockStatement *block, CatchClause *catchClause, BlockStatement *finalizer) in TryStatement() 54 CatchClause *GetCatchClause() const in GetCatchClause() 73 CatchClause *catchClause_;
|
/arkcompiler/ets_frontend/ets2panda/ir/statements/ |
H A D | tryStatement.h | 39 class CatchClause; 43 explicit TryStatement(BlockStatement *block, ArenaVector<CatchClause *> &&catchClauses, BlockStatement *finalizer, in TryStatement() 54 explicit TryStatement(BlockStatement *block, ArenaVector<CatchClause *> &&catchClauses, BlockStatement *finalizer, in TryStatement() 100 const ArenaVector<CatchClause *> &CatchClauses() const in CatchClauses() 132 ArenaVector<CatchClause *> catchClauses_;
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
H A D | catchClause.cpp | 33 void CatchClause::Iterate(const NodeTraverser &cb) const in Iterate() 42 void CatchClause::Dump(ir::AstDumper *dumper) const in Dump() 44 dumper->Add({{"type", "CatchClause"}, {"body", body_}, {"param", AstDumper::Nullable(param_)}}); in Dump() 47 void CatchClause::Compile(compiler::PandaGen *pg) const in Compile() 60 checker::Type *CatchClause::Check(checker::Checker *checker) const in Check() 87 void CatchClause::UpdateSelf(const NodeUpdater &cb, binder::Binder *binder) in UpdateSelf()
|
H A D | catchClause.h | 39 class CatchClause : public Statement { class 41 explicit CatchClause(binder::CatchScope *scope, Expression *param, BlockStatement *body) in CatchClause() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::CatchClause
|
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
H A D | catchClauseBuilder.h | 25 class CatchClauseBuilder : public AstBuilder<ir::CatchClause> { 41 CatchClause *Build() in Build()
|
H A D | tryStatementBuilder.h | 44 TryStatementBuilder &AddCatchClause(CatchClause *catchClause) in AddCatchClause() 64 ArenaVector<CatchClause *> catchClauses_;
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | ETSparserStatements.cpp | 282 ArenaVector<ir::CatchClause *> catchClauses(Allocator()->Adapter()); in ParseTryStatement() 285 ir::CatchClause *clause {}; in ParseTryStatement()
|
H A D | forwardDeclForParserImpl.h | 76 class CatchClause;
|
H A D | statementParser.cpp | 1219 ir::CatchClause *ParserImpl::ParseCatchClause() in ParseCatchClause() 1233 auto *catchClause = AllocNode<ir::CatchClause>(param, catchBlock); in ParseCatchClause() 1257 ir::CatchClause *catchClause = nullptr; in ParseTryStatement() 1259 ArenaVector<ir::CatchClause *> catchClauses(Allocator()->Adapter()); in ParseTryStatement()
|
H A D | parserImpl.h | 157 ir::CatchClause *ParseCatchClause();
|
/arkcompiler/ets_frontend/ets2panda/test/unit/public/ |
H A D | ast_verifier_variable_has_enclosing_scope_test.cpp | 29 TEST_F(ASTVerifierTest, CatchClause) in TEST_F()
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | varbinder.h | 32 class CatchClause; 242 void BuildCatchClause(ir::CatchClause *catchClauseStmt);
|
H A D | varbinder.cpp | 461 void VarBinder::BuildCatchClause(ir::CatchClause *catchClauseStmt) in BuildCatchClause()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
H A D | binder.h | 28 class CatchClause; 217 void BuildCatchClause(ir::CatchClause *catchClauseStmt);
|
H A D | binder.cpp | 681 void Binder::BuildCatchClause(ir::CatchClause *catchClauseStmt) in BuildCatchClause()
|
/arkcompiler/ets_frontend/es2panda/ir/ |
H A D | astNodeMapping.h | 31 _(CATCH_CLAUSE, CatchClause) \
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | astNodeMapping.h | 30 _(CATCH_CLAUSE, CatchClause) \
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
H A D | scopesInitPhase.h | 101 void VisitCatchClause(ir::CatchClause *catchClause) override;
|
H A D | scopesInitPhase.cpp | 190 void ScopesInitPhase::VisitCatchClause(ir::CatchClause *catchClause) in VisitCatchClause()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | parserImpl.h | 114 class CatchClause; 588 ir::CatchClause *ParseCatchClause();
|
H A D | statementParser.cpp | 1905 ir::CatchClause *ParserImpl::ParseCatchClause() in ParseCatchClause() 1928 auto *catchClause = AllocNode<ir::CatchClause>(catchScope, param, catchBlock); in ParseCatchClause() 1953 ir::CatchClause *catchClause = nullptr; in ParseTryStatement()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSCompiler.cpp | 35 void ETSCompiler::Compile(const ir::CatchClause *st) const in Compile() 1649 for (ir::CatchClause *clause : st->CatchClauses()) { in Compile()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | typeCheckingHelpers.cpp | 1060 ir::CatchClause *catchClause, checker::Type *clauseType)
|