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.
| 8 | // It has convenience methods to find properties of the object, |
| 9 | // convert it to other types etc. |
| 10 | type Object struct { |
| 11 | node *Node |
| 12 | source []byte |
| 13 | } |
| 14 | |
| 15 | // NewObject returns a jsluice Object for the given Node |
| 16 | func NewObject(n *Node, source []byte) Object { |
nothing calls this directly
no outgoing calls
no test coverage detected