public static enum Parser.Pragma extends Enum<Parser.Pragma>
Enum Constant and Description |
---|
Disjoint
Disallow choices that are not determined by the next token type.
|
Greedy
Force shift-reduce conflicts to be resolved deterministically to shift.
|
Productive
Disallow the optional modification of epsilon syntax.
|
Modifier and Type | Method and Description |
---|---|
static Parser.Pragma |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parser.Pragma[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parser.Pragma Greedy
public static final Parser.Pragma Productive
public static final Parser.Pragma Disjoint
public static Parser.Pragma[] values()
for (Parser.Pragma c : Parser.Pragma.values()) System.out.println(c);
public static Parser.Pragma 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 nullsee also the complete user documentation .