CaptureName returns the name given to a node in a query if one exists, and an empty string otherwise
()
| 488 | // CaptureName returns the name given to a node in a |
| 489 | // query if one exists, and an empty string otherwise |
| 490 | func (n *Node) CaptureName() string { |
| 491 | return n.captureName |
| 492 | } |
| 493 | |
| 494 | // dequote removes surround quotes from the provided string |
| 495 | func dequote(in string) string { |