You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
298 B
Go
11 lines
298 B
Go
5 years ago
|
package ast
|
||
|
|
||
|
// An attribute can be attached to block elements. They are specified as
|
||
|
// {#id .classs key="value"} where quotes for values are mandatory, multiple
|
||
|
// key/value pairs are separated by whitespace.
|
||
|
type Attribute struct {
|
||
|
ID []byte
|
||
|
Classes [][]byte
|
||
|
Attrs map[string][]byte
|
||
|
}
|