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

Method pushWriter

src/FormatVisitor.cpp:208–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void FormatVisitor::pushWriter() {
209 SourceWriter* writer = new SourceWriter(0);
210 if (!writers_.empty()) {
211 writer->set_volatile(true);
212 }
213 writers_.push_back(writer);
214}
215
216void FormatVisitor::pushWriterWithColumn() {
217 SourceWriter* writer = new SourceWriter(cur_columns());

Callers

nothing calls this directly

Calls 1

set_volatileMethod · 0.80

Tested by

no test coverage detected