Class UnpackNode
java.lang.Object
com.aquima.interactions.expressions.parser.ParseNodeBase
com.aquima.interactions.expressions.r7.parser.nodes.UnpackNode
- All Implemented Interfaces:
IParseNode
This class contains a parsed function call.
- Since:
- 6.4
- Author:
- F. van der Meer
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a function node without parameters.UnpackNode
(IParseNode... parameters) Constructs a function node with one or more parameters. -
Method Summary
Modifier and TypeMethodDescriptiongetParameter
(int index) This method returns the parameter at the specified index.int
This method returns the number of parameters for the function.Methods inherited from class com.aquima.interactions.expressions.parser.ParseNodeBase
getEndPosition, getPosition, setPosition
-
Constructor Details
-
UnpackNode
public UnpackNode()Constructs a function node without parameters. -
UnpackNode
Constructs a function node with one or more parameters.- Parameters:
parameters
- The parameters for the function.
-
-
Method Details
-
getParameterCount
public int getParameterCount()This method returns the number of parameters for the function.- Returns:
- the number of parameters for the function.
-
getParameter
This method returns the parameter at the specified index.- Parameters:
index
- The index of the parameter.- Returns:
- The parameter expression node.
-