28 #ifndef BINARYEXPRESSIONNODE_H
29 #define BINARYEXPRESSIONNODE_H
33 namespace jmespath {
namespace ast {
91 #endif // BINARYEXPRESSIONNODE_H
void accept(interpreter::AbstractVisitor *visitor) const override
Calls the accept method with the given visitor as the parameter on the node's child expressions...
Definition: binaryexpressionnode.cpp:55
BinaryExpressionNode()
Constructs an empty BinaryExpressionNode object.
Definition: binaryexpressionnode.cpp:32
The BinaryExpressionNode class is the base class for all node types which consist of a left and a rig...
Definition: binaryexpressionnode.h:39
ExpressionNode rightExpression
The right hand expression of the node.
Definition: binaryexpressionnode.h:88
virtual bool stopsProjection() const =0
Reports whether the node should stop an ongoing projection or not.
virtual bool isProjection() const =0
Reports whether the right hand side expression is projected onto the result of the operation or not...
bool operator==(const BinaryExpressionNode &other) const
Equality compares this node to the other.
Definition: binaryexpressionnode.cpp:45
The AbstractVisitor class is an interface which defines the member functions required to visit every ...
Definition: abstractvisitor.h:71
ExpressionNode leftExpression
The left hand expression of the node.
Definition: binaryexpressionnode.h:84
The ExpressionNode class represents a JMESPath expression.
Definition: expressionnode.h:56
The AbstractNode class is the common interface class for all AST node types.
Definition: abstractnode.h:45