From: Jean-Christophe Beaupré Date: Mon, 1 Dec 2014 19:17:08 +0000 (-0500) Subject: doc: Fix the presentation of the inner classes. X-Git-Tag: v0.7~89^2~7 X-Git-Url: http://nitlanguage.org doc: Fix the presentation of the inner classes. Signed-off-by: Jean-Christophe Beaupré --- diff --git a/src/doc/doc_model.nit b/src/doc/doc_model.nit index 0a0e60e..4523ec3 100644 --- a/src/doc/doc_model.nit +++ b/src/doc/doc_model.nit @@ -610,6 +610,28 @@ redef class MVirtualTypeDef end end +redef class MInnerClass + redef fun nitdoc_url do return inner.nitdoc_url + redef fun tpl_signature do return inner.tpl_signature +end + +redef class MInnerClassDef + redef fun nitdoc_url do return inner.nitdoc_url + + redef fun tpl_anchor do return inner.tpl_anchor + redef fun tpl_link do return inner.tpl_link + redef fun tpl_signature do return inner.tpl_signature + + redef fun tpl_definition do + var tpl = new TplClassDefinition + tpl.namespace = mclassdef.tpl_namespace + if mdoc != null then + tpl.comment = mdoc.tpl_comment + end + return tpl + end +end + redef class MType fun tpl_signature: Template is abstract end