Class FunctionExpression
java.lang.Object
software.amazon.smithy.jmespath.JmespathExpression
software.amazon.smithy.jmespath.ast.FunctionExpression
Executes a function by name using a list of argument expressions.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFunctionExpression(String name, List<JmespathExpression> arguments) FunctionExpression(String name, List<JmespathExpression> arguments, int line, int column) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(ExpressionVisitor<T> visitor) Visits a node using a double-dispatch visitor.booleanGets the function arguments.getName()Gets the function name.inthashCode()toString()
-
Field Details
-
name
-
arguments
-
-
Constructor Details
-
FunctionExpression
-
FunctionExpression
-
-
Method Details
-
accept
Description copied from class:JmespathExpressionVisits a node using a double-dispatch visitor.- Specified by:
acceptin classJmespathExpression- 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
Gets the function name.- Returns:
- Returns the name.
-
getArguments
Gets the function arguments.- Returns:
- Returns the argument expressions.
-
equals
-
hashCode
public int hashCode() -
toString
-