nitc :: MEntity :: visibility
# The visibility of the MEntity.
#
# MPackages, MGroups and MModules are always public.
# The visibility of `MClass` and `MProperty` is defined by the keyword used.
# `MClassDef` and `MPropDef` return the visibility of `MClass` and `MProperty`.
fun visibility: MVisibility do return public_visibility
src/model/model.nit:34,2--39,56
# The visibility of the class
#
# In Nit, the visibility of a class cannot evolve in refinements.
redef var visibility
src/model/model.nit:523,2--526,21
redef fun visibility do return mclass.visibility
src/model/model.nit:663,2--49
# The visibility of the property
redef var visibility
src/model/model.nit:2190,2--2191,21
redef fun visibility do return mproperty.visibility
src/model/model.nit:2526,2--52