Enum Class ELNode.Kind
- All Implemented Interfaces:
Serializable, Comparable<ELNode.Kind>, Constable
- Enclosing interface:
ELNode
The kinds of nodes, one per record.
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAssign.Binary.BooleanLiteral.Call.Composite.Eval.FloatingPointLiteral.Function.Identifier.IntegerLiteral.Lambda.ListData.LiteralText.MapData.Method.NullLiteral.Property.Semicolon.SetData.StringLiteral.Ternary.Unary. -
Method Summary
Modifier and TypeMethodDescriptionstatic ELNode.KindReturns the enum constant of this class with the specified name.static ELNode.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPOSITE
Composite. -
LITERAL_TEXT
LiteralText. -
EVAL
Eval. -
NULL_LITERAL
NullLiteral. -
BOOLEAN_LITERAL
BooleanLiteral. -
INTEGER_LITERAL
IntegerLiteral. -
FLOATING_POINT_LITERAL
FloatingPointLiteral. -
STRING_LITERAL
StringLiteral. -
IDENTIFIER
Identifier. -
FUNCTION
Function. -
PROPERTY
Property. -
METHOD
Method. -
CALL
Call. -
UNARY
Unary. -
BINARY
Binary. -
TERNARY
Ternary. -
ASSIGN
Assign. -
SEMICOLON
Semicolon. -
LAMBDA
Lambda. -
SET_DATA
SetData. -
LIST_DATA
ListData. -
MAP_DATA
MapData.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-