32 #include <boost/fusion/include/adapt_struct.hpp>
34 namespace jmespath {
namespace ast {
71 BOOST_FUSION_ADAPT_STRUCT(
75 #endif // LITERALNODE_H
bool operator==(const LiteralNode &other) const
Equality compares this node to the other.
Definition: literalnode.cpp:49
void accept(interpreter::AbstractVisitor *visitor) const override
Calls the visit method of the given visitor with the dynamic type of the node.
Definition: literalnode.cpp:44
std::basic_string< Char > String
UTF-8 encoded string type.
Definition: types.h:44
The LiteralNode class represents a JMESPath literal string.
Definition: literalnode.h:39
String literal
literal The value of the literal
Definition: literalnode.h:67
The AbstractVisitor class is an interface which defines the member functions required to visit every ...
Definition: abstractvisitor.h:71
LiteralNode()
Constructs a LiteralNode object with empty value.
Definition: literalnode.cpp:33
The AbstractNode class is the common interface class for all AST node types.
Definition: abstractnode.h:45