nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f304b2c
)
ni_nitdoc: filtered Object properties from toplevel properties
author
Alexandre Terrasa
<alexandre@moz-code.org>
Tue, 23 Jul 2013 02:14:02 +0000
(22:14 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Tue, 23 Jul 2013 02:14:02 +0000
(22:14 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/ni_nitdoc.nit
patch
|
blob
|
history
diff --git
a/src/ni_nitdoc.nit
b/src/ni_nitdoc.nit
index
f502981
..
43a3aae
100644
(file)
--- a/
src/ni_nitdoc.nit
+++ b/
src/ni_nitdoc.nit
@@
-739,7
+739,7
@@
class NitdocClass
append("<h4>Methods</h4>")
append("<ul>")
for mprop in mts do
- if mprop.mproperty.intro_mclassdef.mclass.name == "Object" then continue
+ if mclass.name != "Object" and mprop.mproperty.intro_mclassdef.mclass.name == "Object" and mprop.mproperty.visibility <= protected_visibility then continue
append(mprop.html_sidebar_item(self))
end
append("</ul>")