parameters: (self, body)
docstring: remove nodes from a list
docstring_summary: remove nodes from a list
docstring_tokens: remove nodes from a list
function: 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
function_tokens: def reduce ( self , body ) : i = 0 while i < len ( body ) : stmnt = body [ i ] if self . visit ( stmnt ) : body . pop ( i ) else : i += 1