jmespath.cpp
C++ implementation of JMESPath, a query language for JSON http://jmespath.org
|
The CurrentNode class represents a JMESPath current node expression. More...
#include <currentnode.h>
Public Member Functions | |
CurrentNode () | |
Constructs an CurrentNode object with an empty name. 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 CurrentNode &other) const |
Equality compares this node to the other. More... | |
![]() | |
AbstractNode ()=default | |
Constructs an AbstractNode object. More... | |
AbstractNode (const AbstractNode &)=default | |
Copy-constructs an AbstractNode object. More... | |
virtual | ~AbstractNode () |
Destroys the AbstractNode object. More... | |
AbstractNode & | operator= (const AbstractNode &)=default |
Copy-assigns the other object to this object. More... | |
The CurrentNode class represents a JMESPath current node expression.
jmespath::ast::CurrentNode::CurrentNode | ( | ) |
Constructs an CurrentNode object with an empty name.
|
overridevirtual |
Calls the visit method of the given visitor with the dynamic type of the node.
[in] | visitor | A visitor implementation |
Implements jmespath::ast::AbstractNode.
bool jmespath::ast::CurrentNode::operator== | ( | const CurrentNode & | other | ) | const |
Equality compares this node to the other.
[in] | other | The node that should be compared. |