|
jmespath.cpp
C++ implementation of JMESPath, a query language for JSON http://jmespath.org
|
The SubexpressionNode class represents a JMESPath subexpression. More...
#include <subexpressionnode.h>
Public Member Functions | |
| SubexpressionNode () | |
| Constructs an empty SubexpressionNode object. More... | |
| SubexpressionNode (const ExpressionNode &expression, const ExpressionNode &subexpression={}) | |
| Constructs an SubexpressionNode object with the given left hand side expression and a right hand side subexpression. More... | |
| bool | isProjection () const override |
| Returns whather this expression requires the projection of subsequent expressions. More... | |
| bool | stopsProjection () const override |
| Reports whether the node should stop an ongoing projection or not. More... | |
Public Member Functions inherited from jmespath::ast::BinaryExpressionNode | |
| BinaryExpressionNode () | |
| Constructs an empty BinaryExpressionNode object. More... | |
| BinaryExpressionNode (const ExpressionNode &left, const ExpressionNode &right) | |
| Constructs a BinaryExpressionNode object with the given leftExpressin and rightExpression as its children. More... | |
| bool | operator== (const BinaryExpressionNode &other) const |
| Equality compares this node to the other. More... | |
| void | accept (interpreter::AbstractVisitor *visitor) const override |
| Calls the accept method with the given visitor as the parameter on the node's child expressions. 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... | |
| AbstractNode & | operator= (const AbstractNode &)=default |
| Copy-assigns the other object to this object. More... | |
Additional Inherited Members | |
Public Attributes inherited from jmespath::ast::BinaryExpressionNode | |
| ExpressionNode | leftExpression |
| The left hand expression of the node. More... | |
| ExpressionNode | rightExpression |
| The right hand expression of the node. More... | |
The SubexpressionNode class represents a JMESPath subexpression.
| jmespath::ast::SubexpressionNode::SubexpressionNode | ( | ) |
Constructs an empty SubexpressionNode object.
| jmespath::ast::SubexpressionNode::SubexpressionNode | ( | const ExpressionNode & | expression, |
| const ExpressionNode & | subexpression = {} |
||
| ) |
Constructs an SubexpressionNode object with the given left hand side expression and a right hand side subexpression.
| [in] | expression | The node's left hand side child expression |
| [in] | subexpression | The node's right hand side child expression |
|
overridevirtual |
Returns whather this expression requires the projection of subsequent expressions.
Implements jmespath::ast::BinaryExpressionNode.
|
overridevirtual |
Reports whether the node should stop an ongoing projection or not.
Implements jmespath::ast::BinaryExpressionNode.
1.8.6