The LeftEdgeIterator class is a forward iterator which can be used to iterate over the ExpressionNode objects along the left edge of the AST.
More...
#include <leftedgeiterator.h>
The LeftEdgeIterator class is a forward iterator which can be used to iterate over the ExpressionNode objects along the left edge of the AST.
jmespath::parser::LeftEdgeIterator::LeftEdgeIterator |
( |
| ) |
|
|
inline |
Constructs an empty LeftEdgeIterator object which can be used as an end iterator.
Constructs a LeftEdgeIterator which points to the given node.
- Parameters
-
[in] | node | The node object where the iterator should point. |
bool jmespath::parser::LeftEdgeIterator::operator!= |
( |
const LeftEdgeIterator & |
other | ) |
const |
|
inline |
Checks whether this iterator doesn't equals to the other.
- Parameters
-
[in] | other | An iterator object. |
- Returns
- Returns true if other points to a different node than this iterator, otherwise returns false.
reference jmespath::parser::LeftEdgeIterator::operator* |
( |
| ) |
const |
|
inline |
Returns a reference to the current node.
- Returns
- Returns a reference to the current node.
Advances the iterator to the next node on the left edge of the AST.
- Returns
- Returns an iterator to the next node.
Advances the iterator to the next node on the left edge of the AST.
- Returns
- Returns an iterator to the previous node.
pointer jmespath::parser::LeftEdgeIterator::operator-> |
( |
| ) |
const |
|
inline |
Returns a pointer to the current node.
- Returns
- Returns a pointer to the current node.
Functor used for extracting the left child of the given node.
Pointer to the current node object.
The documentation for this class was generated from the following file: