public final class SliceExpression extends JmespathExpression
Constructor and Description |
---|
SliceExpression(java.lang.Integer start,
java.lang.Integer stop,
int step) |
SliceExpression(java.lang.Integer start,
java.lang.Integer stop,
int step,
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) |
java.util.OptionalInt |
getStart() |
int |
getStep() |
java.util.OptionalInt |
getStop() |
int |
hashCode() |
java.lang.String |
toString() |
public SliceExpression(java.lang.Integer start, java.lang.Integer stop, int step)
public SliceExpression(java.lang.Integer start, java.lang.Integer stop, int step, 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 java.util.OptionalInt getStart()
public java.util.OptionalInt getStop()
public int getStep()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object