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
-
Constructor Summary
ConstructorDescriptionFunctionExpression
(String name, List<JmespathExpression> arguments) FunctionExpression
(String name, List<JmespathExpression> arguments, int line, int column) -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(ExpressionVisitor<T> visitor) Visits a node using a double-dispatch visitor.boolean
Gets the function arguments.getName()
Gets the function name.int
hashCode()
toString()
-
Field Details
-
name
-
arguments
-
-
Constructor Details
-
FunctionExpression
-
FunctionExpression
-
-
Method Details
-
accept
Description copied from class:JmespathExpression
Visits a node using a double-dispatch visitor.- Specified by:
accept
in 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
-