Interface IExpressionNode

    • Method Detail

      • evaluate

        IValue evaluate​(IValueEnvironment environment)
        This method evaluates the node using the environment passed as argument and returns the result as a value or null if the result is unknown.
        Parameters:
        environment - The environment that should be used when evaluating the node.
        Returns:
        The result of the evaluation, or null if the result is unknown.
        Throws:
        ExpressionException - This exception is thrown when the node could not be evaluated due to an unexpected error.