Class CurrentExpression
- java.lang.Object
-
- software.amazon.smithy.jmespath.JmespathExpression
-
- software.amazon.smithy.jmespath.ast.CurrentExpression
-
public final class CurrentExpression extends JmespathExpression
Gets the current node. current-node
-
-
Constructor Summary
Constructors Constructor Description CurrentExpression()CurrentExpression(int line, int column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(ExpressionVisitor<T> visitor)Visits a node using a double-dispatch visitor.booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
accept
public <T> T accept(ExpressionVisitor<T> visitor)
Description copied from class:JmespathExpressionVisits a node using a double-dispatch visitor.- Specified by:
acceptin 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.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-