Home
last modified time | relevance | path

Searched refs:LexError (Results 1 – 7 of 7) sorted by relevance

/external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/
Dlexer.py28 class LexError(Error): class
48 raise LexError(self.filename, msg, token.lineno)
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Dlexer_unittest.py105 mojom.parse.lexer.LexError,
109 mojom.parse.lexer.LexError,
Dparser_unittest.py481 lexer.LexError,
493 lexer.LexError,
502 lexer.LexError,
509 lexer.LexError,
516 lexer.LexError,
/external/selinux/python/sepolgen/src/sepolgen/
Dlex.py47 class LexError(Exception): class
306 raise LexError("%s:%d: Rule '%s' returned an unknown token type '%s'" % (
335 … raise LexError("Scanning error. Illegal character '%s'" % (lexdata[lexpos]), lexdata[lexpos:])
341 … raise LexError("Illegal character '%s' at index %d" % (lexdata[lexpos],lexpos), lexdata[lexpos:])
/external/libmojo/third_party/ply/
Dlex.py63 class LexError(Exception): class
359 raise LexError("%s:%d: Rule '%s' returned an unknown token type '%s'" % (
387 … raise LexError("Scanning error. Illegal character '%s'" % (lexdata[lexpos]), lexdata[lexpos:])
393 … raise LexError("Illegal character '%s' at index %d" % (lexdata[lexpos],lexpos), lexdata[lexpos:])
/external/ply/ply/ply/
Dlex.py57 class LexError(Exception): class
361 raise LexError("%s:%d: Rule '%s' returned an unknown token type '%s'" % (
389 … raise LexError("Scanning error. Illegal character '%s'" % (lexdata[lexpos]), lexdata[lexpos:])
396 … raise LexError("Illegal character '%s' at index %d" % (lexdata[lexpos], lexpos), lexdata[lexpos:])
/external/ply/ply/test/
Dtestlex.py300 except ply.lex.LexError: