public static enum ITerminalNode.TerminalKind extends Enum<ITerminalNode.TerminalKind>
Enum Constant and Description |
---|
DEFAULT
A default clause from a switch node
|
ELSE
An else clause
|
FINALLY
a finally clause from a try/catch/finally
|
Modifier and Type | Method and Description |
---|---|
static ITerminalNode.TerminalKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ITerminalNode.TerminalKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ITerminalNode.TerminalKind DEFAULT
public static final ITerminalNode.TerminalKind ELSE
public static final ITerminalNode.TerminalKind FINALLY
public static ITerminalNode.TerminalKind[] values()
for (ITerminalNode.TerminalKind c : ITerminalNode.TerminalKind.values()) System.out.println(c);
public static ITerminalNode.TerminalKind 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 nullCopyright © 2016 The Apache Software Foundation. All rights reserved.