Class SliceExpression
java.lang.Object
software.amazon.smithy.jmespath.JmespathExpression
software.amazon.smithy.jmespath.ast.SliceExpression
Represents a slice expression, containing an optional zero-based
start offset, zero-based stop offset, and step.
- See Also:
-
Constructor Summary
ConstructorDescriptionSliceExpression
(Integer start, Integer stop, int step) SliceExpression
(Integer start, Integer stop, int step, int line, int column) -
Method Summary
-
Constructor Details
-
SliceExpression
-
SliceExpression
-
-
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.
-
getStart
-
getStop
-
getStep
public int getStep() -
equals
-
hashCode
public int hashCode() -
toString
-