MCPcopy Create free account
hub / github.com/BishopFox/jsluice / Object

Struct Object

objects.go:10–13  ·  view source on GitHub ↗

Object is a wrapper about a N ode that contains a JS Object It has convenience methods to find properties of the object, convert it to other types etc.

Source from the content-addressed store, hash-verified

8// It has convenience methods to find properties of the object,
9// convert it to other types etc.
10type Object struct {
11 node *Node
12 source []byte
13}
14
15// NewObject returns a jsluice Object for the given Node
16func NewObject(n *Node, source []byte) Object {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected