Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
@brief The root of the ANTLR exception hierarchy.

To avoid English-only error messages and to generally make things
as flexible as possible, these exceptions are not created with strings,
but rather the information necessary to generate an error.  Then
the various reporting methods in Parser and Lexer can be overridden
to generate a localized error message.  For example, MismatchedToken
exceptions are built with the expected token type.
So, don't expect getMessage() to return anything.
(more...)

src/p/y/py-orderly-json-HEAD/orderlyjson/orderly_json.py   py-orderly-json(Download)
def parseStream(char_stream):
  try:
    from OrderlyJSONLexer import OrderlyJSONLexer
    from OrderlyJSONParser import ANTLRFileStream, ANTLRStringStream, CommonTokenStream, OrderlyJSONParser, RecognitionException
  except ImportError: