MCPcopy
hub / github.com/BishopFox/jsluice / RootNode

Method RootNode

analyzer.go:63–65  ·  view source on GitHub ↗

RootNode returns the root note of the parsed JavaScript

()

Source from the content-addressed store, hash-verified

61
62// RootNode returns the root note of the parsed JavaScript
63func (a *Analyzer) RootNode() *Node {
64 return a.rootNode
65}
66
67// isProbablyHTML returns true for source that is probably HTML.
68// False positives are OK as long as the false positives are not

Callers 5

formatFunction · 0.95
PrintTreeFunction · 0.80
NewAnalyzerFunction · 0.80
TestCollapsedStringFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestCollapsedStringFunction · 0.64