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

Method visitGotoStat

src/FormatVisitor.cpp:440–447  ·  view source on GitHub ↗

GOTO NAME;

Source from the content-addressed store, hash-verified

438
439// GOTO NAME;
440antlrcpp::Any FormatVisitor::visitGotoStat(LuaParser::GotoStatContext* ctx) {
441 LOG_FUNCTION_BEGIN();
442 cur_writer() << ctx->GOTO()->getText();
443 cur_writer() << commentAfter(ctx->GOTO(), " ");
444 cur_writer() << ctx->NAME()->getText();
445 LOG_FUNCTION_END();
446 return nullptr;
447}
448
449// DO block END;
450antlrcpp::Any FormatVisitor::visitDoStat(LuaParser::DoStatContext* ctx) {

Callers

nothing calls this directly

Calls 2

GOTOMethod · 0.80
NAMEMethod · 0.80

Tested by

no test coverage detected