Collect all attributes accessible by self

This include introduced, redefined, inherited mattributes.

Property definitions

nitc :: model_collect $ MClass :: collect_accessible_mattributes
	# Collect all attributes accessible by `self`
	#
	# This include introduced, redefined, inherited mattributes.
	fun collect_accessible_mattributes(mainmodule: MModule, filter: nullable ModelFilter): Set[MAttribute] do
		var set = new HashSet[MAttribute]
		set.add_all(collect_intro_mattributes(filter))
		set.add_all(collect_redef_mattributes(filter))
		set.add_all(collect_inherited_mattributes(mainmodule, filter))
		return set
	end
src/model/model_collect.nit:864,2--873,4