aboutsummaryrefslogtreecommitdiffstats
path: root/typesystem_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Added a depth counter to avoid segmentation faults when discarding type entries.Marcelo Lira2012-03-091-1/+2
| | | | | | | And an unit test was added. Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Type system parser has now the ability to ignore entries as demanded by the ↵Marcelo Lira2012-03-091-0/+1
| | | | | | | | | | | | | | | | | | | | user. The entries that could be dropped are: * Object and Value types * Global functions * Namespaces * Enums The entry name must be fully qualified with scope items separated by a dot (.) and beginning with the module/package name. Example: to drop the class "Bar" inside the namespace "Foo" from the "Pkg" package specify it with: "Pkg.Foo.Bar". TODO: The parser will later complain that dropped entries found on the headers are not found in the type system. That's obviously incorrect, but to fix it all the type entries should store the name of the package from where the came. And that's a needed improvement!
* Adds support for nested type declarations on the type system file.Marcelo Lira2012-03-091-7/+12
| | | | | | | | | | | | | | | Instead of: <enum-type name="Foo::Bar"/> <value-type name="Foo"/> the nested version could be used: <value-type name="Foo"> <enum-type name="Bar"/> </value-type> The old usage is still allowed.
* TypeDatabase class moved to its own header/cpp.Hugo Parente Lima2012-03-091-0/+159