public enum NodeFlag extends java.lang.Enum<NodeFlag> implements IntegralConstant
ASTNode| Enum Constant and Description |
|---|
MALFORMED |
ORIGINAL |
PROTECT |
RECOVERED |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static java.util.Set<NodeFlag> |
setOf(int values) |
static NodeFlag |
valueOf(int value) |
static NodeFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static int |
valuesAsInteger() |
static int |
valuesAsInteger(java.util.Set<NodeFlag> values) |
static java.util.Set<java.lang.Integer> |
valuesAsIntegers() |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfequalspublic static final NodeFlag MALFORMED
ASTNode.MALFORMEDpublic static final NodeFlag ORIGINAL
ASTNode.ORIGINALpublic static final NodeFlag PROTECT
ASTNode.PROTECTpublic static final NodeFlag RECOVERED
ASTNode.RECOVEREDpublic static NodeFlag[] values()
for (NodeFlag c : NodeFlag.values()) System.out.println(c);
public static NodeFlag 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 static java.util.Set<java.lang.Integer> valuesAsIntegers()
public static int valuesAsInteger()
public static int valuesAsInteger(java.util.Set<NodeFlag> values)
public static NodeFlag valueOf(int value)
public static java.util.Set<NodeFlag> setOf(int values)
public int getValue()
getValue in interface IntegralConstant