nitc :: MModule :: _full_name
It is usually the name
prefixed by the package's name.
Example: "package::name"
Default modules use a doubled name to distinguish them from the package name.
E.g.: "core::core"
If the module is package-less, then the short-name is used alone.
# The canonical name of the module.
#
# It is usually the `name` prefixed by the package's name.
# Example: `"package::name"`
#
# Default modules use a doubled name to distinguish them from the package name.
# E.g.: `"core::core"`
#
# If the module is package-less, then the short-name is used alone.
redef var full_name is lazy do
var mgroup = self.mgroup
if mgroup == null then
return self.name
else
return "{mgroup.mpackage.name}::{self.name}"
end
end
src/model/mmodule.nit:111,2--127,4