Collect modifier keywords like redef, private etc

Property definitions

nitc :: model_collect $ MEntity :: collect_modifiers
	# Collect modifier keywords like `redef`, `private` etc
	fun collect_modifiers: Array[String] do return new Array[String]
src/model/model_collect.nit:53,2--54,65

nitc :: model_collect $ MClass :: collect_modifiers
	redef fun collect_modifiers do return intro.collect_modifiers
src/model/model_collect.nit:644,2--62

nitc :: model_collect $ MClassDef :: collect_modifiers
	redef fun collect_modifiers do
		var res = super
		if not is_intro then
			res.add "redef"
		else
			if mclass.visibility != public_visibility then
				res.add mclass.visibility.to_s
			end
		end
		res.add mclass.kind.to_s
		return res
	end
src/model/model_collect.nit:970,2--981,4

nitc :: model_collect $ MPackage :: collect_modifiers
	redef fun collect_modifiers do return super + ["package"]
src/model/model_collect.nit:268,2--58

nitc :: model_collect $ MGroup :: collect_modifiers
	redef fun collect_modifiers do return super + ["group"]
src/model/model_collect.nit:421,2--56

nitc :: model_collect $ MProperty :: collect_modifiers
	redef fun collect_modifiers do return intro.collect_modifiers
src/model/model_collect.nit:1075,2--62

nitc :: model_collect $ MPropDef :: collect_modifiers
	redef fun collect_modifiers do
		var res = super
		if not is_intro then
			res.add "redef"
		else
			if mproperty.visibility != public_visibility then
				res.add mproperty.visibility.to_s
			end
		end
		var mprop = self
		if mprop isa MVirtualTypeDef then
			res.add "type"
		else if mprop isa MMethodDef then
			if mprop.is_abstract then
				res.add "abstract"
			else if mprop.is_intern then
				res.add "intern"
			end
			if mprop.mproperty.is_init then
				res.add "init"
			else
				res.add "fun"
			end
		else if mprop isa MAttributeDef then
			res.add "var"
		end
		return res
	end
src/model/model_collect.nit:1119,2--1146,4

nitc :: model_collect $ MModule :: collect_modifiers
	redef fun collect_modifiers do return super + ["module"]
src/model/model_collect.nit:477,2--57