def parse_new_statement(self, statement, context):
    (string, tree) = self.parse_statement(statement, context)
    self.search.clear()
    self.failed_parses = set()
    return (string, tree)
def parse_new_statement(self, statement, context):
    (string, tree) = self.parse_statement(statement, context)
    self.search.clear()
    self.failed_parses = set()
    return (string, tree)