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