golang.org/x/net/html.span.start (field)
43 uses
golang.org/x/net/html (current package)
token.go#L123: start, end int
token.go#L246: d := z.raw.end - z.raw.start
token.go#L253: copy(buf1, z.buf[z.raw.start:z.raw.end])
token.go#L254: if x := z.raw.start; x != 0 {
token.go#L256: z.data.start -= x
token.go#L258: z.pendingAttr[0].start -= x
token.go#L260: z.pendingAttr[1].start -= x
token.go#L263: z.attr[i][0].start -= x
token.go#L265: z.attr[i][1].start -= x
token.go#L269: z.raw.start, z.raw.end, z.buf = 0, d, buf1[:d]
token.go#L282: if z.maxBuf > 0 && z.raw.end-z.raw.start >= z.maxBuf {
token.go#L601: z.data.start = z.raw.end
token.go#L603: if z.data.end < z.data.start {
token.go#L605: z.data.end = z.data.start
token.go#L646: z.data.start = z.raw.end
token.go#L664: z.data.start = z.raw.end
token.go#L702: z.raw.end = z.data.start
token.go#L707: z.data.start = z.raw.end
token.go#L727: z.raw.end = z.data.start
token.go#L731: z.data.start = z.raw.end
token.go#L759: if z.data.end-z.data.start != len(s) {
token.go#L763: c := z.buf[z.data.start+i]
token.go#L784: c, raw := z.buf[z.data.start], false
token.go#L803: z.rawTag = strings.ToLower(string(z.buf[z.data.start:z.data.end]))
token.go#L833: if saveAttr && z.pendingAttr[0].start != z.pendingAttr[0].end {
token.go#L846: z.data.start = z.raw.end - 1
token.go#L868: z.pendingAttr[0].start = z.raw.end
token.go#L889: z.pendingAttr[1].start = z.raw.end
token.go#L915: z.pendingAttr[1].start = z.raw.end
token.go#L929: z.pendingAttr[1].start = z.raw.end - 1
token.go#L951: z.raw.start = z.raw.end
token.go#L952: z.data.start = z.raw.end
token.go#L969: if z.data.end > z.data.start {
token.go#L1013: if x := z.raw.end - len("<a"); z.raw.start < x {
token.go#L1059: if z.raw.start < z.raw.end {
token.go#L1076: return z.buf[z.raw.start:z.raw.end]
token.go#L1121: s := z.buf[z.data.start:z.data.end]
token.go#L1122: z.data.start = z.raw.end
token.go#L1140: if z.data.start < z.data.end {
token.go#L1143: s := z.buf[z.data.start:z.data.end]
token.go#L1144: z.data.start = z.raw.end
token.go#L1161: key = z.buf[x[0].start:x[0].end]
token.go#L1162: val = z.buf[x[1].start:x[1].end]
![]() |
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. |