nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1342a4
)
model: make `Model` a `MEntity` to enable the semi-composite design pattern.
author
Jean Privat
<jean@pryen.org>
Tue, 20 Oct 2015 18:08:57 +0000
(14:08 -0400)
committer
Jean Privat
<jean@pryen.org>
Tue, 20 Oct 2015 18:08:57 +0000
(14:08 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/model/model_base.nit
patch
|
blob
|
history
diff --git
a/src/model/model_base.nit
b/src/model/model_base.nit
index
8b33f15
..
a97ede8
100644
(file)
--- a/
src/model/model_base.nit
+++ b/
src/model/model_base.nit
@@
-20,6
+20,7
@@
module model_base
# The container class of a Nit object-oriented model.
# A model knows modules, classes and properties and can retrieve them.
class Model
+ super MEntity
end
# A named and possibly documented entity in the model.