public interface JavaTokens
JavaTokens interface defines the constants for the
 various tokens of the Java Language.  Details of the language taken from 
 Java Language SpecificationLexerToken, 
JavaLexer| Modifier and Type | Field and Description | 
|---|---|
static short[] | 
DW_values
Token array of duplicate keywords. 
 | 
static java.lang.String[] | 
DW_words
String array of duplicate keywords. 
 | 
static byte | 
J2SE_13
Indicates that this lexer will be used for the j2se 1.3 language. 
 | 
static byte | 
J2SE_14
Indicates that this lexer will be used for the j2se 1.4 language. 
 | 
static byte | 
J2SE_15
Indicates that this lexer will be used for the j2se 1.5 language. 
 | 
static byte | 
J2SE_16
Indicates that this lexer will be used for the j2se 1.6 language. 
 | 
static byte | 
J2SE_17
Indicates that this lexer will be used for the j2se 1.7 language. 
 | 
static byte | 
J2SE_18
Indicates that this lexer will be used for the j2se 1.8 language. 
 | 
static byte | 
J2SE_MAX
The highest JDK version supported 
 | 
static byte | 
J2SE_MIN
The lowest JDK version supported 
 | 
static short | 
KW_ABSTRACT  | 
static short | 
KW_ASSERT  | 
static short | 
KW_base
Base value for keywords. 
 | 
static short | 
KW_BOOLEAN  | 
static short | 
KW_BREAK  | 
static short | 
KW_BYTE  | 
static short | 
KW_CASE  | 
static short | 
KW_CATCH  | 
static short | 
KW_CHAR  | 
static short | 
KW_CLASS  | 
static short | 
KW_CONST  | 
static short | 
KW_CONTINUE  | 
static short | 
KW_DEFAULT  | 
static short | 
KW_DO  | 
static short | 
KW_DOUBLE  | 
static short | 
KW_ELSE  | 
static short | 
KW_ENUM  | 
static short | 
KW_EXTENDS  | 
static short | 
KW_FINAL  | 
static short | 
KW_FINALLY  | 
static short | 
KW_FLOAT  | 
static short | 
KW_FOR  | 
static short | 
KW_GOTO  | 
static short | 
KW_IF  | 
static short | 
KW_IMPLEMENTS  | 
static short | 
KW_IMPORT  | 
static short | 
KW_INSTANCEOF  | 
static short | 
KW_INT  | 
static short | 
KW_INTERFACE  | 
static short | 
KW_j2se13_max
Subtracted from KW_base, this yields the count of JDK 1.3 keywords. 
 | 
static short | 
KW_j2se14_max
Subtracted from KW_base, this yields the count of JDK 1.4 keywords. 
 | 
static short | 
KW_j2se15_max
Subtracted from KW_base, this yields the count of JDK 1.5 keywords. 
 | 
static short | 
KW_j2se16_max
JDK 1.6 has the same keywords as 1.5 
 | 
static short | 
KW_j2se17_max
JDK 1.7 has the same keywords as 1.5 
 | 
static short | 
KW_j2se18_max
JDK 1.8 has the same keywords as 1.5 
 | 
static short | 
KW_LONG  | 
static short | 
KW_max
Subtracted from KW_base, this yields the total count of keywords. 
 | 
static short | 
KW_NATIVE  | 
static short | 
KW_NEW  | 
static short | 
KW_PACKAGE  | 
static short | 
KW_PRIVATE  | 
static short | 
KW_PROTECTED  | 
static short | 
KW_PUBLIC  | 
static short | 
KW_RETURN  | 
static short | 
KW_SHORT  | 
static short | 
KW_STATIC  | 
static short | 
KW_STRICTFP  | 
static short | 
KW_SUPER  | 
static short | 
KW_SWITCH  | 
static short | 
KW_SYNCHRONIZED  | 
static short | 
KW_THIS  | 
static short | 
KW_THROW  | 
static short | 
KW_THROWS  | 
static short | 
KW_TRANSIENT  | 
static short | 
KW_TRY  | 
static short | 
KW_VOID  | 
static short | 
KW_VOLATILE  | 
static short | 
KW_WHILE  | 
static java.lang.String[] | 
KW_words
String array of keywords. 
 | 
static short | 
OP_AND_ASG
"&=" 
 | 
static short | 
OP_ASG
"=" 
 | 
static short | 
OP_AT
"@" 
 | 
static short | 
OP_base
Base value for operators. 
 | 
static short | 
OP_BINAND
"&" 
 | 
static short[] | 
OP_binary
A listing of all OP_* tokens that are part of a binary operator. 
 | 
static short | 
OP_BINNOT
"~" 
 | 
