nitc :: MRawType :: defaultinit
# A type described by a text annoted with links.
#
# For use with Nitdoc only.
class MRawType
super MType
redef var model
# The parts that contitute the description of the type.
var parts: Sequence[MTypePart] = new Array[MTypePart]
redef fun as_nullable do
not_available
return self
end
redef fun need_anchor do
not_available
return false
end
redef fun resolve_for(mtype, anchor, mmodule, cleanup_virtual) do
not_available
return self
end
redef fun can_resolve_for(mtype, anchor, mmodule) do
not_available
return true
end
redef fun collect_mclassdefs(mmodule) do
not_available
return new HashSet[MClassDef]
end
redef fun collect_mclasses(mmodule) do
not_available
return new HashSet[MClass]
end
redef fun collect_mtypes(mmodule) do
not_available
return new HashSet[MClassType]
end
redef fun to_s do return parts.to_s
private fun not_available do
assert false else
sys.stderr.write "A `MRawType` is for documentation-purpose only so the requested operation is not available.\n"
end
end
end
src/doc/model_ext.nit:21,1--68,3