Searched refs:TryStatement (Results 1 – 14 of 14) sorted by relevance
/arkcompiler/ets_frontend/ts2panda/src/statement/ |
D | tryStatement.ts | 33 …port function transformTryCatchFinally(tryStmt: ts.TryStatement, recorder: Recorder): ts.TryStatem… 79 this.depth = TryStatement.getcurrentTryStatementDepth(); 107 export class TryStatement { class 108 private static currentTryStatement: TryStatement | undefined; 110 private outer: TryStatement | undefined; 117 TryStatement.currentTryStatementDepth++; 118 this.outer = TryStatement.currentTryStatement; 139 TryStatement.currentTryStatement = this; 143 TryStatement.currentTryStatementDepth--; 144 TryStatement.currentTryStatement = this.outer; [all …]
|
D | labelTarget.ts | 19 import { TryStatement } from "./tryStatement"; 32 private tryStatement: TryStatement | undefined; 40 this.tryStatement = TryStatement.getCurrentTryStatement(); 63 getTryStatement(): TryStatement { 99 if (TryStatement.getCurrentTryStatement()) { 100 TryStatement.getCurrentTryStatement().increaseLoopEnvLevel(); 111 if (TryStatement.getCurrentTryStatement()) { 112 TryStatement.getCurrentTryStatement().decreaseLoopEnvLevel();
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
D | tryStatement.cpp | 27 void TryStatement::Iterate(const NodeTraverser &cb) const in Iterate() 40 void TryStatement::Dump(ir::AstDumper *dumper) const in Dump() 48 void TryStatement::CompileFinally(compiler::PandaGen *pg, compiler::TryContext *tryCtx, in CompileFinally() 73 void TryStatement::CompileTryCatchFinally(compiler::PandaGen *pg) const in CompileTryCatchFinally() 100 void TryStatement::CompileTryFinally(compiler::PandaGen *pg) const in CompileTryFinally() 127 void TryStatement::CompileTryCatch(compiler::PandaGen *pg) const in CompileTryCatch() 145 void TryStatement::Compile(compiler::PandaGen *pg) const in Compile() 158 checker::Type *TryStatement::Check(checker::Checker *checker) const in Check() 173 void TryStatement::UpdateSelf(const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) in UpdateSelf()
|
D | tryStatement.h | 37 class TryStatement : public Statement { 39 … explicit TryStatement(BlockStatement *block, CatchClause *catchClause, BlockStatement *finalizer) in TryStatement() function
|
/arkcompiler/ets_frontend/es2panda/test/parser/js/ |
D | test-try-statement-expected.txt | 5 "type": "TryStatement", 87 "type": "TryStatement", 156 "type": "TryStatement", 198 "type": "TryStatement", 267 "type": "TryStatement",
|
D | test-labelled-statement-expected.txt | 430 "type": "TryStatement",
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | dynamicContext.h | 25 class TryStatement; variable 185 explicit TryContext(PandaGen *pg, const ir::TryStatement *tryStmt, bool hasFinalizer = true) 232 const ir::TryStatement *tryStmt_ {};
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | compiler.ts | 110 TryStatement 438 case ts.SyntaxKind.TryStatement: // line 290 439 this.compileTryStatement(<ts.TryStatement>stmt); 624 …let popTimes = TryStatement.getCurrentTryStatement() ? TryStatement.getCurrentTryStatement().getLo… 631 …compileFinallyBeforeCFC(endTry: TryStatement | undefined, cfc: ControlFlowChange, continueTargetLa… 632 let startTry = TryStatement.getCurrentTryStatement(); 642 let saveTry = TryStatement.getCurrentTryStatement(); 643 TryStatement.setCurrentTryStatement(startTry.getOuterTryStatement()); 649 TryStatement.setCurrentTryStatement(saveTry); 713 private compileTryStatement(stmt: ts.TryStatement): void {
|
D | recorder.ts | 155 case ts.SyntaxKind.TryStatement:
|
/arkcompiler/ets_frontend/es2panda/ir/ |
D | astNodeMapping.h | 140 _(TRY_STATEMENT, TryStatement) \
|
/arkcompiler/ets_frontend/es2panda/parser/ |
D | parserImpl.h | 88 class TryStatement; variable 528 ir::TryStatement *ParseTryStatement();
|
D | statementParser.cpp | 1866 ir::TryStatement *ParserImpl::ParseTryStatement() in ParseTryStatement() 1903 auto *tryStatement = AllocNode<ir::TryStatement>(body, catchClause, finnalyClause); in ParseTryStatement()
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
D | checker.h | 84 class TryStatement; variable
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …ment",l[l.ThrowStatement=249]="ThrowStatement",l[l.TryStatement=250]="TryStatement",l[l.DebuggerSt…
|