Searches the MEntity that matches full_name.

Property definitions

nitc :: model_collect $ Model :: mentity_by_full_name
	# Searches the MEntity that matches `full_name`.
	fun mentity_by_full_name(full_name: String, filter: nullable ModelFilter): nullable MEntity do
		for mentity in collect_mentities(filter) do
			if filter != null and not filter.accept_mentity(mentity) then continue
			if mentity.full_name == full_name then return mentity
		end
		return null
	end
src/model/model_collect.nit:246,2--253,4

nitc :: model_index $ Model :: mentity_by_full_name
	redef fun mentity_by_full_name(full_name, filter) do
		if mentities_by_full_name.has_key(full_name) then
			var mentity = mentities_by_full_name[full_name]
			if filter == null or filter.accept_mentity(mentity) then return mentity
		end
		return null
	end
src/model/model_index.nit:163,2--169,4