Class FieldExpression
java.lang.Object
software.amazon.smithy.jmespath.JmespathExpression
software.amazon.smithy.jmespath.ast.FieldExpression
Gets a field by name from an object.
 
This AST node is created for identifiers. For example,
 foo creates a FieldExpression.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionFieldExpression(String name) FieldExpression(String name, int line, int column)  - 
Method Summary
 
- 
Constructor Details
- 
FieldExpression
 - 
FieldExpression
 
 - 
 - 
Method Details
- 
accept
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.
 
 - 
getName
Get the name of the field to retrieve.- Returns:
 - Returns the name of the field.
 
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -