| 137 | } |
| 138 | |
| 139 | Analyzer::Action analyzeRecursive(const Token* start) const { |
| 140 | Analyzer::Action result = Analyzer::Action::None; |
| 141 | visitAstNodes(start, [&](const Token* tok) { |
| 142 | result |= analyzer->analyze(tok, Analyzer::Direction::Reverse); |
| 143 | if (result.isModified()) |
| 144 | return ChildrenToVisit::done; |
| 145 | return ChildrenToVisit::op1_and_op2; |
| 146 | }); |
| 147 | return result; |
| 148 | } |
| 149 | |
| 150 | Analyzer::Action analyzeRange(const Token* start, const Token* end) const { |
| 151 | Analyzer::Action result = Analyzer::Action::None; |
nothing calls this directly
no test coverage detected