Merge: Serialization phase skips abstract classes and add depth option to nitserial
authorJean Privat <jean@pryen.org>
Tue, 10 Mar 2015 10:10:38 +0000 (17:10 +0700)
committerJean Privat <jean@pryen.org>
Tue, 10 Mar 2015 10:10:38 +0000 (17:10 +0700)
commite42ec5ff886b153fd8733f24ffde3513c42da250
tree8b0cf6837d2408619d9a66c87cd09e4b3941cbaa
parent2d606e8d7ddab2a0c326398de3f38a9576a6f7f1
parent8189f202d95bf78a751c99e3f48b72b26d751b1a
Merge: Serialization phase skips abstract classes and add depth option to nitserial

This is a minor fix and new feature for the serialization support.

* Prevents bug where the serialization phase create constructors for abstract classes.
* Nitserial generates the generics support code for different depths: single module, group or project.

Note that the serialization does not support fully the new constructors. But it can still be used on small classes that do not use any "fancy" constructor features.

Pull-Request: #1193
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Jean Privat <jean@pryen.org>