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