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 Details

    • CurrentExpression

      public CurrentExpression()
    • CurrentExpression

      public CurrentExpression(int line, int column)
  • Method Details

    • accept

      public <T> T accept(ExpressionVisitor<T> visitor)
      Description copied from class: JmespathExpression
      Visits a node using a double-dispatch visitor.
      Specified by:
      accept in class JmespathExpression
      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:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object