self
# Collect all attributes introduced in `self`
fun collect_intro_attributes(filter: nullable ModelFilter): Set[MAttribute] do
var res = new HashSet[MAttribute]
for mgroup in mgroups do
for mmodule in collect_all_mmodules(filter) do
res.add_all mmodule.collect_intro_attributes(filter)
end
end
return res
end
src/model/model_collect.nit:372,2--381,4