Otera.Template (otera v0.1.0)

Copy Markdown View Source

A parsed template. Otera.parse/2 makes it, and Otera.render/3 renders it many times without parsing it again.

options holds the options of Otera.parse/2, which also apply to each render.

Summary

Types

t()

@type t() :: %Otera.Template{ast: list(), options: keyword(), source: String.t()}