Home
last modified time | relevance | path

Searched refs:CatchClause (Results 1 - 25 of 30) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/ir/base/
H A DcatchClause.cpp27 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 DcatchClause.h26 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 DtryStatement.h35 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 DtryStatement.h39 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 DcatchClause.cpp33 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 DcatchClause.h39 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 DcatchClauseBuilder.h25 class CatchClauseBuilder : public AstBuilder<ir::CatchClause> {
41 CatchClause *Build() in Build()
H A DtryStatementBuilder.h44 TryStatementBuilder &AddCatchClause(CatchClause *catchClause) in AddCatchClause()
64 ArenaVector<CatchClause *> catchClauses_;
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparserStatements.cpp282 ArenaVector<ir::CatchClause *> catchClauses(Allocator()->Adapter()); in ParseTryStatement()
285 ir::CatchClause *clause {}; in ParseTryStatement()
H A DforwardDeclForParserImpl.h76 class CatchClause;
H A DstatementParser.cpp1219 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 DparserImpl.h157 ir::CatchClause *ParseCatchClause();
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
H A Dast_verifier_variable_has_enclosing_scope_test.cpp29 TEST_F(ASTVerifierTest, CatchClause) in TEST_F()
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Dvarbinder.h32 class CatchClause;
242 void BuildCatchClause(ir::CatchClause *catchClauseStmt);
H A Dvarbinder.cpp461 void VarBinder::BuildCatchClause(ir::CatchClause *catchClauseStmt) in BuildCatchClause()
/arkcompiler/ets_frontend/es2panda/binder/
H A Dbinder.h28 class CatchClause;
217 void BuildCatchClause(ir::CatchClause *catchClauseStmt);
H A Dbinder.cpp681 void Binder::BuildCatchClause(ir::CatchClause *catchClauseStmt) in BuildCatchClause()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h31 _(CATCH_CLAUSE, CatchClause) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h30 _(CATCH_CLAUSE, CatchClause) \
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.h101 void VisitCatchClause(ir::CatchClause *catchClause) override;
H A DscopesInitPhase.cpp190 void ScopesInitPhase::VisitCatchClause(ir::CatchClause *catchClause) in VisitCatchClause()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h114 class CatchClause;
588 ir::CatchClause *ParseCatchClause();
H A DstatementParser.cpp1905 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 DETSCompiler.cpp35 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 DtypeCheckingHelpers.cpp1060 ir::CatchClause *catchClause, checker::Type *clauseType)

Completed in 33 milliseconds

12