Package org.opencypher.grammar
Enum Grammar.Builder.Option
- java.lang.Object
-
- java.lang.Enum<Grammar.Builder.Option>
-
- org.opencypher.grammar.Grammar.Builder.Option
-
- All Implemented Interfaces:
Serializable,Comparable<Grammar.Builder.Option>
- Enclosing class:
- Grammar.Builder
public static enum Grammar.Builder.Option extends Enum<Grammar.Builder.Option>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_ROOTLESSIGNORE_UNUSED_PRODUCTIONS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Grammar.Builder.OptionvalueOf(String name)Returns the enum constant of this type with the specified name.static Grammar.Builder.Option[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE_UNUSED_PRODUCTIONS
public static final Grammar.Builder.Option IGNORE_UNUSED_PRODUCTIONS
-
ALLOW_ROOTLESS
public static final Grammar.Builder.Option ALLOW_ROOTLESS
-
-
Method Detail
-
values
public static Grammar.Builder.Option[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Grammar.Builder.Option c : Grammar.Builder.Option.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Grammar.Builder.Option valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-