public enum EBNFModifier extends Enum<EBNFModifier>
Modifier and Type | Method and Description |
---|---|
static boolean |
addsEpsilon(EBNFModifier arg) |
static boolean |
addsRepetitions(EBNFModifier arg) |
static EBNFModifier |
compose(EBNFModifier... args) |
static EBNFModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EBNFModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EBNFModifier none
public static final EBNFModifier optional
public static final EBNFModifier star
public static final EBNFModifier plus
public static EBNFModifier[] values()
for (EBNFModifier c : EBNFModifier.values()) System.out.println(c);
public static EBNFModifier 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 nullpublic static EBNFModifier compose(EBNFModifier... args)
public static boolean addsEpsilon(EBNFModifier arg)
public static boolean addsRepetitions(EBNFModifier arg)
see also the complete user documentation .