MCPcopy Create free account
hub / github.com/Koihik/LuaFormatter / popWriter

Method popWriter

src/FormatVisitor.cpp:224–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected