com.eteks.parser.node
Interface ParameterizedNode
- All Superinterfaces:
- ExpressionNode, java.io.Serializable
- All Known Implementing Classes:
- UnaryOperatorNode, FunctionNode, CommonFunctionNode, BinaryOperatorNode, ConditionNode
- public interface ParameterizedNode
- extends ExpressionNode
Node requiring parameters to compute its value.
Operators and functions implement this interface to store their operands or parameters.
- Since:
- Jeks 1.0
- Version:
- 1.0
- Author:
- Emmanuel Puybaret
Method Summary |
void |
addParameter(ExpressionNode parameter)
Adds the node parameter to the list of parameters or operands
of this node. |
int |
getParameterCount()
Returns the current count of parameters or operands stored by this node. |
addParameter
public void addParameter(ExpressionNode parameter)
- Adds the node
parameter
to the list of parameters or operands
of this node.
- Parameters:
parameter
- the node of an expression used as parameter or operand.
getParameterCount
public int getParameterCount()
- Returns the current count of parameters or operands stored by this node.
- Returns:
- the count of parameters of this node.