Enum DelegateToken.DelegateTokenType
- java.lang.Object
-
- java.lang.Enum<DelegateToken.DelegateTokenType>
-
- com.googlecode.aviator.lexer.token.DelegateToken.DelegateTokenType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DelegateToken.DelegateTokenType>
- Enclosing class:
- DelegateToken
public static enum DelegateToken.DelegateTokenType extends java.lang.Enum<DelegateToken.DelegateTokenType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description And_Left
Array
Index_Start
Join_Left
Lambda_New
Method_Name
Method_Param
Ternary_Boolean
Ternary_Left
Ternay_End
-
Constructor Summary
Constructors Modifier Constructor Description private
DelegateTokenType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DelegateToken.DelegateTokenType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DelegateToken.DelegateTokenType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
And_Left
public static final DelegateToken.DelegateTokenType And_Left
-
Join_Left
public static final DelegateToken.DelegateTokenType Join_Left
-
Ternary_Boolean
public static final DelegateToken.DelegateTokenType Ternary_Boolean
-
Ternary_Left
public static final DelegateToken.DelegateTokenType Ternary_Left
-
Array
public static final DelegateToken.DelegateTokenType Array
-
Index_Start
public static final DelegateToken.DelegateTokenType Index_Start
-
Method_Name
public static final DelegateToken.DelegateTokenType Method_Name
-
Method_Param
public static final DelegateToken.DelegateTokenType Method_Param
-
Lambda_New
public static final DelegateToken.DelegateTokenType Lambda_New
-
Ternay_End
public static final DelegateToken.DelegateTokenType Ternay_End
-
-
Method Detail
-
values
public static DelegateToken.DelegateTokenType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DelegateToken.DelegateTokenType c : DelegateToken.DelegateTokenType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DelegateToken.DelegateTokenType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-