(self, line)
Processes a line of Lua source code.

        The line does not have to be a complete Lua statement or
        block. However, complete and valid code must have been
        processed before you can call a write_*() method.

        Args:
          line: The line of Lua source.

        Raises:
          LexerError: The line contains text that could not be mapped to known
            tokens (a syntax error).
Processes a line of Lua source code.
Processes a line of Lua source code .
def _process_line(self, line):
        """Processes a line of Lua source code.

        The line does not have to be a complete Lua statement or
        block. However, complete and valid code must have been
        processed before you can call a write_*() method.

        Args:
          line: The line of Lua source.

        Raises:
          LexerError: The line contains text that could not be mapped to known
            tokens (a syntax error).
        """
        i = 0
        while True:
            i = self._process_token(line)
            if i == 0:
                break
            line = line[i:]
        if line:
            util.debug('Lexer state:\n{}'.format(self._debug_lexer_state()))
            raise LexerError('Syntax error (remaining:%r)' % (line,),
                             self._cur_lineno + 1,
                             self._cur_charno + 1)
def _process_line ( self , line ) : i = 0 while True : i = self . _process_token ( line ) if i == 0 : break line = line [ i : ] if line : util . debug ( 'Lexer state:\n{}' . format ( self . _debug_lexer_state ( ) ) ) raise LexerError ( 'Syntax error (remaining:%r)' % ( line , ) , self . _cur_lineno + 1 , self . _cur_charno + 1 )