Interface ELNode
- All Known Implementing Classes:
ELNode.Assign, ELNode.Binary, ELNode.BooleanLiteral, ELNode.Call, ELNode.Composite, ELNode.Eval, ELNode.FloatingPointLiteral, ELNode.Function, ELNode.Identifier, ELNode.IntegerLiteral, ELNode.Lambda, ELNode.ListData, ELNode.LiteralText, ELNode.MapData, ELNode.Method, ELNode.NullLiteral, ELNode.Property, ELNode.Semicolon, ELNode.SetData, ELNode.StringLiteral, ELNode.Ternary, ELNode.Unary
public sealed interface ELNode
permits ELNode.Composite, ELNode.LiteralText, ELNode.Eval, ELNode.NullLiteral, ELNode.BooleanLiteral, ELNode.IntegerLiteral, ELNode.FloatingPointLiteral, ELNode.StringLiteral, ELNode.Identifier, ELNode.Function, ELNode.Property, ELNode.Method, ELNode.Call, ELNode.Unary, ELNode.Binary, ELNode.Ternary, ELNode.Assign, ELNode.Semicolon, ELNode.Lambda, ELNode.SetData, ELNode.ListData, ELNode.MapData
The abstract syntax tree of a parsed Jakarta Expression Language expression.
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordThe assignment operator of the section 1.13 of the specification.static final recordA binary operation.static final recordA boolean literal.static final recordThe invocation of the value of an expression, such as a lambda expression.static final recordA composite expression, as described in the section 1.2.3 of the specification.static final recordAn eval-expression, as described in the section 1.2.1 of the specification.static final recordA floating point literal.static final recordA function invocation, resolved as described in the section 1.5.2 of the specification.static final recordAn identifier, resolved as described in the section 1.5.1 of the specification.static final recordAn integer literal.static enumThe kinds of nodes, one per record.static final recordA lambda expression, as described in the section 1.20 of the specification.static final recordA list construction, as described in the section 2.2.2 of the specification.static final recordA literal-expression, as described in the section 1.2.2 of the specification.static final recordA map construction, as described in the section 2.2.3 of the specification.static final recordA method invocation with the.or the[]operator.static final recordThenullliteral.static final recordA property resolution with the.or the[]operator.static final recordThe semicolon operator of the section 1.14 of the specification.static final recordA set construction, as described in the section 2.2.1 of the specification.static final recordA string literal.static final recordThe conditional operator of the section 1.12 of the specification.static final recordA unary operation. -
Method Summary
-
Method Details
-
kind
ELNode.Kind kind()- Returns:
- The kind of the node, which an evaluator switches on: a switch on an enum is a table switch, where a pattern switch over the sealed types is a linear classification through a method handle
-