general/markup/type.bend checks
raw source on the hub · import 0x1fc67b41fabeabde819cdaa647758be1/general/markup/type.bend as Type
1 import
import Base
Types
type Attribute source · line 5 · raw
Data
Markup: elements with attributes and children, and text. HTML, SVG and XML are all markup; a typed language (like domain/app/html) lowers into it to be printed.
Attribute@name:String -> @value:String -> Attribute
type Node source · line 8 · raw
Data
Element@tag:String -> @attributes:List<&2, Attribute> -> @children:List<&2, Node> -> Node
Void@tag:String -> @attributes:List<&2, Attribute> -> Node
Text@text:String -> Node
Raw@text:String -> Node