def get_parser(self):
self.path = None<EOL>self.anony_defs = []<EOL>self.exhausted = False<EOL>return self<EOL>
Returns a ParserFactory with the state reset so it can be used to
parse again.

:return: ParserFactory