Lines Matching refs:LexerError
117 class LexerError(ValueError): class
122 super(LexerError, self).__init__(message)
162 raise LexerError(self.buf, self.start,
211 raise LexerError(buf, offset, 'bad octal escape sequence')
215 raise LexerError(buf, offset, 'bad octal escape sequence')
217 raise LexerError(buf, offset, 'bad octal escape sequence')
227 raise LexerError(buf, offset, 'bad hex escape sequence')
231 raise LexerError(buf, offset, 'bad hex escape sequence')
261 raise LexerError(buf, pos,
268 raise LexerError(buf, pos, 'bad escape sequence')
288 raise LexerError(buf, pos, 'bad escape sequence')
293 raise LexerError(buf, pos, 'unclosed interpreted string literal')
315 raise LexerError(buf, len(buf), 'unclosed raw string literal')
318 raise LexerError(buf, offset, 'no string literal start character')
363 raise LexerError(buf, offset, 'unknown token')