Interface Expression

    • Method Detail

      • evaluate

        Value evaluate​(Map<String,​Object> variables)
                throws EvaluationException
        Evaluates this expression using the specified variable values. The variable map may be modified as a result of an "assign" expression.
        Parameters:
        variables - the variable values (can be null)
        Returns:
        the value of the expression
        Throws:
        EvaluationException - if the expression can't be evaluted with the specified variables
      • getChildren

        List<Expression> getChildren()
        Returns the child expressions of this expression.
        Returns:
        the child expressions
      • getDescendants

        List<Expression> getDescendants()
        Returns all descendant expressions of this expression.
        Returns:
        the descendant expressions
      • getVariableNames

        Set<String> getVariableNames()
        Returns all variable names that occur in this expression and its descendants.
        Returns:
        the variable names