public final class Subexpression extends BinaryExpression
This AST node is used for both sub-expressions and pipe-expressions in the JMESPath specification.
Constructor and Description |
---|
Subexpression(JmespathExpression left,
JmespathExpression right) |
Subexpression(JmespathExpression left,
JmespathExpression right,
boolean isPipe) |
Subexpression(JmespathExpression left,
JmespathExpression right,
int line,
int column) |
Subexpression(JmespathExpression left,
JmespathExpression right,
int line,
int column,
boolean isPipe) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(ExpressionVisitor<T> visitor)
Visits a node using a double-dispatch visitor.
|
boolean |
isPipe() |
equals, getLeft, getRight, hashCode, toString
public Subexpression(JmespathExpression left, JmespathExpression right)
public Subexpression(JmespathExpression left, JmespathExpression right, int line, int column)
public Subexpression(JmespathExpression left, JmespathExpression right, boolean isPipe)
public Subexpression(JmespathExpression left, JmespathExpression right, int line, int column, boolean isPipe)
public <T> T accept(ExpressionVisitor<T> visitor)
JmespathExpression
accept
in class JmespathExpression
T
- Type of value the visitor returns.visitor
- Visitor to accept on the node.public boolean isPipe()