efl/src/lib/eolian_cxx/grammar
Vitor Sousa ce36f0be93 eolain_cxx: Fix C++ support for new Eolian features
Added optional constructor methods for C++ Eolian wrappers.
Changed the interface of wrappers' main constructors.
If there are optional constructor methods they should be passed as variadic
template argument at the end of the constructor.
To support variadic template arguments, the optional "parent" parameter is
now the first parameter and there is another constructor without the
"parent" parameter.

Checking for @optinal and @nullable attributes instead of @nonull.
Now @nonull is the default, and eina::optional is only used when @optional
or @nullable attribute is specified.

The names of constructor methods no longer have the class name prefixed.

Added unit tests for checking the binding of optional constructors.
Added new .eo file to be used in the test.

Changed the generated documentation of constructors.

Changed the efl::eo::inherit accordingly, to address these new features.
Now the constructor methods should be explicit called in the
efl::eo::inherit constructor, which will receive them via variadic
template arguments.

Added another constructor to efl::eo::inherit for passing the parent
object.

Updated some tests and examples to follow the new interface.

Removed some code that is no longer necessary.

Also, fix Eolian C++ support for constructing properties. fix
assertion when parsing constructing properties.

Now if a property is a constructing property eolian_cxx will generate a
constructor method that have the property name (without the "_set" suffix).
2015-04-14 01:06:57 -03:00
..
comment.hh eolian_cxx: Add protected methods and events to C++ wrappers and fixes 2015-04-14 01:06:57 -03:00
eo_class_constructors_generator.hh eolain_cxx: Fix C++ support for new Eolian features 2015-04-14 01:06:57 -03:00
eo_class_events_generator.hh eolian_cxx: Add protected methods and events to C++ wrappers and fixes 2015-04-14 01:06:57 -03:00
eo_class_functions_generator.hh eolian_cxx: Add protected methods and events to C++ wrappers and fixes 2015-04-14 01:06:57 -03:00
eo_class_generator.hh eolain_cxx: Fix C++ support for new Eolian features 2015-04-14 01:06:57 -03:00
eo_class_scope_guard_generator.hh eolian_cxx: Add protected methods and events to C++ wrappers and fixes 2015-04-14 01:06:57 -03:00
eo_header_generator.hh eolian_cxx: Add protected methods and events to C++ wrappers and fixes 2015-04-14 01:06:57 -03:00
inheritance_base_generator.hh eolain_cxx: Fix C++ support for new Eolian features 2015-04-14 01:06:57 -03:00
namespace_generator.hh cxx: General C++ Eo wrapper generation improvement 2015-01-05 15:52:27 -02:00
parameters_generator.hh eolian_cxx: Add protected methods and events to C++ wrappers and fixes 2015-04-14 01:06:57 -03:00
tab.hh eolian-cxx: Added namespaces and more (see below) 2014-06-30 19:35:06 +01:00
type_generator.hh eolain_cxx: Fix C++ support for new Eolian features 2015-04-14 01:06:57 -03:00