public final class FieldExpression extends JmespathExpression
This AST node is created for identifiers. For example,
foo
creates a FieldExpression
.
Constructor and Description |
---|
FieldExpression(java.lang.String name) |
FieldExpression(java.lang.String name,
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.lang.String |
getName()
Get the name of the field to retrieve.
|
int |
hashCode() |
java.lang.String |
toString() |
public FieldExpression(java.lang.String name)
public FieldExpression(java.lang.String name, 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.lang.String getName()
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