Class ExtensibleNode

All Implemented Interfaces:
Node
Direct Known Subclasses:
ASTArrayLiteral, ASTMapLiteral, ASTSetLiteral

public class ExtensibleNode extends JexlNode
Base node for array/set/map literals.

Captures constness and extensibility (...)

  • Field Details

    • constant

      protected boolean constant
      Whether this array/set/map is constant or not.
    • extended

      private boolean extended
      Whether this array/set/map is extended or not.
  • Constructor Details

    • ExtensibleNode

      public ExtensibleNode(int id)
  • Method Details

    • isConstant

      protected boolean isConstant(boolean literal)
      Overrides:
      isConstant in class JexlNode
    • isExtended

      public boolean isExtended()
    • jjtClose

      public void jjtClose()
      Description copied from interface: Node
      This method is called after all the child nodes have been added.
      Specified by:
      jjtClose in interface Node
      Overrides:
      jjtClose in class SimpleNode
    • setExtended

      public void setExtended(boolean e)
    • toString

      public String toString()
      Overrides:
      toString in class SimpleNode