nmodule
with comments before and after.
# Pretty print the whole `nmodule` with comments before and after.
fun pretty_nmodule(nmodule: AModule): Template do
clear
nmodule.parentize_tokens
current_token = nmodule.location.file.first_token
visit nmodule
catch_up nmodule.location.file.last_token
if skip_empty then tpl.add "\n"
return tpl.as(not null)
end
src/pretty.nit:75,2--84,4