| 222 | } |
| 223 | |
| 224 | void FormatVisitor::popWriter() { |
| 225 | SourceWriter* writer = writers_.back(); |
| 226 | writers_.pop_back(); |
| 227 | delete writer; |
| 228 | } |
| 229 | |
| 230 | std::pair<int, int> FormatVisitor::calcASTLengthAndLines(tree::ParseTree* node, std::function<void()> func) { |
| 231 | if (node == nullptr) return {0, 0}; |
nothing calls this directly
no outgoing calls
no test coverage detected