private static enum TreeWalker.AstState extends java.lang.Enum<TreeWalker.AstState>
Enum Constant and Description |
---|
ORDINARY
Ordinary tree.
|
WITH_COMMENTS
AST contains comment nodes.
|
Modifier and Type | Method and Description |
---|---|
static TreeWalker.AstState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeWalker.AstState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeWalker.AstState ORDINARY
public static final TreeWalker.AstState WITH_COMMENTS
public static TreeWalker.AstState[] values()
for (TreeWalker.AstState c : TreeWalker.AstState.values()) System.out.println(c);
public static TreeWalker.AstState 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 null