phase/serialization: add utilities to get name and type of attributes

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
phases: add support for deserialization

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: add deserialization test

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/simple_json_reader: unprotect special char in strings

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge branch 'privat' into deserialization
phase/serialization: fix test_serialization_redef to suport basic deserialization

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
phase/serialization: detect unsupported case until it is supported

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
typing: use a callsite to store "super init call"

Signed-off-by: Jean Privat <jean@pryen.org>
rta: use callsites to do the analysis

This is also simpler than using the deprecated API

Signed-off-by: Jean Privat <jean@pryen.org>
niti: use callsite to do the interpretation

Instead of the old API

Signed-off-by: Jean Privat <jean@pryen.org>
typing: remove depreciated API and rely only on callsites

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update RTA tests to relates the change in rta module

Signed-off-by: Jean Privat <jean@pryen.org>
RTA: force primitive types to be alive

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add base_attr_init_val_int.nit

This is used to show the current bad behavior of uninitialized primitive
types.

See issue #276
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Signed-off-by: Jean Privat <jean@pryen.org>
Merge branch 'use_more_callsite'

CallSite is a great data-class to store various information on a call
site.

This series generalizes its usage in some place, and remove a old
depreciated API.

This uniformization and cleanup will be useful in future work, like
call-site optimizations and the new constructors
Merge remote-tracking branch 'alexis/deserialization'

Adds deserialization support to serialization framework and the Json
implementation. Also fix wrongful use of `' '` for chars in generated
Json.

Merged to prevent bug with nitdoc and duplicate modules.

To be done next:

* Support for generic types
* Separate the json_serialization services in 2: pure json and json for
  deserialization.
* Support NativeArray or its users
Merge branch 'test_attr_init_val_int'

Partially fixes issue #276 and add the test to exhibit the remaining bad
behavior of the issue