The short (unqualified) name of this model entity.

The short-name is based from the identifiers used to declare or denote the entity. It is usually globally ambiguous but is often enough in a precise local context.

It is suitable to use the short-name in message to the user. However, special care must be used in case of potential ambiguities or name conflict.

Property definitions

nitc $ MEntity :: name
	# The short (unqualified) name of this model entity.
	#
	# The short-name is based from the identifiers used to declare or denote the entity.
	# It is usually globally ambiguous but is often enough in a precise local context.
	#
	# It is suitable to use the short-name in message to the user.
	# However, special care must be used in case of potential ambiguities or name conflict.
	fun name: String is abstract
src/model/model_base.nit:37,2--44,29

nitc $ MClass :: name
	# The short name of the class
	# In Nit, the name of a class cannot evolve in refinements
	redef var name
src/model/model.nit:442,2--444,15

nitc $ MParameter :: name
	# The name of the parameter
	redef var name
src/model/model.nit:2100,2--2101,15

nitc $ MTypePart :: name
	redef fun name do return text
src/doc/model_ext.nit:82,2--30

nitc $ MClassDef :: name
	# Actually the name of the `mclass`
	redef fun name do return mclass.name
src/model/model.nit:681,2--682,37

nitc $ MPackage :: name
	# The name of the package
	redef var name
src/model/mpackage.nit:28,2--29,15

nitc $ MGroup :: name
	# The name of the group
	# empty name for a default group in a single-module package
	redef var name
src/model/mpackage.nit:119,2--121,15

nitc $ MType :: name
	redef fun name do return to_s
src/model/model.nit:852,2--30

nitc $ MProperty :: name
	# The (short) name of the property
	redef var name
src/model/model.nit:2154,2--2155,15

nitc $ MPropDef :: name
	# Actually the name of the `mproperty`
	redef fun name do return mproperty.name
src/model/model.nit:2540,2--2541,40

nitc $ MModule :: name
	# The short name of the module
	redef var name
src/model/mmodule.nit:100,2--101,15

nitc $ MParameterType :: name
	redef var name
src/model/model.nit:1665,2--15