model: move-up `is_fictive` from MModule to MEntity
[nit.git] / src / model / mmodule.nit
index 7e2e9b3..fdfe399 100644 (file)
@@ -22,7 +22,11 @@ import mpackage
 private import more_collections
 
 # The container class of a Nit object-oriented model.
+#
 # A model knows modules, classes and properties and can retrieve them.
+#
+# However, a model is not a program or a library as it can contains modules
+# found by the system (including broken ones) but not used.
 redef class Model
        # All known modules
        var mmodules = new Array[MModule]
@@ -233,11 +237,6 @@ class MModule
                end
        end
 
-       # Is `self` created for internal purpose?
-       # Fictive modules are instantiated internally but they should not be
-       # exposed to the final user.
-       var is_fictive: Bool = false is writable
-
        # Is `self` a unit test module used by `nitunit`?
        var is_test_suite: Bool = false is writable