Class JSONLexer

java.lang.Object
antlr.CharScanner
com.sdicons.json.parser.impl.JSONLexer
All Implemented Interfaces:
antlr.TokenStream, JSONParserAntlrTokenTypes

public class JSONLexer extends antlr.CharScanner implements JSONParserAntlrTokenTypes, antlr.TokenStream
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final antlr.collections.impl.BitSet
     
    static final antlr.collections.impl.BitSet
     

    Fields inherited from class antlr.CharScanner

    _returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
  • Constructor Summary

    Constructors
    Constructor
    Description
    JSONLexer(antlr.InputBuffer ib)
     
    JSONLexer(antlr.LexerSharedInputState state)
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    mCOLON(boolean _createToken)
     
    final void
    mCOMMA(boolean _createToken)
     
    protected final void
    mDIGIT(boolean _createToken)
     
    protected final void
    mESC(boolean _createToken)
     
    protected final void
    mEXPONENT(boolean _createToken)
     
    final void
    mFALSE(boolean _createToken)
     
    protected final void
    mHEX_DIGIT(boolean _createToken)
     
    protected final void
    mINTEGER(boolean _createToken)
     
    private static final long[]
     
    private static final long[]
     
    final void
    mLBRACK(boolean _createToken)
     
    final void
    mLCURLY(boolean _createToken)
     
    final void
    mLPAREN(boolean _createToken)
     
    protected final void
    mNONZERO(boolean _createToken)
     
    final void
    mNULL(boolean _createToken)
     
    final void
    mNUMBER(boolean _createToken)
     
    final void
    mQUOTES(boolean _createToken)
     
    final void
    mRBRACK(boolean _createToken)
     
    final void
    mRCURLY(boolean _createToken)
     
    final void
    mRPAREN(boolean _createToken)
     
    final void
    mSL_COMMENT(boolean _createToken)
     
    final void
    mSTRING(boolean _createToken)
     
    final void
    mTRUE(boolean _createToken)
     
    final void
    mWS(boolean _createToken)
     
    protected final void
    mZERO(boolean _createToken)
     
    antlr.Token
     

    Methods inherited from class antlr.CharScanner

    append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getTabSize, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, setFilename, setInputState, setLine, setTabSize, setText, setTokenObjectClass, tab, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceIndent, traceOut, uponEOF

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • _tokenSet_0

      public static final antlr.collections.impl.BitSet _tokenSet_0
    • _tokenSet_1

      public static final antlr.collections.impl.BitSet _tokenSet_1
  • Constructor Details

    • JSONLexer

      public JSONLexer(InputStream in)
    • JSONLexer

      public JSONLexer(Reader in)
    • JSONLexer

      public JSONLexer(antlr.InputBuffer ib)
    • JSONLexer

      public JSONLexer(antlr.LexerSharedInputState state)
  • Method Details

    • nextToken

      public antlr.Token nextToken() throws antlr.TokenStreamException
      Specified by:
      nextToken in interface antlr.TokenStream
      Throws:
      antlr.TokenStreamException
    • mLPAREN

      public final void mLPAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mRPAREN

      public final void mRPAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mLCURLY

      public final void mLCURLY(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mRCURLY

      public final void mRCURLY(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mLBRACK

      public final void mLBRACK(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mRBRACK

      public final void mRBRACK(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mCOMMA

      public final void mCOMMA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mQUOTES

      public final void mQUOTES(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mCOLON

      public final void mCOLON(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mTRUE

      public final void mTRUE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mFALSE

      public final void mFALSE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mNULL

      public final void mNULL(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mSTRING

      public final void mSTRING(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mESC

      protected final void mESC(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mHEX_DIGIT

      protected final void mHEX_DIGIT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mZERO

      protected final void mZERO(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mNONZERO

      protected final void mNONZERO(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mDIGIT

      protected final void mDIGIT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mINTEGER

      protected final void mINTEGER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mNUMBER

      public final void mNUMBER(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mEXPONENT

      protected final void mEXPONENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mWS

      public final void mWS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mSL_COMMENT

      public final void mSL_COMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
      Throws:
      antlr.RecognitionException
      antlr.CharStreamException
      antlr.TokenStreamException
    • mk_tokenSet_0

      private static final long[] mk_tokenSet_0()
    • mk_tokenSet_1

      private static final long[] mk_tokenSet_1()