nitc :: ALoopHelper :: visit_loop_block
fun visit_loop_block(v: PrettyPrinterVisitor) do
var n_block = loop_block
v.finish_line
v.addn
v.indent += 1
if n_block isa ABlockExpr then
n_block.force_block = true
v.visit n_block
v.catch_up n_block.n_kwend
v.indent -= 1
v.addt
v.visit n_block.n_kwend
else
v.addt
v.visit n_block
v.addn
v.indent -= 1
v.addt
v.add "end"
end
if loop_label != null then
v.adds
v.visit loop_label
end
end
src/pretty.nit:1408,2--1434,4