public static enum Term.Operator extends Enum<Term.Operator>
Currently, operators are only syntactic sugar, because they are not used during parsing values in current implementation
| Modifier and Type | Method and Description |
|---|---|
String |
value() |
static Term.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Term.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Term.Operator SPACE
public static final Term.Operator SLASH
public static final Term.Operator COMMA
public static Term.Operator[] values()
for (Term.Operator c : Term.Operator.values()) System.out.println(c);
public static Term.Operator 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 String value()
Copyright © 2014. All rights reserved.