Examples found for self

Property definitions

nitc :: model_examples $ MEntity :: examples
	# Examples found for `self`
	var examples = new Array[MExample]
src/model/model_examples.nit:57,2--58,35

nitc :: model_examples $ MClass :: examples
	redef fun examples do
		var res = super
		for mclassdef in mclassdefs do
			for example in mclassdef.examples do
				if not res.has(example) then res.add example
			end
		end
		return res
	end
src/model/model_examples.nit:94,2--102,4

nitc :: model_examples $ MPackage :: examples
	redef fun examples do
		var res = super
		for mgroup in mgroups do
			for example in mgroup.examples do
				if not res.has(example) then res.add example
			end
		end
		return res
	end
src/model/model_examples.nit:62,2--70,4

nitc :: model_examples $ MGroup :: examples
	redef fun examples do
		var res = super
		for mmodule in mmodules do
			for example in mmodule.examples do
				if not res.has(example) then res.add example
			end
		end
		return res
	end
src/model/model_examples.nit:80,2--88,4

nitc :: model_examples $ MProperty :: examples
	redef fun examples do
		var res = super
		for mpropdef in mpropdefs do
			for example in mpropdef.examples do
				if not res.has(example) then res.add example
			end
		end
		return res
	end
src/model/model_examples.nit:108,2--116,4