private void pushScope(Node node) {
    checkNotNull(curNode);
    checkNotNull(node);
    scopeRoots.add(node);
    recordScopeRoot(node);
    if (scopeCallback != null) {
      scopeCallback.enterScope(this);
    }
  }
private void pushScope ( Node node ) { checkNotNull ( curNode ) ; checkNotNull ( node ) ; scopeRoots . add ( node ) ; recordScopeRoot ( node ) ; if ( scopeCallback != null ) { scopeCallback . enterScope ( this ) ; } }
Creates a new scope (e.g. when entering a function).