Documentation
¶
Overview ¶
Package cssselector parses selectors for the purpose of purging unused CSS. It discards various bits of information not used by the purging process, and isn't generically useful.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Selector ¶
type Selector struct {
Tag string
ID string
Class map[string]struct{}
Attr map[string]struct{}
PsuedoClass []string
PsuedoElement []string
Function []string
}
Selector is a single parsed selector, a number of which form a chain together.
Click to show internal directories.
Click to hide internal directories.