code: public void visitBlockStatement(BlockStatement block) {
          pushState();
          block.setVariableScope(currentScope);
          super.visitBlockStatement(block);
          popState();
      }
docs: ------------------------------