nitc :: ALoopHelper :: visit_loop_inline
fun visit_loop_inline(v: PrettyPrinterVisitor) do
var n_block = loop_block
v.adds
if n_block isa ABlockExpr then
if n_block.n_expr.is_empty then
v.visit n_block.n_kwend
else
v.visit n_block.n_expr.first
v.current_token = n_block.n_kwend
v.skip
end
else
v.visit n_block
if v.current_token isa TKwend then v.skip
end
if loop_label != null then
v.adds
v.visit loop_label
end
end
src/pretty.nit:1436,2--1457,4