Adds another class definition in the modue.

Updates the class hierarchy cache.

Property definitions

nitc :: model $ MModule :: add_mclassdef
        # Adds another class definition in the modue.
        # Updates the class hierarchy cache.
        fun add_mclassdef(mclassdef: MClassDef)
        do
                self.mclassdefs.add(mclassdef)
                if self.flatten_mclass_hierarchy_cache != null then
                        unsafe_update_hierarchy_cache(mclassdef)
                end
        end
src/model/model.nit:216,9--224,11