Home
last modified time | relevance | path

Searched refs:LoopScope (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/ir/statements/
DloopStatement.h22 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_;
DdoWhileStatement.h31 class LoopScope; variable
40 explicit DoWhileStatement(binder::LoopScope *scope, Statement *body, Expression *test) in DoWhileStatement()
DwhileStatement.h31 class LoopScope; variable
40 explicit WhileStatement(binder::LoopScope *scope, Expression *test, Statement *body) in WhileStatement()
DforInStatement.h31 class LoopScope; variable
40 …explicit ForInStatement(binder::LoopScope *scope, AstNode *left, Expression *right, Statement *bod… in ForInStatement()
DforOfStatement.h31 class LoopScope; variable
40 …explicit ForOfStatement(binder::LoopScope *scope, AstNode *left, Expression *right, Statement *bod… in ForOfStatement()
DforUpdateStatement.h31 class LoopScope; variable
40 …explicit ForUpdateStatement(binder::LoopScope *scope, AstNode *init, Expression *test, Expression … in ForUpdateStatement()
DwhileStatement.cpp73 auto loopScopeCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, scope_); in UpdateSelf()
DdoWhileStatement.cpp72 auto loopScopeCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, scope_); in UpdateSelf()
DforUpdateStatement.cpp112 auto loopCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, loopScope); in UpdateSelf()
DforInStatement.cpp110 auto loopCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, loopScope); in UpdateSelf()
DforOfStatement.cpp110 auto loopCtx = binder::LexicalScope<binder::LoopScope>::Enter(binder, loopScope); in UpdateSelf()
/arkcompiler/ets_frontend/ts2panda/src/statement/
DloopStatement.ts32 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);
DforOfStatement.ts26 import { LoopScope } from "src/scope";
66 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt);
DtryStatement.ts21 import { LocalScope, LoopScope } from "../scope";
283 let loopScope = <LoopScope>compiler.getRecorder().getScopeOfNode(stmt);
/arkcompiler/ets_frontend/es2panda/compiler/core/
DenvScope.h71 explicit LoopEnvScope(PandaGen *pg, binder::LoopScope *scope, LabelTarget target) in LoopEnvScope()
77 explicit LoopEnvScope(PandaGen *pg, LabelTarget target, binder::LoopScope *scope) in LoopEnvScope()
DregScope.h65 explicit LoopRegScope(PandaGen *pg, binder::LoopScope *scope);
/arkcompiler/ets_frontend/ts2panda/src/
Dvariable.ts19 LoopScope,
76 setLexVar(scope: VariableScope | LoopScope): number {
Dscope.ts157 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
Drecorder.ts41 LoopScope,
167 let loopScope: LoopScope = new LoopScope(scope);;
312 … let nearestDefLexicalScope = <VariableScope | LoopScope>declScope.getNearestLexicalScope();
316 if (nearestDefLexicalScope instanceof LoopScope) {
Dpandagen.ts185 LoopScope,
557 createLexEnv(node: ts.Node, scope: VariableScope | LoopScope): void {
/arkcompiler/ets_frontend/es2panda/binder/
DvariableFlags.h56 _(LOOP, LoopScope) \
Dbinder.cpp584 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()
Dbinder.h207 …void BuildForInOfLoop(const ir::Statement *parent, binder::LoopScope *loopScope, ir::AstNode *left,
Dscope.h659 class LoopScope : public VariableScope {
661 … explicit LoopScope(ArenaAllocator *allocator, Scope *parent) : VariableScope(allocator, parent) {} in LoopScope() function
Dscope.cpp459 void LoopScope::InitVariable() in InitVariable()

12