FIXME think more about this method and how the separations separate/global and ast/model should be done.
# Retrieve all the attributes nodes localy definied
# FIXME think more about this method and how the separations separate/global and ast/model should be done.
fun collect_attr_propdef(mclassdef: MClassDef): Array[AAttrPropdef]
do
var res = new Array[AAttrPropdef]
var n = mclassdef2nclassdef.get_or_null(mclassdef)
if n == null then return res
for npropdef in n.n_propdefs do
if npropdef isa AAttrPropdef then
# Run the phases on it
toolcontext.run_phases_on_npropdef(npropdef)
res.add(npropdef)
end
end
return res
end
src/modelize/modelize_property.nit:86,2--101,4