model: promote `is_fictive` from doc_model
authorJean Privat <jean@pryen.org>
Thu, 17 Jul 2014 13:58:21 +0000 (09:58 -0400)
committerJean Privat <jean@pryen.org>
Thu, 17 Jul 2014 14:01:00 +0000 (10:01 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/doc/doc_model.nit
src/model/mmodule.nit

index 1c186dd..9080dbf 100644 (file)
@@ -220,9 +220,6 @@ redef class MGroup
 end
 
 redef class MModule
-       # Is the mmodule created by nitdoc for internal purpose?
-       var is_fictive: Bool writable = false
-
        redef fun nitdoc_name do return name.html_escape
 
        redef fun nitdoc_id do
index 18e835d..2b7e5af 100644 (file)
@@ -222,5 +222,10 @@ class MModule
                end
        end
 
+       # Is the mmodule created for internal purpose?
+       # Fictive module are instantied internally but they should not be
+       # exposed to the final user
+       var is_fictive: Bool writable = false
+
        redef fun parent_concern do return mgroup
 end