Class NotExpression
java.lang.Object
software.amazon.smithy.jmespath.JmespathExpression
software.amazon.smithy.jmespath.ast.NotExpression
Negates an expression based on if the wrapped expression is truthy.
- 
Constructor Summary
ConstructorsConstructorDescriptionNotExpression(JmespathExpression expression) NotExpression(JmespathExpression expression, int line, int column)  - 
Method Summary
Modifier and TypeMethodDescription<T> Taccept(ExpressionVisitor<T> visitor) Visits a node using a double-dispatch visitor.booleanGets the contained expression to negate.inthashCode()toString() 
- 
Constructor Details
- 
NotExpression
 - 
NotExpression
 
 - 
 - 
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.
 
 - 
getExpression
Gets the contained expression to negate.- Returns:
 - Returns the contained expression.
 
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -