28 #ifndef MULTISELECTLISTNODE_H
29 #define MULTISELECTLISTNODE_H
33 #include <initializer_list>
34 #include <boost/fusion/include/adapt_struct.hpp>
36 namespace jmespath {
namespace ast {
61 const std::initializer_list<ExpressionNode>& subexpressions);
82 BOOST_FUSION_ADAPT_STRUCT(
84 (std::vector<jmespath::ast::ExpressionNode>, expressions)
86 #endif // MULTISELECTLISTNODE_H
void accept(interpreter::AbstractVisitor *visitor) const override
Calls the visit method of the given visitor with the dynamic type of the node.
Definition: multiselectlistnode.cpp:52
std::vector< ExpressionNode > expressions
The node's child expressions.
Definition: multiselectlistnode.h:78
The AbstractVisitor class is an interface which defines the member functions required to visit every ...
Definition: abstractvisitor.h:71
MultiselectListNode()
Constructs an empty MultiselectListNode object.
Definition: multiselectlistnode.cpp:33
The MultiselectListNode class represents a JMESPath list wildcard expression.
Definition: multiselectlistnode.h:42
The AbstractNode class is the common interface class for all AST node types.
Definition: abstractnode.h:45
bool operator==(const MultiselectListNode &other) const
Equality compares this node to the other.
Definition: multiselectlistnode.cpp:57