golang.org/x/net/html.Token.Type (field)
41 uses
golang.org/x/net/html (current package)
parse.go#L516: switch p.tok.Type {
parse.go#L543: switch p.tok.Type {
parse.go#L581: switch p.tok.Type {
parse.go#L624: switch p.tok.Type {
parse.go#L721: switch p.tok.Type {
parse.go#L770: switch p.tok.Type {
parse.go#L847: switch p.tok.Type {
parse.go#L1161: p.tok.Type = StartTagToken
parse.go#L1370: switch p.tok.Type {
parse.go#L1394: return p.tok.Type == EndTagToken
parse.go#L1399: switch p.tok.Type {
parse.go#L1506: switch p.tok.Type {
parse.go#L1550: switch p.tok.Type {
parse.go#L1609: switch p.tok.Type {
parse.go#L1661: switch p.tok.Type {
parse.go#L1712: switch p.tok.Type {
parse.go#L1762: switch p.tok.Type {
parse.go#L1847: switch p.tok.Type {
parse.go#L1851: if p.tok.Type == EndTagToken && !p.elementInScope(tableScope, p.tok.DataAtom) {
parse.go#L1874: switch p.tok.Type {
parse.go#L1940: switch p.tok.Type {
parse.go#L1978: switch p.tok.Type {
parse.go#L2028: switch p.tok.Type {
parse.go#L2067: switch p.tok.Type {
parse.go#L2096: switch p.tok.Type {
parse.go#L2134: switch p.tok.Type {
parse.go#L2233: if p.tok.Type == StartTagToken && p.tok.DataAtom != a.Mglyph && p.tok.DataAtom != a.Malignmark {
parse.go#L2236: if p.tok.Type == TextToken {
parse.go#L2240: if n.Namespace == "math" && n.DataAtom == a.AnnotationXml && p.tok.Type == StartTagToken && p.tok.DataAtom == a.Svg {
parse.go#L2243: if htmlIntegrationPoint(n) && (p.tok.Type == StartTagToken || p.tok.Type == TextToken) {
parse.go#L2246: if p.tok.Type == ErrorToken {
parse.go#L2257: Type: t,
parse.go#L2269: if p.tok.Type == SelfClosingTagToken {
parse.go#L2271: p.tok.Type = StartTagToken
parse.go#L2299: if p.tok.Type == ErrorToken {
token.go#L77: Type TokenType
token.go#L101: switch t.Type {
token.go#L117: return "Invalid(" + strconv.Itoa(int(t.Type)) + ")"
token.go#L1172: t := Token{Type: z.tt}
github.com/microcosm-cc/bluemonday
sanitize.go#L119: switch token.Type {
![]() |
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. |