| 1823 | } |
| 1824 | |
| 1825 | bool FormatVisitor::isBlockEmpty(LuaParser::BlockContext* ctx) { |
| 1826 | return ctx->stat().empty() && ctx->retstat() == nullptr; |
| 1827 | } |
| 1828 | |
| 1829 | void FormatVisitor::visitBlockAndComment(tree::ParseTree* previousNode, LuaParser::BlockContext* ctx, |
| 1830 | BlockType blockType) { |