From: Jean-Christophe Beaupré Date: Fri, 12 Dec 2014 14:38:01 +0000 (-0500) Subject: nitdoc: Group non-Nit entities at the bottom of `doc_model.nit`. X-Git-Tag: v0.7~20^2~6 X-Git-Url: http://nitlanguage.org nitdoc: Group non-Nit entities at the bottom of `doc_model.nit`. Follow the division indicated by the comments in this file. Signed-off-by: Jean-Christophe Beaupré --- diff --git a/src/doc/doc_model.nit b/src/doc/doc_model.nit index b9d6b48..288f2a5 100644 --- a/src/doc/doc_model.nit +++ b/src/doc/doc_model.nit @@ -605,28 +605,6 @@ 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 @@ -755,3 +733,25 @@ redef class MRawType return tpl 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