MCPcopy Create free account
hub / github.com/crufter/goquery / addText

Method addText

exp/html/parse.go:266–277  ·  view source on GitHub ↗

addText adds text to the preceding node if it is a text node, or else it calls addChild with a new text node.

(text string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

inHeadIMFunction · 0.80
afterHeadIMFunction · 0.80
inBodyIMFunction · 0.80
textIMFunction · 0.80
inTableIMFunction · 0.80
inColumnGroupIMFunction · 0.80
inSelectIMFunction · 0.80
inFramesetIMFunction · 0.80
afterFramesetIMFunction · 0.80
parseForeignContentFunction · 0.80

Calls 2

topMethod · 0.95
addChildMethod · 0.95

Tested by

no test coverage detected