FUNCTION funcname funcbody;
| 587 | |
| 588 | // FUNCTION funcname funcbody; |
| 589 | antlrcpp::Any FormatVisitor::visitFuncStat(LuaParser::FuncStatContext* ctx) { |
| 590 | LOG_FUNCTION_BEGIN(); |
| 591 | cur_writer() << ctx->FUNCTION()->getText(); |
| 592 | cur_writer() << commentAfter(ctx->FUNCTION(), " "); |
| 593 | visitFuncname(ctx->funcname()); |
| 594 | cur_writer() << commentAfter(ctx->funcname(), ""); |
| 595 | visitFuncbody(ctx->funcbody()); |
| 596 | LOG_FUNCTION_END(); |
| 597 | return nullptr; |
| 598 | } |
| 599 | |
| 600 | // LOCAL FUNCTION NAME funcbody; |
| 601 | antlrcpp::Any FormatVisitor::visitLocalFuncStat(LuaParser::LocalFuncStatContext* ctx) { |