View Source ElixirAvro.Template.Renderer (elixir_avro v0.1.0)
Module responsible for processing field templates.
Summary
Functions
Renders the @expected_keys module attribute for the given fields.
Renders the @moduledoc documentation for the given fields.
Renders the typestruct fields with their specs.
Renders the @values for enum types.
Functions
@spec args_for_from_avro(ElixirAvro.Template.t()) :: String.t()
@spec expected_keys(ElixirAvro.Template.t()) :: String.t()
Renders the @expected_keys module attribute for the given fields.
@spec fields_for_from_avro(ElixirAvro.Template.t()) :: String.t()
@spec fields_for_to_avro(ElixirAvro.Template.t()) :: String.t()
@spec module_doc(ElixirAvro.Template.t()) :: String.t()
Renders the @moduledoc documentation for the given fields.
@spec typedstruct_fields(ElixirAvro.Template.t()) :: String.t()
Renders the typestruct fields with their specs.
@spec values(ElixirAvro.Template.t()) :: String.t()
Renders the @values for enum types.