Surface.AST.Tag (surface v0.6.1) View Source
An AST node representing a standard HTML tag
Properties
* `:element` - the element name
* `:attributes` - the attributes for this tag
* `:directives` - any directives to be applied to this tag
* `:children` - the tag children
* `:meta` - compilation meta data
* `:debug` - keyword list indicating when debug information should be printed during compilation
Link to this section Summary
Link to this section Types
Specs
t() :: %Surface.AST.Tag{
attributes: [Surface.AST.Attribute.t() | Surface.AST.DynamicAttribute.t()],
children: [Surface.AST.t()],
debug: [atom()],
directives: [Surface.AST.Directive.t()],
element: binary(),
meta: Surface.AST.Meta.t()
}