self
excluding initsSee collect_intro_inits
.
# Collect all methods introduced in `self` excluding inits
#
# See `collect_intro_inits`.
fun collect_intro_methods(filter: nullable ModelFilter): Set[MMethod] do
var res = new HashSet[MMethod]
for mgroup in mgroups do
for mmodule in collect_all_mmodules(filter) do
res.add_all mmodule.collect_intro_methods(filter)
end
end
return res
end
src/model/model_collect.nit:394,2--405,4