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

Method pushWriterWithColumn

src/FormatVisitor.cpp:216–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void FormatVisitor::pushWriterWithColumn() {
217 SourceWriter* writer = new SourceWriter(cur_columns());
218 if (!writers_.empty()) {
219 writer->set_volatile(true);
220 }
221 writers_.push_back(writer);
222}
223
224void FormatVisitor::popWriter() {
225 SourceWriter* writer = writers_.back();

Callers

nothing calls this directly

Calls 1

set_volatileMethod · 0.80

Tested by

no test coverage detected