View Source Surface.AST.Tag (surface v0.11.0)
An AST node representing a standard HTML tag
properties
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
@type 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() }