src/com/google/javascript/jscomp/NodeUtil.java
/**
   * Permanently delete the given node from the AST, as well as report
   * the related AST changes/deletions to the given compiler.
   */
Permanently delete the given node from the AST, as well as report
the related AST changes/deletions to the given compiler.
Permanently delete the given node from the AST as well as report the related AST changes / deletions to the given compiler .
public static void deleteNode(Node n, AbstractCompiler compiler) {
    Node parent = n.getParent();
    NodeUtil.markFunctionsDeleted(n, compiler);
    n.detach();
    compiler.reportChangeToEnclosingScope(parent);
  }
public static void deleteNode ( Node n , AbstractCompiler compiler ) { Node parent = n . getParent ( ) ; NodeUtil . markFunctionsDeleted ( n , compiler ) ; n . detach ( ) ; compiler . reportChangeToEnclosingScope ( parent ) ; }
Permanently delete the given node from the AST, as well as report
 the related AST changes/deletions to the given compiler.
Permanently delete the given node from the AST as well as report the related AST changes / deletions to the given compiler .