Lines Matching defs:scopeIter
165 auto *scopeIter = Scope();
168 auto captureVariable = [this, var, ident, &scopeIter, &inStaticMethod, &pos]() {
173 if (scopeIter->Node()->AsClassDefinition()->CaptureVariable(var)) {
174 LOG(DEBUG, ES2PANDA) << " Captured in class:" << scopeIter->Node()->AsClassDefinition()->Ident()->Name();
191 scopeIter->Node()->AsClassDefinition()->AddToLocalVariableIsNeeded(var);
196 while (scopeIter != var->GetScope()) {
197 if (scopeIter->Node() != nullptr) {
198 if (scopeIter->Node()->IsScriptFunction() && scopeIter->Node()->AsScriptFunction()->IsStatic()) {
202 if (scopeIter->Node()->IsClassDefinition()) {
207 scopeIter = scopeIter->Parent();
231 const auto *scopeIter = Scope();
232 while (scopeIter != var->GetScope()) {
233 if (scopeIter->IsFunctionScope()) {
237 scopeIter = scopeIter->Parent();