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

Method visitAttrib

src/FormatVisitor.cpp:866–875  ·  view source on GitHub ↗

(LT NAME GT)?;

Source from the content-addressed store, hash-verified

864
865// (LT NAME GT)?;
866antlrcpp::Any FormatVisitor::visitAttrib(LuaParser::AttribContext* ctx) {
867 LOG_FUNCTION_BEGIN();
868 if (ctx->NAME() != nullptr) {
869 cur_writer() << ctx->LT()->getText();
870 cur_writer() << ctx->NAME()->getText();
871 cur_writer() << ctx->GT()->getText();
872 }
873 LOG_FUNCTION_END();
874 return nullptr;
875}
876
877// exp (COMMA exp)*;
878antlrcpp::Any FormatVisitor::visitExplist(LuaParser::ExplistContext* ctx) {

Callers

nothing calls this directly

Calls 3

NAMEMethod · 0.80
LTMethod · 0.80
GTMethod · 0.80

Tested by

no test coverage detected