public static enum SymbolNode.Type extends java.lang.Enum<SymbolNode.Type>
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
inspect(java.lang.Object symbol) |
static SymbolNode.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SymbolNode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SymbolNode.Type SYMBOL
public static final SymbolNode.Type BRACKET
public static final SymbolNode.Type STRING
public static SymbolNode.Type[] values()
for (SymbolNode.Type c : SymbolNode.Type.values()) System.out.println(c);
public static SymbolNode.Type 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 abstract java.lang.String inspect(java.lang.Object symbol)