Searched refs:loopScope (Results 1 – 11 of 11) sorted by relevance
| /arkcompiler/ets_frontend/ts2panda/src/statement/ |
| D | loopStatement.ts | 39 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt); 40 let needCreateLoopEnv: boolean = loopScope.need2CreateLexEnv() ? true : false; 52 pandaGen.createLexEnv(stmt, loopScope); 79 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt); 80 let needCreateLoopEnv: boolean = loopScope.need2CreateLexEnv() ? true : false; 90 pandaGen.createLexEnv(stmt, loopScope); 117 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt); 118 let needCreateLoopEnv: boolean = loopScope.need2CreateLexEnv(); 123 loopScope.getName2variable().forEach(v => { 139 pandaGen.createLexEnv(stmt, loopScope); [all …]
|
| D | forOfStatement.ts | 66 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt); 67 let needCreateLoopEnv: boolean = loopScope.need2CreateLexEnv(); 74 pandaGen.createLexEnv(stmt, loopScope);
|
| D | tryStatement.ts | 283 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt); 290 pandaGen.createLexEnv(stmt, loopScope);
|
| /arkcompiler/ets_frontend/es2panda/ir/statements/ |
| D | forUpdateStatement.cpp | 111 auto *loopScope = Scope(); in UpdateSelf() local 112 auto loopCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, loopScope); in UpdateSelf()
|
| D | forInStatement.cpp | 109 auto *loopScope = Scope(); in UpdateSelf() local 110 auto loopCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, loopScope); in UpdateSelf()
|
| D | forOfStatement.cpp | 109 auto *loopScope = Scope(); in UpdateSelf() local 110 auto loopCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, loopScope); in UpdateSelf()
|
| /arkcompiler/ets_frontend/es2panda/binder/ |
| D | binder.cpp | 582 auto *loopScope = forUpdateStmt->Scope(); in BuildForUpdateLoop() local 584 auto loopCtx = LexicalScope<LoopScope>::Enter(this, loopScope); in BuildForUpdateLoop() 603 void Binder::BuildForInOfLoop(const ir::Statement *parent, binder::LoopScope *loopScope, ir::AstNod… in BuildForInOfLoop() argument 606 auto loopCtx = LexicalScope<LoopScope>::Enter(this, loopScope); in BuildForInOfLoop()
|
| D | binder.h | 207 …void BuildForInOfLoop(const ir::Statement *parent, binder::LoopScope *loopScope, ir::AstNode *left,
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | recorder.ts | 167 let loopScope: LoopScope = new LoopScope(scope);; 168 this.setScopeMap(childNode, loopScope); 169 this.recordInfo(childNode, loopScope);
|
| D | compiler.ts | 697 let loopScope = <LoopScope>this.getRecorder().getScopeOfNode(node); 698 let needCreateLoopEnv = loopScope.need2CreateLexEnv();
|
| /arkcompiler/ets_frontend/es2panda/parser/ |
| D | statementParser.cpp | 1541 auto *loopScope = iterCtx.LexicalScope().GetScope(); in ParseForStatement() local 1544 …forStatement = AllocNode<ir::ForUpdateStatement>(loopScope, initNode, rightNode, updateNode, bodyN… in ParseForStatement() 1546 forStatement = AllocNode<ir::ForInStatement>(loopScope, initNode, rightNode, bodyNode); in ParseForStatement() 1548 … forStatement = AllocNode<ir::ForOfStatement>(loopScope, initNode, rightNode, bodyNode, isAwait); in ParseForStatement() 1552 loopScope->BindNode(forStatement); in ParseForStatement()
|