jmespath.cpp
C++ implementation of JMESPath, a query language for JSON http://jmespath.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
jmespath::ast::RawStringNode Class Reference

The RawStringNode class represents a JMESPath raw string literal. More...

#include <rawstringnode.h>

Inheritance diagram for jmespath::ast::RawStringNode:
jmespath::ast::AbstractNode

Public Member Functions

 RawStringNode ()
 Constructs an empty RawStringNode object. More...
 
 RawStringNode (const String &string)
 Constructs a RawStringNode object with its value initialized to string. More...
 
void accept (interpreter::AbstractVisitor *visitor) const override
 Calls the visit method of the given visitor with the dynamic type of the node. More...
 
bool operator== (const RawStringNode &other) const
 Equality compares this node to the other. More...
 
- Public Member Functions inherited from jmespath::ast::AbstractNode
 AbstractNode ()=default
 Constructs an AbstractNode object. More...
 
 AbstractNode (const AbstractNode &)=default
 Copy-constructs an AbstractNode object. More...
 
virtual ~AbstractNode ()
 Destroys the AbstractNode object. More...
 
AbstractNodeoperator= (const AbstractNode &)=default
 Copy-assigns the other object to this object. More...
 

Public Attributes

String rawString
 The raw string value. More...
 

Detailed Description

The RawStringNode class represents a JMESPath raw string literal.

Constructor & Destructor Documentation

jmespath::ast::RawStringNode::RawStringNode ( )

Constructs an empty RawStringNode object.

jmespath::ast::RawStringNode::RawStringNode ( const String string)

Constructs a RawStringNode object with its value initialized to string.

Parameters
[in]stringThe raw string value.

Member Function Documentation

void jmespath::ast::RawStringNode::accept ( interpreter::AbstractVisitor visitor) const
overridevirtual

Calls the visit method of the given visitor with the dynamic type of the node.

Parameters
[in]visitorA visitor implementation

Implements jmespath::ast::AbstractNode.

bool jmespath::ast::RawStringNode::operator== ( const RawStringNode other) const

Equality compares this node to the other.

Parameters
[in]otherThe node that should be compared.
Returns
Returns true if this object is equal to the other, otherwise false

Member Data Documentation

String jmespath::ast::RawStringNode::rawString

The raw string value.


The documentation for this class was generated from the following files: