golang.org/x/net/html.nodeStack.top (method)

13 uses

	golang.org/x/net/html (current package)
		node.go#L164: func (s *nodeStack) top() *Node {
		parse.go#L55: 	if n := p.oe.top(); n != nil {
		parse.go#L392: 	n := p.afe.top()
		parse.go#L850: 		switch n := p.oe.top(); n.DataAtom {
		parse.go#L1201: 	if current := p.oe.top(); current.Data == tagName && p.afe.index(current) == -1 {
		parse.go#L1375: 		if n := p.oe.top(); n.DataAtom == a.Textarea && n.FirstChild == nil {
		parse.go#L1402: 		switch p.oe.top().DataAtom {
		parse.go#L1585: 			if p.oe.top().DataAtom == a.Colgroup {
		parse.go#L1599: 	if p.oe.top().DataAtom != a.Colgroup {
		parse.go#L2012: 			if p.oe.top().DataAtom != a.Html {
		parse.go#L2014: 				if p.oe.top().DataAtom != a.Frameset {
		parse.go#L2220: 	return p.oe.top()
		parse.go#L2294: 		n := p.oe.top()