Returns true if elements can be popped at the current nesting.
| 119 | |
| 120 | /// Returns true if elements can be popped at the current nesting. |
| 121 | bool canPop() const noexcept |
| 122 | { |
| 123 | return !stack.empty() && stack.back().depth == depth; |
| 124 | } |
| 125 | |
| 126 | /// Returns true if elements of the given type can be popped at the current nesting. |
| 127 | bool canPop(ObjectQuery::Operator op) const noexcept { |
no test coverage detected