nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cfefb7
)
model: introduce MEntityTree
author
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 18 Dec 2015 03:03:37 +0000
(22:03 -0500)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 18 Dec 2015 05:13:52 +0000
(
00:13
-0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/model/model.nit
patch
|
blob
|
history
diff --git
a/src/model/model.nit
b/src/model/model.nit
index
cf8dfb1
..
3115286
100644
(file)
--- a/
src/model/model.nit
+++ b/
src/model/model.nit
@@
-119,7
+119,17
@@
redef class Model
end
end
-# An OrderedTree that can be easily refined for display purposes
+# An OrderedTree bound to MEntity.
+#
+# We introduce a new class so it can be easily refined by tools working
+# with a Model.
+class MEntityTree
+ super OrderedTree[MEntity]
+end
+
+# A MEntityTree borned to MConcern.
+#
+# TODO remove when nitdoc is fully merged with model_collect
class ConcernsTree
super OrderedTree[MConcern]
end