def input(self, data):
        """Reset the lexer and feed in new input.

        :param data:
            String of input data.
        """
        # input(..) doesn't reset the lineno. We have to do that manually.
        self._lexer.lineno = 1
        return self._lexer.input(data)