Class AndExpression
- java.lang.Object
- 
- software.amazon.smithy.jmespath.JmespathExpression
- 
- software.amazon.smithy.jmespath.ast.BinaryExpression
- 
- software.amazon.smithy.jmespath.ast.AndExpression
 
 
 
- 
 public final class AndExpression extends BinaryExpression And expression where both sides must return truthy values. The second truthy value becomes the result of the expression.- See Also:
- And Expressions
 
- 
- 
Constructor SummaryConstructors Constructor Description AndExpression(JmespathExpression left, JmespathExpression right)AndExpression(JmespathExpression left, JmespathExpression right, int line, int column)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(ExpressionVisitor<T> visitor)Visits a node using a double-dispatch visitor.- 
Methods inherited from class software.amazon.smithy.jmespath.ast.BinaryExpressionequals, getLeft, getRight, hashCode, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
AndExpressionpublic AndExpression(JmespathExpression left, JmespathExpression right) 
 - 
AndExpressionpublic AndExpression(JmespathExpression left, JmespathExpression right, int line, int column) 
 
- 
 - 
Method Detail- 
acceptpublic <T> T accept(ExpressionVisitor<T> visitor) Description copied from class:JmespathExpressionVisits a node using a double-dispatch visitor.- Specified by:
- acceptin 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.
 
 
- 
 
-