public enum GotoExpressionKind extends Enum<GotoExpressionKind>
GotoStatement
represents.Enum Constant and Description |
---|
Break
A GotoExpression that represents a break statement.
|
Continue
A GotoExpression that represents a continue statement.
|
Goto
A GotoExpression that represents a jump to some location.
|
Return
A GotoExpression that represents a return statement.
|
Sequence
A GotoExpression that evaluates an expression and carries on.
|
Modifier and Type | Method and Description |
---|---|
static GotoExpressionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GotoExpressionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GotoExpressionKind Goto
public static final GotoExpressionKind Return
public static final GotoExpressionKind Break
public static final GotoExpressionKind Continue
public static final GotoExpressionKind Sequence
public static GotoExpressionKind[] values()
for (GotoExpressionKind c : GotoExpressionKind.values()) System.out.println(c);
public static GotoExpressionKind 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 © 2012-2014 Julian Hyde. All Rights Reserved.