serum v1.4.1 Serum.Template View Source

Defines a struct which stores a template and its information.

Link to this section Summary

Link to this section Types

Link to this type

collection()

View Source
collection() :: %{optional(binary()) => t()}
Link to this type

t()

View Source
t() :: %Serum.Template{
  ast: Macro.t(),
  file: binary(),
  include_resolved?: boolean(),
  name: binary(),
  type: type()
}
Link to this type

type()

View Source
type() :: :template | :include

Link to this section Functions

Link to this function

new(ast, name, type, path)

View Source
new(Macro.t(), binary(), type(), binary()) :: t()