IsValid returns true if the *Node and the underlying tree-sitter node are both not nil.
()
| 197 | // IsValid returns true if the *Node and the underlying |
| 198 | // tree-sitter node are both not nil. |
| 199 | func (n *Node) IsValid() bool { |
| 200 | return n != nil && n.node != nil |
| 201 | } |
| 202 | |
| 203 | // RawString returns the raw JavaScript representation |
| 204 | // of a string (i.e. escape sequences are left undecoded) |
no outgoing calls
no test coverage detected