MCPcopy
hub / github.com/golang/net / top

Method top

html/parse.go:56–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54}
55
56func (p *parser) top() *Node {
57 if n := p.oe.top(); n != nil {
58 return n
59 }
60 return p.doc
61}
62
63// Stop tags for use in popUntil. These come from section 12.2.4.2.
64var (

Callers 15

addChildMethod · 0.95
shouldFosterParentMethod · 0.95
addTextMethod · 0.95
addFormattingElementMethod · 0.95
resetInsertionModeMethod · 0.45
beforeHeadIMFunction · 0.45
inHeadNoscriptIMFunction · 0.45
inBodyIMFunction · 0.45
textIMFunction · 0.45
inTableIMFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected