Class FlattenExpression
java.lang.Object
software.amazon.smithy.jmespath.JmespathExpression
software.amazon.smithy.jmespath.ast.FlattenExpression
Flattens the wrapped expression into an array.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlattenExpression(JmespathExpression expression) FlattenExpression(JmespathExpression expression, int line, int column) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(ExpressionVisitor<T> visitor) Visits a node using a double-dispatch visitor.booleanReturns the expression being flattened.inthashCode()toString()
-
Constructor Details
-
FlattenExpression
-
FlattenExpression
-
-
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.
-
getExpression
Returns the expression being flattened.- Returns:
- Returns the expression.
-
equals
-
hashCode
public int hashCode() -
toString
-