type github.com/andybalholm/cascadia.classSelector
8 uses
github.com/andybalholm/cascadia (current package)
parser.go#L328: func (p *parser) parseClassSelector() (classSelector, error) {
parser.go#L330: return classSelector{}, fmt.Errorf("expected class selector (.class), found EOF instead")
parser.go#L333: return classSelector{}, fmt.Errorf("expected class selector (.class), found '%c' instead", p.s[p.i])
parser.go#L339: return classSelector{}, err
parser.go#L342: return classSelector{class: class}, nil
selector.go#L185: type classSelector struct {
selector.go#L190: func (t classSelector) Match(n *html.Node) bool {
selector.go#L196: func (c classSelector) 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. |