View Source Surface.AST.VoidTag (surface v0.11.0)

An AST node representing a void (empty) HTML tag

properties

Properties

* `:element` - the element name
* `:attributes` - the attributes for this tag
* `:directives` - any directives to be applied to this tag
* `: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.VoidTag{
  attributes: [Surface.AST.Attribute.t() | Surface.AST.DynamicAttribute.t()],
  debug: [atom()],
  directives: [Surface.AST.Directive.t()],
  element: binary(),
  meta: Surface.AST.Meta.t()
}