28 #ifndef COMPARATOREXPRESSIONNODE_H
29 #define COMPARATOREXPRESSIONNODE_H
31 #include <boost/fusion/include/adapt_struct.hpp>
33 namespace jmespath {
namespace ast {
103 BOOST_FUSION_ADAPT_STRUCT(
109 #endif // COMPARATOREXPRESSIONNODE_H
bool isProjection() const override
Returns whather this expression requires the projection of subsequent expressions.
Definition: comparatorexpressionnode.cpp:59
bool stopsProjection() const override
Reports whether the node should stop an ongoing projection or not.
Definition: comparatorexpressionnode.cpp:64
The ComparatorExpressionNode class represents a JMESPath comparator expression.
Definition: comparatorexpressionnode.h:39
Comparator comparator
The type of comparator associated with the expression.
Definition: comparatorexpressionnode.h:99
The BinaryExpressionNode class is the base class for all node types which consist of a left and a rig...
Definition: binaryexpressionnode.h:39
ComparatorExpressionNode()
Constructs an empty ComparatorExpressionNode object.
Definition: comparatorexpressionnode.cpp:34
Comparator
The Comparator enum defines the available comparison operators.
Definition: comparatorexpressionnode.h:45
The AbstractVisitor class is an interface which defines the member functions required to visit every ...
Definition: abstractvisitor.h:71
void accept(interpreter::AbstractVisitor *visitor) const override
Calls the visit method of the given visitor with the dynamic type of the node.
Definition: comparatorexpressionnode.cpp:69
The ExpressionNode class represents a JMESPath expression.
Definition: expressionnode.h:56
bool operator==(const ComparatorExpressionNode &other) const
Equality compares this node to the other.
Definition: comparatorexpressionnode.cpp:48