View Source Surface.AST.Tag (surface v0.11.4)
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
Summary
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() }