Slime.Parser.Nodes.HTMLNode (jgy_slime v1.3.0) View Source

An HTML node.

  • :name — tag name,
  • :attributes — a list of {"name", :v} tuples, where :v is either a string or an {:eex, "content"} tuple,
  • :spaces — tag whitespace, represented as a keyword list of boolean values for :leading and :trailing,
  • :closed — the presence of a trailing "/", which explicitly closes the tag,
  • :children — a list of nodes.