28 #ifndef INDEXEXPRESSIONNODE_H
29 #define INDEXEXPRESSIONNODE_H
32 #include <boost/fusion/include/adapt_struct.hpp>
34 namespace jmespath {
namespace ast {
96 BOOST_FUSION_ADAPT_STRUCT(
102 #endif // INDEXEXPRESSIONNODE_H
bool stopsProjection() const override
Reports whether the node should stop an ongoing projection or not.
Definition: indexexpressionnode.cpp:68
IndexExpressionNode()
Construct an empty IndexExpressionNode object.
Definition: indexexpressionnode.cpp:32
BracketSpecifierNode bracketSpecifier
The bracket specifier in an index expression.
Definition: indexexpressionnode.h:92
The BracketSpecifierNode class represents a JMESPath bracket specifier.
Definition: bracketspecifiernode.h:44
bool isProjection() const override
Returns whather this expression requires the projection of subsequent expressions.
Definition: indexexpressionnode.cpp:63
The BinaryExpressionNode class is the base class for all node types which consist of a left and a rig...
Definition: binaryexpressionnode.h:39
The AbstractVisitor class is an interface which defines the member functions required to visit every ...
Definition: abstractvisitor.h:71
The IndexExpressionNode class represents a JMESPath index expression.
Definition: indexexpressionnode.h:39
bool operator==(const IndexExpressionNode &other) const
Equality compares this node to the other.
Definition: indexexpressionnode.cpp:53
The ExpressionNode class represents a JMESPath expression.
Definition: expressionnode.h:56
void accept(interpreter::AbstractVisitor *visitor) const override
Calls the visit method of the given visitor with the dynamic type of the node.
Definition: indexexpressionnode.cpp:73