modelbuilder: simplify the call of `add_in_hierarchy`
authorJean Privat <jean@pryen.org>
Thu, 12 Jun 2014 17:06:06 +0000 (13:06 -0400)
committerJean Privat <jean@pryen.org>
Thu, 12 Jun 2014 17:06:06 +0000 (13:06 -0400)
commit78f12fe119bddea97f4799e94db6ffb98bd70ea5
tree5c9d5cd496d2a4f998c439f738c01baea1eccec9
parent03e36705d408d94c7c867ec5ee7e5e1ddefc7a3f
modelbuilder: simplify the call of `add_in_hierarchy`

We have all the needed model information, moreover, it is more
robust than using the AST

Signed-off-by: Jean Privat <jean@pryen.org>
src/modelize_class.nit