Lines Matching defs:forUpdateStmt
145 void ScopesInitPhase::VisitForUpdateStatement(ir::ForUpdateStatement *forUpdateStmt)
147 auto declCtx = (forUpdateStmt->Scope() == nullptr)
150 VarBinder(), forUpdateStmt->Scope()->DeclScope());
151 CallNode(forUpdateStmt->Init());
153 auto lexicalScope = LexicalScopeCreateOrEnter<varbinder::LoopScope>(VarBinder(), forUpdateStmt);
154 AttachLabelToScope(forUpdateStmt);
155 CallNode(forUpdateStmt->Test());
156 CallNode(forUpdateStmt->Update());
157 CallNode(forUpdateStmt->Body());
159 HandleFor(declCtx.GetScope(), lexicalScope.GetScope(), forUpdateStmt);