Home
last modified time | relevance | path

Searched refs:clause (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparserStatements.cpp285 ir::CatchClause *clause {}; in ParseTryStatement()
287 clause = ParseCatchClause(); in ParseTryStatement()
289 catchClauses.push_back(clause); in ParseTryStatement()
300 ThrowSyntaxError("A try statement should contain either finally clause or at least one catch clause.", in ParseTryStatement()
/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DtryStatement.cpp82 for (auto clause : catchClauses_) { in Dump()
84 clause->Dump(dumper); in Dump()
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DswitchStatement.cpp59 const auto *clause = cases_[i]; in Compile() local
61 if (!clause->Test()) { in Compile()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.cpp1607 const auto *clause = self->Cases()[i]; in CompileImpl() local
1609 if (clause->Test() == nullptr) { in CompileImpl()
1649 for (ir::CatchClause *clause : st->CatchClauses()) { in Compile()
1650 tryCtx.AddNewCathTable(clause->TsType()->AsETSObjectType()->AssemblerName(), tryLabelPair); in Compile()
H A DJSCompiler.cpp1526 const auto *clause = self->Cases()[i]; in CompileImpl() local
1528 if (clause->Test() == nullptr) { in CompileImpl()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dhelpers.cpp1947 "catch clause", in CheckThrowingStatements()
1974 "catch clause", in CheckThrowingStatements()
1989 const auto predicateFunc = [&enclosingCatchClause](ir::CatchClause *clause) { in CheckThrowingPlacement()
1990 return clause == enclosingCatchClause; in CheckThrowingPlacement()

Completed in 12 milliseconds