class_docstr: Visitor to remove ast nodes
  
  :param symbols: set of symbol that are removable.
class_docstr_tok: ["Visitor","to","remove","ast","nodes",":","param","symbols",":","set","of","symbol","that","are","removable","."]
docstr: remove nodes from a list
docstr_tok: ["remove","nodes","from","a","list"]
code: def reduce(self, body):
      """
      remove nodes from a list
      """
      i = 0
      while i < len(body):
          stmnt = body[i]
          if self.visit(stmnt):
              body.pop(i)
          else:
              i += 1
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import _ast
  from ...asttools import Visitor, visit_children
label_desc: Use image node_id 2 for calling the PruneVisitor obj's underlying member method code with example usage: obj.reduce(body) without return types