|
jmespath.cpp
C++ implementation of JMESPath, a query language for JSON http://jmespath.org
|
The IdentifierNode class represents a JMESPath identifier. More...
#include <identifiernode.h>
Public Member Functions | |
| IdentifierNode () | |
| Constructs an IdentifierNode object with an empty name. More... | |
| IdentifierNode (const String &name) | |
| Constructs an IdentifierNode object with the given identifier parameter as its 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 IdentifierNode &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... | |
| AbstractNode & | operator= (const AbstractNode &)=default |
| Copy-assigns the other object to this object. More... | |
Public Attributes | |
| String | identifier |
| Name of the identifier. More... | |
The IdentifierNode class represents a JMESPath identifier.
| jmespath::ast::IdentifierNode::IdentifierNode | ( | ) |
Constructs an IdentifierNode object with an empty name.
| jmespath::ast::IdentifierNode::IdentifierNode | ( | const String & | name | ) |
Constructs an IdentifierNode object with the given identifier parameter as its name.
| [in] | name | The identifier's 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::IdentifierNode::operator== | ( | const IdentifierNode & | other | ) | const |
Equality compares this node to the other.
| [in] | other | The node that should be compared. |
| String jmespath::ast::IdentifierNode::identifier |
Name of the identifier.
1.8.6