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

Method visitTerminal

src/FormatVisitor.cpp:1777–1780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1775}
1776
1777antlrcpp::Any FormatVisitor::visitTerminal(tree::TerminalNode* node) {
1778 cur_writer() << node->getText();
1779 return nullptr;
1780}
1781
1782bool FormatVisitor::needKeepBlockOneLine(tree::ParseTree* previousNode, LuaParser::BlockContext* ctx,
1783 BlockType blockType) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected