Kinda.CodeGen behaviour (kinda v0.2.3)
Behavior for customizing your source code generation.
Link to this section Summary
Link to this section Callbacks
Link to this callback
filter_functions(list)
@callback filter_functions([Kinda.CodeGen.Function.t()]) :: [Kinda.CodeGen.Function.t()]
Link to this callback
kinds()
@callback kinds() :: Kinda.CodeGen.Type.t()
Link to this callback
nif_gen(t)
@callback nif_gen(Kinda.CodeGen.Function.t()) :: Kinda.CodeGen.NIF.t()
Link to this callback
type_gen(atom, t)
@callback type_gen(atom(), String.t()) :: {:ok, Kinda.CodeGen.Type.t()} | :skip
Link to this section Functions
Link to this function
filter_functions(funcs)
Link to this function
kinds()
Link to this function