def _assert(self, node_or_none, desc):
        if node_or_none is not None:
            return node_or_none
        raise ParserError(desc, token=self._peek())
Asserts that a node parsed, or raises a ParserError.
dataset/ETHPy150Open dansanderson/picotool/pico8/lua/parser.py/Parser._assert