public static enum SoyTreeUtils.VisitDirective extends Enum<SoyTreeUtils.VisitDirective>
| Enum Constant and Description |
|---|
ABORT
This means that the whole visit operation should be abrubptly halted.
|
CONTINUE
This means that traversal should continue as normal.
|
SKIP_CHILDREN
This means that the childrent of the current node should not be visited, but traversal should
continue.
|
| Modifier and Type | Method and Description |
|---|---|
static SoyTreeUtils.VisitDirective |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoyTreeUtils.VisitDirective[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoyTreeUtils.VisitDirective SKIP_CHILDREN
public static final SoyTreeUtils.VisitDirective ABORT
public static final SoyTreeUtils.VisitDirective CONTINUE
public static SoyTreeUtils.VisitDirective[] values()
for (SoyTreeUtils.VisitDirective c : SoyTreeUtils.VisitDirective.values()) System.out.println(c);
public static SoyTreeUtils.VisitDirective 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 null