type github.com/andybalholm/cascadia.Specificity
34 uses
github.com/andybalholm/cascadia (current package)
selector.go#L23: Specificity() Specificity
selector.go#L181: func (c tagSelector) Specificity() Specificity {
selector.go#L182: return Specificity{0, 0, 1}
selector.go#L196: func (c classSelector) Specificity() Specificity {
selector.go#L197: return Specificity{0, 1, 0}
selector.go#L211: func (c idSelector) Specificity() Specificity {
selector.go#L212: return Specificity{1, 0, 0}
selector.go#L351: func (c attrSelector) Specificity() Specificity {
selector.go#L352: return Specificity{0, 1, 0}
selector.go#L407: func (s relativePseudoClassSelector) Specificity() Specificity {
selector.go#L408: var max Specificity
selector.go#L435: func (s containsPseudoClassSelector) Specificity() Specificity {
selector.go#L436: return Specificity{0, 1, 0}
selector.go#L487: func (s regexpPseudoClassSelector) Specificity() Specificity {
selector.go#L488: return Specificity{0, 1, 0}
selector.go#L622: func (s nthPseudoClassSelector) Specificity() Specificity {
selector.go#L623: return Specificity{0, 1, 0}
selector.go#L660: func (s onlyChildPseudoClassSelector) Specificity() Specificity {
selector.go#L661: return Specificity{0, 1, 0}
selector.go#L671: func (s inputPseudoClassSelector) Specificity() Specificity {
selector.go#L672: return Specificity{0, 1, 0}
selector.go#L693: func (s emptyElementPseudoClassSelector) Specificity() Specificity {
selector.go#L694: return Specificity{0, 1, 0}
selector.go#L710: func (s rootPseudoClassSelector) Specificity() Specificity {
selector.go#L711: return Specificity{0, 1, 0}
selector.go#L732: func (s compoundSelector) Specificity() Specificity {
selector.go#L733: var out Specificity
selector.go#L813: func (s combinedSelector) Specificity() Specificity {
specificity.go#L6: type Specificity [3]int
specificity.go#L9: func (s Specificity) Less(other Specificity) bool {
specificity.go#L21: func (s Specificity) Add(other Specificity) Specificity {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |