Surface.AST.Template (surface v0.6.1) View Source
An AST node representing a <#template> element. This is used to provide content for slots
Properties
* `:name` - the template name
* `:let` - the bindings for this template
* `:children` - the template children
* `:meta` - compilation meta data
* `:debug` - keyword list indicating when debug information should be printed during compilation
* `:directives` - directives associated with this template
Link to this section Summary
Link to this section Types
Specs
t() :: %Surface.AST.Template{
children: [Surface.AST.t()],
directives: [Surface.AST.Directive.t()],
let: [Keyword.t(atom())],
meta: Surface.AST.Meta.t(),
name: atom()
}