<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _process(self, name):
 """Process the current token."""

        if self.token.nature == name:
            self.token = self.lexer.next_token()
        else:
            self._error()