Diesel.Package behaviour (diesel v0.5.8)

Packages extend DSLs by defining new tags.

Usage:

defmodule Latex.Dsl.Music do
  use Diesel.Package,
    tags: [
      :music,
      :instrument,
      :meter
    ]
end

Summary

Callbacks

Link to this callback

compiler()

(optional)
@callback compiler() :: Macro.t()
@callback tags() :: [atom()]