java.lang.Object
com.aquima.interactions.expressions.parser.ParseNodeBase
com.aquima.interactions.expressions.r7.parser.nodes.ListopNode
All Implemented Interfaces:
IParseNode

public class ListopNode extends ParseNodeBase
Parse node for a list operation expression.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

    • ListopNode

      public ListopNode(String functionName, VariableNode objectRef, VariableNode fromExpr, IParseNode whereExpr)
      Constructs the list operation node with the parsed arguments.
      Parameters:
      functionName - The name of the function that should be applied to the list (optional).
      objectRef - The name of the objects from the list.
      fromExpr - The expression that should be evaluated to retrieve the values of the list.
      whereExpr - The condition expression that should be evaluated for each object in the list.
  • Method Details

    • getFunctionName

      public String getFunctionName()
      This method returns the name of the function that should be applied to the list (optional).
      Returns:
      The name of the function that should be applied to the list (optional).
    • getObjectRef

      public VariableNode getObjectRef()
      This method returns the name of the objects from the list.
      Returns:
      The name of the objects from the list.
    • getFromExpression

      public VariableNode getFromExpression()
      This method returns the expression that should be evaluated to retrieve the values of the list.
      Returns:
      The expression that should be evaluated to retrieve the values of the list.
    • getWhereExpression

      public IParseNode getWhereExpression()
      This method returns the condition expression that should be evaluated for each object in the list.
      Returns:
      The condition expression that should be evaluated for each object in the list.