serum v1.2.0 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

t()

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

template_type()

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

Link to this section Functions

Link to this function

new(ast, type, path)

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