View Source Surface.AST.VoidTag (Surface v0.12.0)

An AST node representing a void (empty) HTML tag

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

Summary

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()
}