Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AST ¶
type AST struct {
ImportRecords []ast.ImportRecord
Rules []R
}
type ComplexSelector ¶
type ComplexSelector struct {
Selectors []CompoundSelector
}
type CompoundSelector ¶
type CompoundSelector struct {
HasNestPrefix bool // "&"
Combinator string // Optional, may be ""
TypeSelector *NamespacedName
SubclassSelectors []SS
PseudoClassSelectors []SSPseudoClass // If present, these follow a ":" character
}
type NamespacedName ¶
type R ¶
type R interface {
// contains filtered or unexported methods
}
This interface is never called. Its purpose is to encode a variant type in Go's type system.
type RAtCharset ¶ added in v0.7.7
type RAtCharset struct {
Encoding string
}
type RAtNamespace ¶ added in v0.7.7
type RBadDeclaration ¶
type RDeclaration ¶
type RQualified ¶
type RSelector ¶
type RSelector struct {
Selectors []ComplexSelector
Rules []R
}
type RUnknownAt ¶
type SS ¶
type SS interface {
// contains filtered or unexported methods
}
This interface is never called. Its purpose is to encode a variant type in Go's type system.
type SSAttribute ¶
type SSAttribute struct {
NamespacedName NamespacedName
MatcherOp string
MatcherValue string
MatcherModifier byte
}
type SSPseudoClass ¶
Click to show internal directories.
Click to hide internal directories.