From 113bb8492a90c728658ba3fcb69b6a8cc5e9770d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Christophe=20Beaupr=C3=A9?= Date: Fri, 12 Dec 2014 09:38:01 -0500 Subject: [PATCH] nitdoc: Group non-Nit entities at the bottom of `doc_model.nit`. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Follow the division indicated by the comments in this file. Signed-off-by: Jean-Christophe Beaupré --- src/doc/doc_model.nit | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) 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 -- 1.7.9.5