<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse(self):
 """Generic entrypoint of the `Parser` class."""

        node = self.program()
        if self.token.nature != Nature.EOF:
            self._error()

        return node