public enum TokenType extends Enum<TokenType>
Enum Constant and Description |
---|
ALT |
ANCHOR |
ANYCHAR |
ANYCHAR_ANYTIME |
BACKREF |
CALL |
CC_AND |
CC_CC_OPEN |
CC_CLOSE |
CC_OPEN |
CC_RANGE |
CHAR |
CHAR_PROPERTY |
CHAR_TYPE |
CODE_POINT |
EOT |
INTERVAL |
OP_REPEAT |
POSIX_BRACKET_OPEN |
QUOTE_OPEN |
RAW_BYTE |
STRING |
SUBEXP_CLOSE |
SUBEXP_OPEN |
Modifier and Type | Method and Description |
---|---|
static TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenType EOT
public static final TokenType RAW_BYTE
public static final TokenType CHAR
public static final TokenType STRING
public static final TokenType CODE_POINT
public static final TokenType ANYCHAR
public static final TokenType CHAR_TYPE
public static final TokenType BACKREF
public static final TokenType CALL
public static final TokenType ANCHOR
public static final TokenType OP_REPEAT
public static final TokenType INTERVAL
public static final TokenType ANYCHAR_ANYTIME
public static final TokenType ALT
public static final TokenType SUBEXP_OPEN
public static final TokenType SUBEXP_CLOSE
public static final TokenType CC_OPEN
public static final TokenType QUOTE_OPEN
public static final TokenType CHAR_PROPERTY
public static final TokenType CC_CLOSE
public static final TokenType CC_RANGE
public static final TokenType POSIX_BRACKET_OPEN
public static final TokenType CC_AND
public static final TokenType CC_CC_OPEN
public static TokenType[] values()
for (TokenType c : TokenType.values()) System.out.println(c);
public static TokenType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.