28 #ifndef MULTISELECTHASHNODE_H
29 #define MULTISELECTHASHNODE_H
34 #include <initializer_list>
35 #include <boost/fusion/include/adapt_struct.hpp>
36 #include <boost/fusion/include/std_pair.hpp>
37 #include <boost/fusion/adapted/std_pair.hpp>
39 namespace jmespath {
namespace ast {
85 BOOST_FUSION_ADAPT_STRUCT(
87 (std::vector<jmespath::ast::MultiselectHashNode::KeyValuePairType>,
90 #endif // MULTISELECTHASHNODE_H
std::vector< KeyValuePairType > expressions
The node's child expressions.
Definition: multiselecthashnode.h:81
MultiselectHashNode()
Constructs an empty MultiselectHashNode object.
Definition: multiselecthashnode.cpp:34
void accept(interpreter::AbstractVisitor *visitor) const override
Calls the visit method of the given visitor with the dynamic type of the node.
Definition: multiselecthashnode.cpp:53
The MultiselectHashNode class represents a JMESPath multiselect hash expression.
Definition: multiselecthashnode.h:45
bool operator==(const MultiselectHashNode &other) const
Equality compares this node to the other.
Definition: multiselecthashnode.cpp:58
The AbstractVisitor class is an interface which defines the member functions required to visit every ...
Definition: abstractvisitor.h:71
std::pair< IdentifierNode, ExpressionNode > KeyValuePairType
Definition: multiselecthashnode.h:48
The AbstractNode class is the common interface class for all AST node types.
Definition: abstractnode.h:45