Unifex.CodeGenerator behaviour (Unifex v0.7.3) View Source
Behaviour for code generation.
Link to this section Summary
Functions
Generates boilerplate code using generator implementation from Unifex.CodeGenerators.
Link to this section Types
Specs
code_t() :: String.t()
Specs
Link to this section Callbacks
Specs
generate_header(specs :: Unifex.Specs.t()) :: code_t()
Specs
generate_source(specs :: Unifex.Specs.t()) :: code_t()
Specs
identification_constant() :: String.t()
Specs
interface_io_name() :: String.t()
Link to this section Functions
Specs
bundlex_interface(Bundlex.Native.interface_t()) :: Unifex.Specs.interface_t()
Specs
generate_code(Unifex.Specs.t()) :: [generated_code_t()]
Generates boilerplate code using generator implementation from Unifex.CodeGenerators.
Specs
interface_generator(Unifex.Specs.interface_t()) :: module()