Class FunctionExpression

java.lang.Object
software.amazon.smithy.jmespath.JmespathExpression
software.amazon.smithy.jmespath.ast.FunctionExpression

public final class FunctionExpression extends JmespathExpression
Executes a function by name using a list of argument expressions.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • accept

      public <T> T accept(ExpressionVisitor<T> visitor)
      Description copied from class: JmespathExpression
      Visits a node using a double-dispatch visitor.
      Specified by:
      accept in class JmespathExpression
      Type Parameters:
      T - Type of value the visitor returns.
      Parameters:
      visitor - Visitor to accept on the node.
      Returns:
      Returns the result of applying the visitor.
    • getName

      public String getName()
      Gets the function name.
      Returns:
      Returns the name.
    • getArguments

      public List<JmespathExpression> getArguments()
      Gets the function arguments.
      Returns:
      Returns the argument expressions.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object