public enum ReTokenType extends java.lang.Enum<ReTokenType>
Enum Constant and Description |
---|
ALTERNATIVE |
ANCHOR |
CLASS |
CONCATENATION_IMPLICIT |
ESCAPED_CHAR |
GROUP |
PARENTHESIS_CLOSE |
PARENTHESIS_OPEN |
QUANTIFIER |
SIMPLE_CHAR |
Modifier and Type | Method and Description |
---|---|
static boolean |
needImplicitConcatenation(ReTokenType token1,
ReTokenType token2) |
static ReTokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReTokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReTokenType SIMPLE_CHAR
public static final ReTokenType ESCAPED_CHAR
public static final ReTokenType CLASS
public static final ReTokenType QUANTIFIER
public static final ReTokenType ANCHOR
public static final ReTokenType GROUP
public static final ReTokenType ALTERNATIVE
public static final ReTokenType PARENTHESIS_OPEN
public static final ReTokenType PARENTHESIS_CLOSE
public static final ReTokenType CONCATENATION_IMPLICIT
public static ReTokenType[] values()
for (ReTokenType c : ReTokenType.values()) System.out.println(c);
public static ReTokenType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean needImplicitConcatenation(ReTokenType token1, ReTokenType token2)