28 #ifndef LEFTEDGEITERATOR_H
29 #define LEFTEDGEITERATOR_H
34 namespace jmespath {
namespace parser {
103 auto tempIterator = *
this;
119 #endif // LEFTEDGEITERATOR_H
The LeftEdgeIterator class is a forward iterator which can be used to iterate over the ExpressionNode...
Definition: leftedgeiterator.h:40
LeftEdgeIterator()
Constructs an empty LeftEdgeIterator object which can be used as an end iterator. ...
Definition: leftedgeiterator.h:48
LeftEdgeIterator operator++(int)
Advances the iterator to the next node on the left edge of the AST.
Definition: leftedgeiterator.h:101
ast::ExpressionNode * m_node
Pointer to the current node object.
Definition: leftedgeiterator.h:112
pointer operator->() const
Returns a pointer to the current node.
Definition: leftedgeiterator.h:72
LeftChildExtractor m_childExtractor
Functor used for extracting the left child of the given node.
Definition: leftedgeiterator.h:116
reference operator*() const
Returns a reference to the current node.
Definition: leftedgeiterator.h:64
bool operator!=(const LeftEdgeIterator &other) const
Checks whether this iterator doesn't equals to the other.
Definition: leftedgeiterator.h:82
The ExpressionNode class represents a JMESPath expression.
Definition: expressionnode.h:56
LeftEdgeIterator & operator++()
Advances the iterator to the next node on the left edge of the AST.
Definition: leftedgeiterator.h:91
LeftEdgeIterator(ast::ExpressionNode &node)
Constructs a LeftEdgeIterator which points to the given node.
Definition: leftedgeiterator.h:56