Module generator

Source
Expand description

The module responsible for the code generation.

There is one sub module for every language

Enums§

OutputFormat

Traits§

ItemTreeBuilder
A reference to this trait is passed to the build_item_tree function. It can be used to build the array for the item tree.

Functions§

build_item_tree
Visit each item in order in which they should appear in the children tree array.
for_each_const_properties
Call the given function for each constant property in the Component so one can set set_constant on it.
generate
handle_property_bindings_init
Will call the handle_property callback for every property that needs to be initialized. This function makes sure to call them in order so that if constant binding need to access constant properties, these are already initialized