jmespath.cpp
C++ implementation of JMESPath, a query language for JSON http://jmespath.org
|
The NotExpressionNode class represents a JMESPath not expression. More...
#include <notexpressionnode.h>
Public Member Functions | |
NotExpressionNode () | |
Constructs an emtpy NotExpressionNode object. More... | |
NotExpressionNode (const ExpressionNode &subexpression) | |
Constructs a NotExpressionNode object with the given expression as its child expression. 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 NotExpressionNode &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... | |
Public Attributes | |
ExpressionNode | expression |
The node's child expression. More... | |
The NotExpressionNode class represents a JMESPath not expression.
jmespath::ast::NotExpressionNode::NotExpressionNode | ( | ) |
Constructs an emtpy NotExpressionNode object.
jmespath::ast::NotExpressionNode::NotExpressionNode | ( | const ExpressionNode & | subexpression | ) |
Constructs a NotExpressionNode object with the given expression as its child expression.
[in] | subexpression | The node's child expression. |
|
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::NotExpressionNode::operator== | ( | const NotExpressionNode & | other | ) | const |
Equality compares this node to the other.
[in] | other | The node that should be compared. |
ExpressionNode jmespath::ast::NotExpressionNode::expression |
The node's child expression.