Class JavaLexer

  • All Implemented Interfaces:
    antlr.TokenStream, JavaTokenTypes

    public class JavaLexer
    extends antlr.CharScanner
    implements JavaTokenTypes, antlr.TokenStream
    • Field Detail

      • stringCtorState

        protected int stringCtorState
      • lastSigTokenType

        protected int lastSigTokenType
      • _tokenSet_0

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

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

        public static final antlr.collections.impl.BitSet _tokenSet_2
      • _tokenSet_3

        public static final antlr.collections.impl.BitSet _tokenSet_3
      • _tokenSet_4

        public static final antlr.collections.impl.BitSet _tokenSet_4
      • _tokenSet_5

        public static final antlr.collections.impl.BitSet _tokenSet_5
    • Constructor Detail

      • JavaLexer

        public JavaLexer​(java.io.InputStream in)
      • JavaLexer

        public JavaLexer​(java.io.Reader in)
      • JavaLexer

        public JavaLexer​(antlr.InputBuffer ib)
      • JavaLexer

        public JavaLexer​(antlr.LexerSharedInputState state)
    • Method Detail

      • enableAssert

        public void enableAssert​(boolean shouldEnable)
        Enable the "assert" keyword
      • isAssertEnabled

        public boolean isAssertEnabled()
        Query the "assert" keyword state
      • enableEnum

        public void enableEnum​(boolean shouldEnable)
        Enable the "enum" keyword
      • isEnumEnabled

        public boolean isEnumEnabled()
        Query the "enum" keyword state
      • plumb

        public antlr.TokenStream plumb()
        This is a bit of plumbing which resumes collection of string constructor bodies, after an embedded expression has been parsed. Usage: new JavaRecognizer(new JavaLexer(in).plumb()).
      • nextToken

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

        public final void mQUESTION​(boolean _createToken)
                             throws antlr.RecognitionException,
                                    antlr.CharStreamException,
                                    antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        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
      • 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
      • 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
      • mCOLON

        public final void mCOLON​(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
      • mASSIGN

        public final void mASSIGN​(boolean _createToken)
                           throws antlr.RecognitionException,
                                  antlr.CharStreamException,
                                  antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mEQUAL

        public final void mEQUAL​(boolean _createToken)
                          throws antlr.RecognitionException,
                                 antlr.CharStreamException,
                                 antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mLNOT

        public final void mLNOT​(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mBNOT

        public final void mBNOT​(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mNOT_EQUAL

        public final void mNOT_EQUAL​(boolean _createToken)
                              throws antlr.RecognitionException,
                                     antlr.CharStreamException,
                                     antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mDIV

        public final void mDIV​(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mDIV_ASSIGN

        public final void mDIV_ASSIGN​(boolean _createToken)
                               throws antlr.RecognitionException,
                                      antlr.CharStreamException,
                                      antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mPLUS

        public final void mPLUS​(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mPLUS_ASSIGN

        public final void mPLUS_ASSIGN​(boolean _createToken)
                                throws antlr.RecognitionException,
                                       antlr.CharStreamException,
                                       antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mINC

        public final void mINC​(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mMINUS

        public final void mMINUS​(boolean _createToken)
                          throws antlr.RecognitionException,
                                 antlr.CharStreamException,
                                 antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mMINUS_ASSIGN

        public final void mMINUS_ASSIGN​(boolean _createToken)
                                 throws antlr.RecognitionException,
                                        antlr.CharStreamException,
                                        antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mDEC

        public final void mDEC​(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mSTAR

        public final void mSTAR​(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mSTAR_ASSIGN

        public final void mSTAR_ASSIGN​(boolean _createToken)
                                throws antlr.RecognitionException,
                                       antlr.CharStreamException,
                                       antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mMOD

        public final void mMOD​(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mMOD_ASSIGN

        public final void mMOD_ASSIGN​(boolean _createToken)
                               throws antlr.RecognitionException,
                                      antlr.CharStreamException,
                                      antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mSR

        public final void mSR​(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mSR_ASSIGN

        public final void mSR_ASSIGN​(boolean _createToken)
                              throws antlr.RecognitionException,
                                     antlr.CharStreamException,
                                     antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mBSR

        public final void mBSR​(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mBSR_ASSIGN

        public final void mBSR_ASSIGN​(boolean _createToken)
                               throws antlr.RecognitionException,
                                      antlr.CharStreamException,
                                      antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mGE

        public final void mGE​(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mGT

        public final void mGT​(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mSL

        public final void mSL​(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mSL_ASSIGN

        public final void mSL_ASSIGN​(boolean _createToken)
                              throws antlr.RecognitionException,
                                     antlr.CharStreamException,
                                     antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mLE

        public final void mLE​(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mLT

        public final void mLT​(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mBXOR

        public final void mBXOR​(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mBXOR_ASSIGN

        public final void mBXOR_ASSIGN​(boolean _createToken)
                                throws antlr.RecognitionException,
                                       antlr.CharStreamException,
                                       antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mBOR

        public final void mBOR​(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mBOR_ASSIGN

        public final void mBOR_ASSIGN​(boolean _createToken)
                               throws antlr.RecognitionException,
                                      antlr.CharStreamException,
                                      antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mLOR

        public final void mLOR​(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mBAND

        public final void mBAND​(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mBAND_ASSIGN

        public final void mBAND_ASSIGN​(boolean _createToken)
                                throws antlr.RecognitionException,
                                       antlr.CharStreamException,
                                       antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mLAND

        public final void mLAND​(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mSEMI

        public final void mSEMI​(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
      • mML_COMMENT

        public final void mML_COMMENT​(boolean _createToken)
                               throws antlr.RecognitionException,
                                      antlr.CharStreamException,
                                      antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mCHAR_LITERAL

        public final void mCHAR_LITERAL​(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
      • mSTRING_LITERAL

        public final void mSTRING_LITERAL​(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
      • mVOCAB

        protected final void mVOCAB​(boolean _createToken)
                             throws antlr.RecognitionException,
                                    antlr.CharStreamException,
                                    antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mIDENT

        public final void mIDENT​(boolean _createToken)
                          throws antlr.RecognitionException,
                                 antlr.CharStreamException,
                                 antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mNUM_INT

        public final void mNUM_INT​(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
      • mFLOAT_SUFFIX

        protected final void mFLOAT_SUFFIX​(boolean _createToken)
                                    throws antlr.RecognitionException,
                                           antlr.CharStreamException,
                                           antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException
      • mAT

        public final void mAT​(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.CharStreamException
        antlr.TokenStreamException