Class OrExpression
- java.lang.Object
-
- software.amazon.smithy.jmespath.JmespathExpression
-
- software.amazon.smithy.jmespath.ast.BinaryExpression
-
- software.amazon.smithy.jmespath.ast.OrExpression
-
public final class OrExpression extends BinaryExpression
Or expression that returns the expression that returns a truthy value.- See Also:
- Or Expressions
-
-
Constructor Summary
Constructors Constructor Description OrExpression(JmespathExpression left, JmespathExpression right)
OrExpression(JmespathExpression left, JmespathExpression right, int line, int column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(ExpressionVisitor<T> visitor)
Visits a node using a double-dispatch visitor.-
Methods inherited from class software.amazon.smithy.jmespath.ast.BinaryExpression
equals, getLeft, getRight, hashCode, toString
-
-
-
-
Constructor Detail
-
OrExpression
public OrExpression(JmespathExpression left, JmespathExpression right)
-
OrExpression
public OrExpression(JmespathExpression left, JmespathExpression right, int line, int column)
-
-
Method Detail
-
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 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.
-
-