Package org.apache.calcite.linq4j.tree
Enum GotoExpressionKind
- All Implemented Interfaces:
Serializable
,Comparable<GotoExpressionKind>
,Constable
Specifies what kind of jump a
GotoStatement
represents.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA GotoExpression that represents a break statement.A GotoExpression that represents a continue statement.A GotoExpression that represents a jump to some location.A GotoExpression that represents a return statement.A GotoExpression that evaluates an expression and carries on. -
Method Summary
Modifier and TypeMethodDescriptionstatic GotoExpressionKind
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.
-
Enum Constant Details
-
Goto
A GotoExpression that represents a jump to some location. -
Return
A GotoExpression that represents a return statement. -
Break
A GotoExpression that represents a break statement. -
Continue
A GotoExpression that represents a continue statement. -
Sequence
A GotoExpression that evaluates an expression and carries on.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-