Run the parser over the entire sourestring and return the results.

def parse(self):
        """Run the parser over the entire sourestring and return the results."""
        try:
            return self.parse_top_level()
        except PartpyError as ex:
            self.error = True
            print(ex.pretty_print())