# `ExGram.Macros.Helpers`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.65.0/lib/ex_gram/macros/helpers.ex#L1)

Helpers for the ExGram.Macros module

# `analyze_params`

Entry point for all the macros that has parameters (model + method).

It analyzed the AST and return the list of params with the following format:
- For mandatory parameters: `[name, types, description]`
- For optional parameters: `[name, types, description, :optional]`

All the other methods in this module that deal with parameters expect this format.

# `file_parameters`

# `mandatory_parameters`

# `mandatory_type_specs`

# `mandatory_value_type`

# `optional_parameters`

# `optional_type_specs`

# `params_descriptions`

# `params_to_decode_as`

# `struct_type_specs`

# `struct_type_specs`

# `type_to_spec`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
