nitc :: ModelStandalone :: defaultinit
# A standalone pre-constructed model used to test various model-related methods.
#
# When instantiated, a standalone model is already filled with entities that are exposed as attributes.
class ModelStandalone
super Model
redef var location = new Location.opaque_file("ModelStandalone")
# The first module
var mmodule0 = new MModule(self, null, "module0", location)
# The root Object class
var mclass_o = new MClass(mmodule0, "Object", location, null, interface_kind, public_visibility)
# The introduction of `mclass_o`
var mclassdef_o = new MClassDef(mmodule0, mclass_o.mclass_type, location)
end
src/model/model.nit:2780,1--2796,3