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

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    The assignment operator of the section 1.13 of the specification.
    static final record 
    A binary operation.
    static final record 
    A boolean literal.
    static final record 
    The invocation of the value of an expression, such as a lambda expression.
    static final record 
    A composite expression, as described in the section 1.2.3 of the specification.
    static final record 
    An eval-expression, as described in the section 1.2.1 of the specification.
    static final record 
    A floating point literal.
    static final record 
    A function invocation, resolved as described in the section 1.5.2 of the specification.
    static final record 
    An identifier, resolved as described in the section 1.5.1 of the specification.
    static final record 
    An integer literal.
    static enum 
    The kinds of nodes, one per record.
    static final record 
    A lambda expression, as described in the section 1.20 of the specification.
    static final record 
    A list construction, as described in the section 2.2.2 of the specification.
    static final record 
    A literal-expression, as described in the section 1.2.2 of the specification.
    static final record 
    A map construction, as described in the section 2.2.3 of the specification.
    static final record 
    A method invocation with the . or the [] operator.
    static final record 
    The null literal.
    static final record 
    A property resolution with the . or the [] operator.
    static final record 
    The semicolon operator of the section 1.14 of the specification.
    static final record 
    A set construction, as described in the section 2.2.1 of the specification.
    static final record 
    A string literal.
    static final record 
    The conditional operator of the section 1.12 of the specification.
    static final record 
    A unary operation.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • 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