public static enum SyntaxNodeVisitor.Result extends java.lang.Enum<SyntaxNodeVisitor.Result>
SyntaxNodeVisitor.Result
contains possible visitor results.Enum Constant and Description |
---|
ABORT
Stop traversal.
|
OK
Continue traversal.
|
PRUNE
Do not traverse the children subtrees.
|
REPEAT
Repeat traversal of the node.
|
Modifier and Type | Method and Description |
---|---|
static SyntaxNodeVisitor.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SyntaxNodeVisitor.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyntaxNodeVisitor.Result OK
public static final SyntaxNodeVisitor.Result PRUNE
SyntaxNodeVisitor.onEnd(ru.ispras.castle.ast.basis.SyntaxNode<Tag>)
handler.public static final SyntaxNodeVisitor.Result REPEAT
SyntaxNodeVisitor.onEnd(ru.ispras.castle.ast.basis.SyntaxNode<Tag>)
handler.public static final SyntaxNodeVisitor.Result ABORT
public static SyntaxNodeVisitor.Result[] values()
for (SyntaxNodeVisitor.Result c : SyntaxNodeVisitor.Result.values()) System.out.println(c);
public static SyntaxNodeVisitor.Result 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