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

Method AsObject

tree.go:43–45  ·  view source on GitHub ↗

AsObject returns a Node as jsluice's internal object type, to allow the fetching of keys etc

()

Source from the content-addressed store, hash-verified

41// AsObject returns a Node as jsluice's internal object type,
42// to allow the fetching of keys etc
43func (n *Node) AsObject() Object {
44 return NewObject(n, n.source)
45}
46
47// Content returns the source code for a particular node.
48func (n *Node) Content() string {

Callers 10

matchJQueryFunction · 0.95
awsMatcherFunction · 0.80
objectMatcherMethod · 0.80
pairMatcherMethod · 0.80
stringMatcherMethod · 0.80
AllSecretMatchersFunction · 0.80
AllURLMatchersFunction · 0.80
githubKeyMatcherFunction · 0.80
gcpKeyMatcherFunction · 0.80
firebaseMatcherFunction · 0.80

Calls 1

NewObjectFunction · 0.85

Tested by

no test coverage detected