Interface OperatorValue

All Superinterfaces:
Value

public interface OperatorValue extends Value
  • Method Details

    • getOperator

      OperatorNode.Operator getOperator()
    • getNumberOfArguments

      int getNumberOfArguments()
      Returns the number of arguments in this operator expression.
      Returns:
      the number of arguments
    • getArgument

      Value getArgument(int index)
      Returns the index-th argument, indexed from 0. Beware: the argument index and the child index are off by one! So, argument 0 is child 1. That is because child 0 is the operator.