static short | 
OP_BINOR
"|" 
 | 
static short | 
OP_BINXOR
"^" 
 | 
static short | 
OP_COLON
":" 
 | 
static short | 
OP_COLONCOLON
"::" used in method references 
 | 
static short | 
OP_COMMA
"," 
 | 
static short | 
OP_DEC
"--" 
 | 
static short | 
OP_DIV
"/" 
 | 
static short | 
OP_DIV_ASG
"/=" 
 | 
static short | 
OP_DOT
"." 
 | 
static short | 
OP_ELLIPSIS
"..." 
 | 
static short | 
OP_EQ
"==" 
 | 
static short | 
OP_GE
">=" 
 | 
static short | 
OP_GT
">" 
 | 
static short | 
OP_HASH
"#" 
 | 
static short | 
OP_INC
"++" 
 | 
static short | 
OP_LBRACE
"{" 
 | 
static short | 
OP_LBRACKET
"[" 
 | 
static short | 
OP_LE
"<=" 
 | 
static short | 
OP_LOGAND
"&&" 
 | 
static short | 
OP_LOGNOT
"!" 
 | 
static short | 
OP_LOGOR
"||" 
 | 
static short | 
OP_LPAREN
"(" 
 | 
static short | 
OP_LSH
"<<" 
 | 
static short | 
OP_LSH_ASG
"<<=" 
 | 
static short | 
OP_LT
"<" 
 | 
static short | 
OP_max
OP_max - OP_base yields the total count of operators. 
 | 
static short | 
OP_MINUS
"-" 
 | 
static short | 
OP_MINUS_ASG
"-=" 
 | 
static short | 
OP_MOD
"%" 
 | 
static short | 
OP_MOD_ASG
"%=" 
 | 
static short | 
OP_MUL
"*" 
 | 
static short | 
OP_MUL_ASG
"*=" 
 | 
static short | 
OP_NE
"!=" 
 | 
static short | 
OP_OR_ASG
"|=" 
 | 
static short | 
OP_PLUS
"+" 
 | 
static short | 
OP_PLUS_ASG
"+=" 
 | 
static short[] | 
OP_prefix
A listing of all OP_* tokens that are part of a unary prefix
 operator. 
 | 
static short | 
OP_QUES
"?" 
 | 
static short | 
OP_RBRACE
"}" 
 | 
static short | 
OP_RBRACKET
"]" 
 | 
static short | 
OP_RIGHT_ARROW
"->" used in lambda expressions. 
 | 
static short | 
OP_RPAREN
")" 
 | 
static short | 
OP_RSH
">>" 
 | 
static short | 
OP_RSH_ASG
">>=" 
 | 
static short | 
OP_SEMI
";" 
 | 
static short | 
OP_URSH
">>>" 
 | 
static short | 
OP_URSH_ASG
">>>=" 
 | 
static java.lang.String[] | 
OP_words
String array, one for each OP token. 
 | 
static short | 
OP_XOR_ASG
"^=" 
 | 
static short | 
TK_base
The (inclusive) base value for the Java TK_XXX values. 
 | 
static short | 
TK_BOOLEAN_LITERAL
Constant for boolean (true, false) literals. 
 | 
static short | 
TK_CHAR_LITERAL
Constant for character literals. 
 | 
static short | 
TK_DOC_COMMENT
Constant for a JavaDoc comment. 
 | 
static short | 
TK_DOUBLE_LITERAL
Constant for double literals. 
 | 
static short | 
TK_EOF
Declared here for convenience. 
 | 
static short | 
TK_FLOAT_LITERAL
Constant for float literals. 
 | 
static short | 
TK_IDENTIFIER
Constant for an identifier which is not a literal or a Java reserved
 word. 
 | 
static short | 
TK_INT_LITERAL
Constant for integer (decimal, hexadecimal, octal) literals. 
 | 
static short | 
TK_LITERAL_base
Minimum (inclusive) literal token. 
 | 
static short | 
TK_LITERAL_max
Maximum exclusive literal token. 
 | 
static short | 
TK_LONG_LITERAL
Constant for long (decimal, hexadecimal, octal) literals. 
 | 
static short | 
TK_max
The (exclusive) max value of the Java TK_XXX constants. 
 | 
static short | 
TK_MULTI_COMMENT
Constant for a Java multi-line comment. 
 | 
static short | 
TK_NULL_LITERAL
Constant for the null literal. 
 | 
static short | 
TK_SINGLE_COMMENT
Constant for a Java single-line comment. 
 | 
static short | 
TK_SQLJ
Constant for a SQLJ statement embedded inside a Java file. 
 | 
