| /arkcompiler/ets_frontend/es2panda/ir/statements/ |
| D | loopStatement.h | 22 class LoopScope; variable 37 binder::LoopScope *Scope() const in Scope() 64 …explicit LoopStatement(AstNodeType type, binder::LoopScope *scope) : Statement(type), scope_(scope… in LoopStatement() 68 binder::LoopScope *scope_;
|
| D | doWhileStatement.h | 31 class LoopScope; variable 40 explicit DoWhileStatement(binder::LoopScope *scope, Statement *body, Expression *test) in DoWhileStatement()
|
| D | whileStatement.h | 31 class LoopScope; variable 40 explicit WhileStatement(binder::LoopScope *scope, Expression *test, Statement *body) in WhileStatement()
|
| D | forInStatement.h | 31 class LoopScope; variable 40 …explicit ForInStatement(binder::LoopScope *scope, AstNode *left, Expression *right, Statement *bod… in ForInStatement()
|
| D | forOfStatement.h | 31 class LoopScope; variable 40 …explicit ForOfStatement(binder::LoopScope *scope, AstNode *left, Expression *right, Statement *bod… in ForOfStatement()
|
| D | forUpdateStatement.h | 31 class LoopScope; variable 40 …explicit ForUpdateStatement(binder::LoopScope *scope, AstNode *init, Expression *test, Expression … in ForUpdateStatement()
|
| D | whileStatement.cpp | 73 auto loopScopeCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, scope_); in UpdateSelf()
|
| D | doWhileStatement.cpp | 72 auto loopScopeCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, scope_); in UpdateSelf()
|
| D | forUpdateStatement.cpp | 112 auto loopCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, loopScope); in UpdateSelf()
|
| D | forInStatement.cpp | 110 auto loopCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, loopScope); in UpdateSelf()
|
| D | forOfStatement.cpp | 110 auto loopCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, loopScope); in UpdateSelf()
|
| /arkcompiler/ets_frontend/ts2panda/src/statement/ |
| D | loopStatement.ts | 32 import { LoopScope, Scope } from "../scope"; 39 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt); 79 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt); 117 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt); 255 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt);
|
| D | forOfStatement.ts | 26 import { LoopScope } from "src/scope"; 66 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt);
|
| D | tryStatement.ts | 21 import { LocalScope, LoopScope } from "../scope"; 283 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt);
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | envScope.h | 71 explicit LoopEnvScope(PandaGen *pg, binder::LoopScope *scope, LabelTarget target) in LoopEnvScope() 77 explicit LoopEnvScope(PandaGen *pg, LabelTarget target, binder::LoopScope *scope) in LoopEnvScope()
|
| D | regScope.h | 65 explicit LoopRegScope(PandaGen *pg, binder::LoopScope *scope);
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | variable.ts | 19 LoopScope, 76 setLexVar(scope: VariableScope | LoopScope): number {
|
| D | scope.ts | 157 getNearestLexicalScope(): VariableScope | LoopScope | undefined { 161 if (curScope instanceof VariableScope || curScope instanceof LoopScope) { 162 return <VariableScope | LoopScope>curScope; 199 … if (curScope.isLexicalScope() && (<VariableScope | LoopScope>curScope).need2CreateLexEnv()) { 297 return ((scope instanceof VariableScope) || (scope instanceof LoopScope)); 545 export class LoopScope extends LocalScope { class
|
| D | recorder.ts | 41 LoopScope, 167 let loopScope: LoopScope = new LoopScope(scope);; 312 … let nearestDefLexicalScope = <VariableScope | LoopScope>declScope.getNearestLexicalScope(); 316 if (nearestDefLexicalScope instanceof LoopScope) {
|
| D | pandagen.ts | 185 LoopScope, 557 createLexEnv(node: ts.Node, scope: VariableScope | LoopScope): void {
|
| /arkcompiler/ets_frontend/es2panda/binder/ |
| D | variableFlags.h | 56 _(LOOP, LoopScope) \
|
| D | binder.cpp | 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() 606 auto loopCtx = LexicalScope<LoopScope>::Enter(this, loopScope); in BuildForInOfLoop() 738 auto loopScopeCtx = LexicalScope<LoopScope>::Enter(this, doWhileStatement->Scope()); in ResolveReference() 750 auto loopScopeCtx = LexicalScope<LoopScope>::Enter(this, whileStatement->Scope()); in ResolveReference()
|
| D | binder.h | 207 …void BuildForInOfLoop(const ir::Statement *parent, binder::LoopScope *loopScope, ir::AstNode *left,
|
| D | scope.h | 659 class LoopScope : public VariableScope { 661 … explicit LoopScope(ArenaAllocator *allocator, Scope *parent) : VariableScope(allocator, parent) {} in LoopScope() function
|
| D | scope.cpp | 459 void LoopScope::InitVariable() in InitVariable()
|