Class ListopNode
java.lang.Object
com.aquima.interactions.expressions.parser.ParseNodeBase
com.aquima.interactions.expressions.r7.parser.nodes.ListopNode
- All Implemented Interfaces:
IParseNode
Parse node for a list operation expression.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionListopNode
(String functionName, VariableNode objectRef, VariableNode fromExpr, IParseNode whereExpr) Constructs the list operation node with the parsed arguments. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the expression that should be evaluated to retrieve the values of the list.This method returns the name of the function that should be applied to the list (optional).This method returns the name of the objects from the list.This method returns the condition expression that should be evaluated for each object in the list.Methods inherited from class com.aquima.interactions.expressions.parser.ParseNodeBase
getEndPosition, getPosition, setPosition
-
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
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
This method returns the name of the objects from the list.- Returns:
- The name of the objects from the list.
-
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
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.
-