Helper.Ecto.Module.Block (helper v1.0.1) View Source

Split AST into logical blocks

Link to this section Summary

Functions

Split the AST into various components

Link to this section Types

Specs

ast() :: Macro.t()

Specs

t() :: %Helper.Ecto.Module.Block{
  attributes: ast(),
  custom: ast(),
  derives: ast(),
  fields: ast(),
  functions: ast(),
  module_attributes: ast(),
  rest: ast()
}

Link to this section Functions

Specs

split(keyword() | ast() | t()) :: t()

Split the AST into various components