DO block END;
| 448 | |
| 449 | // DO block END; |
| 450 | antlrcpp::Any FormatVisitor::visitDoStat(LuaParser::DoStatContext* ctx) { |
| 451 | LOG_FUNCTION_BEGIN(); |
| 452 | cur_writer() << ctx->DO()->getText(); |
| 453 | visitBlockAndComment(ctx->DO(), ctx->block(), CONTROL_BLOCK); |
| 454 | cur_writer() << ctx->END()->getText(); |
| 455 | LOG_FUNCTION_END(); |
| 456 | return nullptr; |
| 457 | } |
| 458 | |
| 459 | // WHILE exp DO block END; |
| 460 | antlrcpp::Any FormatVisitor::visitWhileStat(LuaParser::WhileStatContext* ctx) { |