attribute.go
1package ast
2
3// An attribute can be attached to block elements. They are specified as
4// {#id .classs key="value"} where quotes for values are mandatory, multiple
5// key/value pairs are separated by whitespace.
6type Attribute struct {
7 ID []byte
8 Classes [][]byte
9 Attrs map[string][]byte
10}