nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d9a756
)
nitpretty: displays annotation visibility
author
Alexandre Terrasa
<alexandre@moz-code.org>
Mon, 22 Dec 2014 05:33:09 +0000
(
00:33
-0500)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Tue, 13 Jan 2015 16:47:43 +0000
(17:47 +0100)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/pretty.nit
patch
|
blob
|
history
diff --git
a/src/pretty.nit
b/src/pretty.nit
index
39d84ee
..
096bad6
100644
(file)
--- a/
src/pretty.nit
+++ b/
src/pretty.nit
@@
-469,6
+469,10
@@
end
redef class AAnnotation
redef fun accept_pretty_printer(v) do
+ if n_visibility != null and not n_visibility isa APublicVisibility then
+ v.visit n_visibility
+ v.adds
+ end
v.visit n_atid
if not n_args.is_empty then
if n_opar == null then