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

Method isBlockEmpty

src/FormatVisitor.cpp:1825–1827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

statMethod · 0.80
retstatMethod · 0.80

Tested by

no test coverage detected