public final class ComparatorExpression extends BinaryExpression
Constructor and Description |
---|
ComparatorExpression(ComparatorType comparator,
JmespathExpression left,
JmespathExpression right) |
ComparatorExpression(ComparatorType comparator,
JmespathExpression left,
JmespathExpression right,
int line,
int column) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(ExpressionVisitor<T> visitor)
Visits a node using a double-dispatch visitor.
|
boolean |
equals(java.lang.Object o) |
ComparatorType |
getComparator()
Gets the comparator to apply to the left and right expressions.
|
int |
hashCode() |
java.lang.String |
toString() |
getLeft, getRight
public ComparatorExpression(ComparatorType comparator, JmespathExpression left, JmespathExpression right)
public ComparatorExpression(ComparatorType comparator, JmespathExpression left, JmespathExpression right, int line, int column)
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 ComparatorType getComparator()
public boolean equals(java.lang.Object o)
equals
in class BinaryExpression
public int hashCode()
hashCode
in class BinaryExpression
public java.lang.String toString()
toString
in class BinaryExpression