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