(LT NAME GT)?;
| 864 | |
| 865 | // (LT NAME GT)?; |
| 866 | antlrcpp::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)*; |
| 878 | antlrcpp::Any FormatVisitor::visitExplist(LuaParser::ExplistContext* ctx) { |