private fun check_man(toolcontext: ToolContext, mainmodule: MModule) do
var model = toolcontext.modelbuilder.model
var filter = new ModelFilter(accept_example = false, accept_test = false)
var cmd = new CmdMains(model, filter, mentity = self)
var res = cmd.init_command
if not res isa CmdSuccess then return
for mmodule in cmd.results.as(not null) do
if not mmodule isa MModule then continue
mmodule.check_man(toolcontext)
end
end
src/nitpackage.nit:398,2--409,4