static short | 
TK_STRING_LITERAL
Constant for string literals. 
 | 
static short | 
TK_WHITESPACE
Constant for whitespace. 
 | 
static java.lang.String[] | 
TK_words
String array, one for each TK token. 
 | 
static final byte J2SE_13
static final byte J2SE_14
static final byte J2SE_15
static final byte J2SE_16
static final byte J2SE_17
static final byte J2SE_18
static final byte J2SE_MIN
static final byte J2SE_MAX
static final short TK_EOF
static final short TK_IDENTIFIER
static final short TK_WHITESPACE
static final short TK_SQLJ
static final short TK_LITERAL_base
static final short TK_INT_LITERAL
static final short TK_LONG_LITERAL
static final short TK_FLOAT_LITERAL
static final short TK_DOUBLE_LITERAL
static final short TK_BOOLEAN_LITERAL
static final short TK_CHAR_LITERAL
static final short TK_STRING_LITERAL
static final short TK_NULL_LITERAL
static final short TK_LITERAL_max
static final short TK_SINGLE_COMMENT
static final short TK_MULTI_COMMENT
static final short TK_DOC_COMMENT
static final short TK_base
static final short TK_max
static final java.lang.String[] TK_words
static final short OP_base
static final short OP_AND_ASG
static final short OP_ASG
static final short OP_BINAND
static final short OP_BINNOT
static final short OP_BINOR
static final short OP_BINXOR
static final short OP_COLON
static final short OP_COMMA
static final short OP_DEC
static final short OP_DIV
static final short OP_DIV_ASG
static final short OP_DOT
static final short OP_EQ
static final short OP_GE
static final short OP_GT
static final short OP_HASH
static final short OP_INC
static final short OP_LBRACE
static final short OP_LBRACKET
static final short OP_LE
static final short OP_LOGAND
static final short OP_LOGNOT
static final short OP_LOGOR
static final short OP_LPAREN
static final short OP_LSH
static final short OP_LSH_ASG
static final short OP_LT
static final short OP_MINUS
static final short OP_MINUS_ASG
static final short OP_MOD
static final short OP_MOD_ASG
static final short OP_MUL
static final short OP_MUL_ASG
static final short OP_NE
static final short OP_OR_ASG
static final short OP_PLUS
static final short OP_PLUS_ASG
static final short OP_QUES
static final short OP_RBRACE
static final short OP_RBRACKET
static final short OP_RPAREN
static final short OP_RSH
static final short OP_RSH_ASG
static final short OP_SEMI
static final short OP_URSH
static final short OP_URSH_ASG
static final short OP_XOR_ASG
static final short OP_AT
static final short OP_ELLIPSIS
static final short OP_COLONCOLON
static final short OP_RIGHT_ARROW
static final short OP_max
static final java.lang.String[] OP_words
static final short[] OP_prefix
static final short[] OP_binary
static final short KW_base
static final short KW_ABSTRACT
static final short KW_BOOLEAN
static final short KW_BREAK
static final short KW_BYTE
static final short KW_CASE
static final short KW_CATCH
static final short KW_CHAR
static final short KW_CLASS
static final short KW_CONST
static final short KW_CONTINUE
static final short KW_DEFAULT
static final short KW_DO
static final short KW_DOUBLE
static final short KW_ELSE
static final short KW_EXTENDS
static final short KW_FINAL
static final short KW_FINALLY
static final short KW_FLOAT
static final short KW_FOR
static final short KW_GOTO
static final short KW_IF
static final short KW_IMPLEMENTS
static final short KW_IMPORT
static final short KW_INSTANCEOF
static final short KW_INT
static final short KW_INTERFACE
static final short KW_LONG
static final short KW_NATIVE
static final short KW_NEW
static final short KW_PACKAGE
static final short KW_PRIVATE
static final short KW_PROTECTED
static final short KW_PUBLIC
static final short KW_RETURN
static final short KW_SHORT
static final short KW_STATIC
static final short KW_STRICTFP
static final short KW_SUPER
static final short KW_SWITCH
static final short KW_SYNCHRONIZED
static final short KW_THIS
static final short KW_THROW
static final short KW_THROWS
static final short KW_TRANSIENT
static final short KW_TRY
static final short KW_VOID
static final short KW_VOLATILE
static final short KW_WHILE
static final short KW_ASSERT
static final short KW_ENUM
static final short KW_max
static final short KW_j2se13_max
static final short KW_j2se14_max
static final short KW_j2se15_max
static final short KW_j2se16_max
static final short KW_j2se17_max
static final short KW_j2se18_max
static final java.lang.String[] KW_words
static final java.lang.String[] DW_words
static final short[] DW_values