Property definitions

nitc $ MExample :: defaultinit
# An example from a MEntity flagged with `is example`.
class MExample

	redef init do
		super
		mentity.mexample = self
	end

	# MEntity containing this example
	var mentity: MEntity

	# MEntities this example is for
	#
	# For each entity we provide a weight so examples can be ranked.
	var example_for = new ArrayMap[MEntity, Int]

	redef fun to_s do return mentity.full_name
end
src/model/model_examples.nit:27,1--44,3