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
ConstructorDescriptionFlattenExpression
(JmespathExpression expression) FlattenExpression
(JmespathExpression expression, int line, int column) -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(ExpressionVisitor<T> visitor) Visits a node using a double-dispatch visitor.boolean
Returns the expression being flattened.int
hashCode()
toString()
-
Constructor Details
-
FlattenExpression
-
FlattenExpression
-
-
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.
-
getExpression
Returns the expression being flattened.- Returns:
- Returns the expression.
-
equals
-
hashCode
public int hashCode() -
toString
-