code: private void allowLoneBlock(Node parent) {
      if (loneBlocks.isEmpty()) {
        return;
      }
  
      if (loneBlocks.peek() == parent) {
        loneBlocks.pop();
      }
    }
docs: Remove the enclosing block of a block-scoped declaration from the loneBlocks stack.