Modifier and Type | Method and Description |
---|---|
int |
getPriority() |
static Symbol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Symbol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Symbol LITTERAL
public static final Symbol DEFINITION
public static final Symbol CONCATENATION
public static final Symbol TERMINATION
public static final Symbol ALTERNATION
public static final Symbol OPTIONAL_OPEN
public static final Symbol OPTIONAL_CLOSE
public static final Symbol OPTIONAL
public static final Symbol REPETITION_SYMBOL
public static final Symbol REPETITION_OPEN
public static final Symbol REPETITION_CLOSE
public static final Symbol REPETITION_MINUS_CLOSE
public static final Symbol REPETITION_ZERO_OR_MORE
public static final Symbol REPETITION_ONE_OR_MORE
public static final Symbol GROUPING_OPEN
public static final Symbol GROUPING_CLOSE
public static final Symbol TERMINAL_STRING1
public static final Symbol TERMINAL_STRING2
public static final Symbol COMMENT_TOKEN
public static final Symbol COMMENT_BELOW
public static final Symbol COMMENT_ABOVE
public static final Symbol SPECIAL_SEQUENCE
public static final Symbol EXCEPTION
public static Symbol[] values()
for (Symbol c : Symbol.values()) System.out.println(c);
public static Symbol 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 int getPriority()