modelize_class: Rename `collect_a_mclassdef_inheritance`
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Fri, 9 Jun 2017 16:31:40 +0000 (12:31 -0400)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Fri, 9 Jun 2017 17:25:37 +0000 (13:25 -0400)
Rename `collect_a_mclassdef_inheritance` to `build_a_mclassdef_inheritance`

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

src/modelize/modelize_class.nit

index a2de65b..22cd001 100644 (file)
@@ -246,7 +246,7 @@ redef class ModelBuilder
        end
 
        # Visit the AST and set the super-types of the `MClassDef` objects
-       private fun collect_a_mclassdef_inheritance(nmodule: AModule, nclassdef: AClassdef)
+       private fun build_a_mclassdef_inheritance(nmodule: AModule, nclassdef: AClassdef)
        do
                var mmodule = nmodule.mmodule
                if mmodule == null then return
@@ -360,7 +360,7 @@ redef class ModelBuilder
 
                # Create inheritance on all classdefs
                for nclassdef in nmodule.n_classdefs do
-                       self.collect_a_mclassdef_inheritance(nmodule, nclassdef)
+                       self.build_a_mclassdef_inheritance(nmodule, nclassdef)
                end
 
                # Create the mclassdef hierarchy