(self, lines)
Process lines of P8SCII Lua code.

        Args:
          lines: The Lua code to process, as an iterable of P8SCII bytestrings.
            Newline characters are expected to appear in the strings as they do
            in the original source, though each string in lines need not end
            with a newline.
Process lines of P8SCII Lua code.
Process lines of P8SCII Lua code .
def process_lines(self, lines):
        """Process lines of P8SCII Lua code.

        Args:
          lines: The Lua code to process, as an iterable of P8SCII bytestrings.
            Newline characters are expected to appear in the strings as they do
            in the original source, though each string in lines need not end
            with a newline.
        """
        for line in lines:
            self._process_line(line)

        if self._in_string is not None:
            raise LexerError('Unterminated string',
                             self._in_string_lineno,
                             self._in_string_charno)
        if self._in_multiline_string is not None:
            raise LexerError('Unterminated multiline string',
                             self._in_multiline_string_lineno,
                             self._in_multiline_string_charno)
        if self._in_multiline_comment is not None:
            # TODO: Allow unterminated multiline comments to just be comments.
            raise LexerError('Unterminated multiline comment',
                             self._in_multiline_comment_lineno,
                             self._in_multiline_comment_charno)
def process_lines ( self , lines ) : for line in lines : self . _process_line ( line ) if self . _in_string is not None : raise LexerError ( 'Unterminated string' , self . _in_string_lineno , self . _in_string_charno ) if self . _in_multiline_string is not None : raise LexerError ( 'Unterminated multiline string' , self . _in_multiline_string_lineno , self . _in_multiline_string_charno ) if self . _in_multiline_comment is not None : # TODO: Allow unterminated multiline comments to just be comments. raise LexerError ( 'Unterminated multiline comment' , self . _in_multiline_comment_lineno , self . _in_multiline_comment_charno )