code: public AbstractScope<?, ?> getAbstractScope() {
      AbstractScope<?, ?> scope = scopes.peek();
  
      // NOTE(dylandavidson): Use for-each loop to avoid slow ArrayList#get performance.
      for (Node scopeRoot : scopeRoots) {
        scope = scopeCreator.createScope(scopeRoot, scope);
        scopes.push(scope);
      }
      scopeRoots.clear();
      return scope;
    }
docs: Gets the current scope.