JavaLexer

processing.mode.java.preproc

## Class JavaLexer

- Object
- - CharScanner
  - - JavaLexer

- All Implemented Interfaces:
    JavaTokenTypes

      public class JavaLexer
      extends CharScanner
      implements JavaTokenTypes

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static BitSet` | `_tokenSet_0`
    `static BitSet` | `_tokenSet_1`
    `static BitSet` | `_tokenSet_2`
    `static BitSet` | `_tokenSet_3`
    `static BitSet` | `_tokenSet_4`

    - ### Fields inherited from interface JavaTokenTypes

      `ABSTRACT, ANNOTATION, ANNOTATION_ARRAY_INIT, ANNOTATION_DEF, ANNOTATION_FIELD_DEF, ANNOTATION_MEMBER_VALUE_PAIR, ANNOTATIONS, ARRAY_DECLARATOR, ARRAY_INIT, ASSIGN, AT, BAND, BAND_ASSIGN, BLOCK, BNOT, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, CASE_GROUP, CHAR_LITERAL, CLASS_DEF, COLON, COMMA, CTOR_CALL, CTOR_DEF, DEC, DIV, DIV_ASSIGN, DOT, ELIST, EMPTY_STAT, ENUM_CONSTANT_DEF, ENUM_DEF, EOF, EQUAL, ESC, EXPONENT, EXPR, EXTENDS_CLAUSE, FINAL, FLOAT_SUFFIX, FOR_CONDITION, FOR_EACH_CLAUSE, FOR_INIT, FOR_ITERATOR, GE, GT, HEX_DIGIT, IDENT, IMPLEMENTS_CLAUSE, IMPORT, INC, INDEX_OP, INSTANCE_INIT, INTERFACE_DEF, LABELED_STAT, LAND, LBRACK, LCURLY, LE, LITERAL_assert, LITERAL_boolean, LITERAL_break, LITERAL_byte, LITERAL_case, LITERAL_catch, LITERAL_char, LITERAL_class, LITERAL_continue, LITERAL_default, LITERAL_do, LITERAL_double, LITERAL_else, LITERAL_enum, LITERAL_extends, LITERAL_false, LITERAL_finally, LITERAL_float, LITERAL_for, LITERAL_if, LITERAL_implements, LITERAL_import, LITERAL_instanceof, LITERAL_int, LITERAL_interface, LITERAL_long, LITERAL_native, LITERAL_new, LITERAL_null, LITERAL_package, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_return, LITERAL_short, LITERAL_static, LITERAL_super, LITERAL_switch, LITERAL_synchronized, LITERAL_this, LITERAL_threadsafe, LITERAL_throw, LITERAL_throws, LITERAL_transient, LITERAL_true, LITERAL_try, LITERAL_void, LITERAL_volatile, LITERAL_while, LNOT, LOR, LPAREN, LT, METHOD_CALL, METHOD_DEF, MINUS, MINUS_ASSIGN, ML_COMMENT, MOD, MOD_ASSIGN, MODIFIERS, NOT_EQUAL, NULL_TREE_LOOKAHEAD, NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG, OBJBLOCK, PACKAGE_DEF, PARAMETER_DEF, PARAMETERS, PLUS, PLUS_ASSIGN, POST_DEC, POST_INC, QUESTION, RBRACK, RCURLY, RPAREN, SEMI, SL, SL_ASSIGN, SL_COMMENT, SLIST, SR, SR_ASSIGN, STAR, STAR_ASSIGN, STATIC_IMPORT, STATIC_INIT, STRICTFP, STRING_LITERAL, SUPER_CTOR_CALL, TRIPLE_DOT, TYPE, TYPE_ARGUMENT, TYPE_ARGUMENTS, TYPE_LOWER_BOUNDS, TYPE_PARAMETER, TYPE_PARAMETERS, TYPE_UPPER_BOUNDS, TYPECAST, UNARY_MINUS, UNARY_PLUS, VARIABLE_DEF, VARIABLE_PARAMETER_DEF, VOCAB, WILDCARD_TYPE, WS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JavaLexer(InputBuffer ib)`
    `JavaLexer(InputStream in)`
    `JavaLexer(LexerSharedInputState state)`
    `JavaLexer(Reader in)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `enableAssert(boolean shouldEnable)` Enable the "assert" keyword
    `void` | `enableEnum(boolean shouldEnable)` Enable the "enum" keyword
    `boolean` | `isAssertEnabled()` Query the "assert" keyword state
    `boolean` | `isEnumEnabled()` Query the "enum" keyword state
    `void` | `mASSIGN(boolean _createToken)`
    `void` | `mAT(boolean _createToken)`
    `void` | `mBAND_ASSIGN(boolean _createToken)`
    `void` | `mBAND(boolean _createToken)`
    `void` | `mBNOT(boolean _createToken)`
    `void` | `mBOR_ASSIGN(boolean _createToken)`
    `void` | `mBOR(boolean _createToken)`
    `void` | `mBSR_ASSIGN(boolean _createToken)`
    `void` | `mBSR(boolean _createToken)`
    `void` | `mBXOR_ASSIGN(boolean _createToken)`
    `void` | `mBXOR(boolean _createToken)`
    `void` | `mCHAR_LITERAL(boolean _createToken)`
    `void` | `mCOLON(boolean _createToken)`
    `void` | `mCOMMA(boolean _createToken)`
    `void` | `mDEC(boolean _createToken)`
    `void` | `mDIV_ASSIGN(boolean _createToken)`
    `void` | `mDIV(boolean _createToken)`
    `void` | `mEQUAL(boolean _createToken)`
    `void` | `mGE(boolean _createToken)`
    `void` | `mGT(boolean _createToken)`
    `void` | `mIDENT(boolean _createToken)`
    `void` | `mINC(boolean _createToken)`
    `void` | `mLAND(boolean _createToken)`
    `void` | `mLBRACK(boolean _createToken)`
    `void` | `mLCURLY(boolean _createToken)`
    `void` | `mLE(boolean _createToken)`
    `void` | `mLNOT(boolean _createToken)`
    `void` | `mLOR(boolean _createToken)`
    `void` | `mLPAREN(boolean _createToken)`
    `void` | `mLT(boolean _createToken)`
    `void` | `mMINUS_ASSIGN(boolean _createToken)`
    `void` | `mMINUS(boolean _createToken)`
    `void` | `mML_COMMENT(boolean _createToken)`
    `void` | `mMOD_ASSIGN(boolean _createToken)`
    `void` | `mMOD(boolean _createToken)`
    `void` | `mNOT_EQUAL(boolean _createToken)`
    `void` | `mNUM_INT(boolean _createToken)`
    `void` | `mPLUS_ASSIGN(boolean _createToken)`
    `void` | `mPLUS(boolean _createToken)`
    `void` | `mQUESTION(boolean _createToken)`
    `void` | `mRBRACK(boolean _createToken)`
    `void` | `mRCURLY(boolean _createToken)`
    `void` | `mRPAREN(boolean _createToken)`
    `void` | `mSEMI(boolean _createToken)`
    `void` | `mSL_ASSIGN(boolean _createToken)`
    `void` | `mSL_COMMENT(boolean _createToken)`
    `void` | `mSL(boolean _createToken)`
    `void` | `mSR_ASSIGN(boolean _createToken)`
    `void` | `mSR(boolean _createToken)`
    `void` | `mSTAR_ASSIGN(boolean _createToken)`
    `void` | `mSTAR(boolean _createToken)`
    `void` | `mSTRING_LITERAL(boolean _createToken)`
    `void` | `mWS(boolean _createToken)`
    `Token` | `nextToken()`

    - ### Methods inherited from class Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### _tokenSet_0

          public static final BitSet _tokenSet_0

    - #### _tokenSet_1

          public static final BitSet _tokenSet_1

    - #### _tokenSet_2

          public static final BitSet _tokenSet_2

    - #### _tokenSet_3

          public static final BitSet _tokenSet_3

    - #### _tokenSet_4

          public static final BitSet _tokenSet_4

  - ### Constructor Detail

    - #### JavaLexer

          public JavaLexer(InputStream in)

    - #### JavaLexer

          public JavaLexer(Reader in)

    - #### JavaLexer

          public JavaLexer(InputBuffer ib)

    - #### JavaLexer

          public JavaLexer(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

    - #### nextToken

          public Token nextToken()
                          throws TokenStreamException

      Throws:
        `TokenStreamException`

    - #### mQUESTION

          public final void mQUESTION(boolean _createToken)
                               throws RecognitionException,
                                      CharStreamException,
                                      TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mLPAREN

          public final void mLPAREN(boolean _createToken)
                             throws RecognitionException,
                                    CharStreamException,
                                    TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mRPAREN

          public final void mRPAREN(boolean _createToken)
                             throws RecognitionException,
                                    CharStreamException,
                                    TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mLBRACK

          public final void mLBRACK(boolean _createToken)
                             throws RecognitionException,
                                    CharStreamException,
                                    TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mRBRACK

          public final void mRBRACK(boolean _createToken)
                             throws RecognitionException,
                                    CharStreamException,
                                    TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mLCURLY

          public final void mLCURLY(boolean _createToken)
                             throws RecognitionException,
                                    CharStreamException,
                                    TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mRCURLY

          public final void mRCURLY(boolean _createToken)
                             throws RecognitionException,
                                    CharStreamException,
                                    TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mCOLON

          public final void mCOLON(boolean _createToken)
                            throws RecognitionException,
                                   CharStreamException,
                                   TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mCOMMA

          public final void mCOMMA(boolean _createToken)
                            throws RecognitionException,
                                   CharStreamException,
                                   TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mASSIGN

          public final void mASSIGN(boolean _createToken)
                             throws RecognitionException,
                                    CharStreamException,
                                    TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mEQUAL

          public final void mEQUAL(boolean _createToken)
                            throws RecognitionException,
                                   CharStreamException,
                                   TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mLNOT

          public final void mLNOT(boolean _createToken)
                           throws RecognitionException,
                                  CharStreamException,
                                  TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mBNOT

          public final void mBNOT(boolean _createToken)
                           throws RecognitionException,
                                  CharStreamException,
                                  TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mNOT_EQUAL

          public final void mNOT_EQUAL(boolean _createToken)
                                throws RecognitionException,
                                       CharStreamException,
                                       TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mDIV

          public final void mDIV(boolean _createToken)
                          throws RecognitionException,
                                 CharStreamException,
                                 TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mDIV_ASSIGN

          public final void mDIV_ASSIGN(boolean _createToken)
                                 throws RecognitionException,
                                        CharStreamException,
                                        TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mPLUS

          public final void mPLUS(boolean _createToken)
                           throws RecognitionException,
                                  CharStreamException,
                                  TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mPLUS_ASSIGN

          public final void mPLUS_ASSIGN(boolean _createToken)
                                  throws RecognitionException,
                                         CharStreamException,
                                         TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mINC

          public final void mINC(boolean _createToken)
                          throws RecognitionException,
                                 CharStreamException,
                                 TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mMINUS

          public final void mMINUS(boolean _createToken)
                            throws RecognitionException,
                                   CharStreamException,
                                   TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mMINUS_ASSIGN

          public final void mMINUS_ASSIGN(boolean _createToken)
                                   throws RecognitionException,
                                          CharStreamException,
                                          TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mDEC

          public final void mDEC(boolean _createToken)
                          throws RecognitionException,
                                 CharStreamException,
                                 TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mSTAR

          public final void mSTAR(boolean _createToken)
                           throws RecognitionException,
                                  CharStreamException,
                                  TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mSTAR_ASSIGN

          public final void mSTAR_ASSIGN(boolean _createToken)
                                  throws RecognitionException,
                                         CharStreamException,
                                         TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mMOD

          public final void mMOD(boolean _createToken)
                          throws RecognitionException,
                                 CharStreamException,
                                 TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mMOD_ASSIGN

          public final void mMOD_ASSIGN(boolean _createToken)
                                 throws RecognitionException,
                                        CharStreamException,
                                        TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mSR

          public final void mSR(boolean _createToken)
                         throws RecognitionException,
                                CharStreamException,
                                TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mSR_ASSIGN

          public final void mSR_ASSIGN(boolean _createToken)
                                throws RecognitionException,
                                       CharStreamException,
                                       TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mBSR

          public final void mBSR(boolean _createToken)
                          throws RecognitionException,
                                 CharStreamException,
                                 TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mBSR_ASSIGN

          public final void mBSR_ASSIGN(boolean _createToken)
                                 throws RecognitionException,
                                        CharStreamException,
                                        TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mGE

          public final void mGE(boolean _createToken)
                         throws RecognitionException,
                                CharStreamException,
                                TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mGT

          public final void mGT(boolean _createToken)
                         throws RecognitionException,
                                CharStreamException,
                                TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mSL

          public final void mSL(boolean _createToken)
                         throws RecognitionException,
                                CharStreamException,
                                TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mSL_ASSIGN

          public final void mSL_ASSIGN(boolean _createToken)
                                throws RecognitionException,
                                       CharStreamException,
                                       TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mLE

          public final void mLE(boolean _createToken)
                         throws RecognitionException,
                                CharStreamException,
                                TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mLT

          public final void mLT(boolean _createToken)
                         throws RecognitionException,
                                CharStreamException,
                                TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mBXOR

          public final void mBXOR(boolean _createToken)
                           throws RecognitionException,
                                  CharStreamException,
                                  TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mBXOR_ASSIGN

          public final void mBXOR_ASSIGN(boolean _createToken)
                                  throws RecognitionException,
                                         CharStreamException,
                                         TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mBOR

          public final void mBOR(boolean _createToken)
                          throws RecognitionException,
                                 CharStreamException,
                                 TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mBOR_ASSIGN

          public final void mBOR_ASSIGN(boolean _createToken)
                                 throws RecognitionException,
                                        CharStreamException,
                                        TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mLOR

          public final void mLOR(boolean _createToken)
                          throws RecognitionException,
                                 CharStreamException,
                                 TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mBAND

          public final void mBAND(boolean _createToken)
                           throws RecognitionException,
                                  CharStreamException,
                                  TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mBAND_ASSIGN

          public final void mBAND_ASSIGN(boolean _createToken)
                                  throws RecognitionException,
                                         CharStreamException,
                                         TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mLAND

          public final void mLAND(boolean _createToken)
                           throws RecognitionException,
                                  CharStreamException,
                                  TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mSEMI

          public final void mSEMI(boolean _createToken)
                           throws RecognitionException,
                                  CharStreamException,
                                  TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mWS

          public final void mWS(boolean _createToken)
                         throws RecognitionException,
                                CharStreamException,
                                TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mSL_COMMENT

          public final void mSL_COMMENT(boolean _createToken)
                                 throws RecognitionException,
                                        CharStreamException,
                                        TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mML_COMMENT

          public final void mML_COMMENT(boolean _createToken)
                                 throws RecognitionException,
                                        CharStreamException,
                                        TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mCHAR_LITERAL

          public final void mCHAR_LITERAL(boolean _createToken)
                                   throws RecognitionException,
                                          CharStreamException,
                                          TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mSTRING_LITERAL

          public final void mSTRING_LITERAL(boolean _createToken)
                                     throws RecognitionException,
                                            CharStreamException,
                                            TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mIDENT

          public final void mIDENT(boolean _createToken)
                            throws RecognitionException,
                                   CharStreamException,
                                   TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mNUM_INT

          public final void mNUM_INT(boolean _createToken)
                              throws RecognitionException,
                                     CharStreamException,
                                     TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`

    - #### mAT

          public final void mAT(boolean _createToken)
                         throws RecognitionException,
                                CharStreamException,
                                TokenStreamException

      Throws:
        `RecognitionException`
        `CharStreamException`
        `TokenStreamException`