From: Jean-Christophe Beaupré Date: Mon, 1 Dec 2014 19:18:53 +0000 (-0500) Subject: doc: List the inner classes in the search bar. X-Git-Tag: v0.7~89^2~5 X-Git-Url: http://nitlanguage.org doc: List the inner classes in the search bar. Signed-off-by: Jean-Christophe Beaupré --- diff --git a/src/doc/doc_pages.nit b/src/doc/doc_pages.nit index 4b81d86..1780167 100644 --- a/src/doc/doc_pages.nit +++ b/src/doc/doc_pages.nit @@ -1351,6 +1351,7 @@ class NitdocClass map["type"] = new HashSet[MProperty] map["init"] = new HashSet[MProperty] map["fun"] = new HashSet[MProperty] + map["inner"] = new HashSet[MProperty] for mprop in mprops do if mprop isa MVirtualTypeProp then map["type"].add mprop @@ -1360,6 +1361,8 @@ class NitdocClass else map["fun"].add mprop end + else if mprop isa MInnerClass then + map["inner"].add mprop end end return map