golang.org/x/net/html.nodeStack.index (method)
16 uses
golang.org/x/net/html (current package)
node.go#L173: func (s *nodeStack) index(n *Node) int {
node.go#L201: i := s.index(n)
parse.go#L396: if n.Type == scopeMarkerNode || p.oe.index(n) != -1 {
parse.go#L400: for n.Type != scopeMarkerNode && p.oe.index(n) == -1 {
parse.go#L453: ancestor = p.oe[p.oe.index(ancestor)-1]
parse.go#L1201: if current := p.oe.top(); current.Data == tagName && p.afe.index(current) == -1 {
parse.go#L1225: feIndex := p.oe.index(formattingElement)
parse.go#L1257: bookmark := p.afe.index(formattingElement)
parse.go#L1262: x := p.oe.index(node)
parse.go#L1278: if ni := p.afe.index(node); j > 3 && ni > -1 {
parse.go#L1291: if p.afe.index(node) == -1 {
parse.go#L1297: p.afe[p.afe.index(node)] = clone
parse.go#L1298: p.oe[p.oe.index(node)] = clone
parse.go#L1302: bookmark = p.afe.index(node) + 1
parse.go#L1332: if oldLoc := p.afe.index(formattingElement); oldLoc != -1 && oldLoc < bookmark {
parse.go#L1341: p.oe.insert(p.oe.index(furthestBlock)+1, clone)
![]() |
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. |