View Source ElixirAvro.Template (elixir_avro v0.1.0)
Module responsible for processing templates.
Summary
Functions
Evaluates the all types applying the given template.
Types
@type t() :: %ElixirAvro.Template{ doc: String.t(), fields: [ElixirAvro.AvroType.RecordField.t()], name: String.t(), prefix: String.t(), symbols: [String.t()] }
Functions
@spec eval!(ElixirAvro.AvroType.t(), String.t()) :: {String.t(), String.t()}
@spec eval_all!([ElixirAvro.AvroType.t()], String.t()) :: %{ required(String.t()) => String.t() }
Evaluates the all types applying the given template.
Examples
NOTE: put here all the examples.