public static enum Node.Parenthesize extends java.lang.Enum<Node.Parenthesize>
Enum Constant and Description |
---|
ALWAYS
Always encapsulate
|
DEFAULT
Determine encapsulation based on number of children.
|
NEVER
Never encapsulate.
|
Modifier and Type | Method and Description |
---|---|
static Node.Parenthesize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Node.Parenthesize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Node.Parenthesize ALWAYS
public static final Node.Parenthesize NEVER
@foo:(val1|val2)
. However something like @foo:v1 @bar:v2
need not be
parenthesized.public static final Node.Parenthesize DEFAULT
public static Node.Parenthesize[] values()
for (Node.Parenthesize c : Node.Parenthesize.values()) System.out.println(c);
public static Node.Parenthesize 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 nullCopyright © 2023. All rights reserved.