(self)
Yields:
          Lines of Lua code, with PICO-8 shortcuts transformed to Lua.
Yields:
          Lines of Lua code, with PICO-8 shortcuts transformed to Lua.
Yields : Lines of Lua code with PICO - 8 shortcuts transformed to Lua .
def to_lines(self):
        """
        Yields:
          Lines of Lua code, with PICO-8 shortcuts transformed to Lua.
        """
        toks = []
        for token in self._tokens:
            toks.append(token)
            if token.matches(lexer.TokNewline):
                yield self.line_to_pure_lua(toks)
                toks.clear()
        if toks:
            yield self.line_to_pure_lua(toks)
def to_lines ( self ) : toks = [ ] for token in self . _tokens : toks . append ( token ) if token . matches ( lexer . TokNewline ) : yield self . line_to_pure_lua ( toks ) toks . clear ( ) if toks : yield self . line_to_pure_lua ( toks )