(node *Node, position int)
| 2663 | } |
| 2664 | |
| 2665 | func nodeContainsPosition(node *Node, position int) bool { |
| 2666 | return node.Kind >= KindFirstNode && node.Pos() <= position && (position < node.End() || position == node.End() && node.Kind == KindEndOfFile) |
| 2667 | } |
| 2668 | |
| 2669 | func findImportOrRequire(text string, start int) (index int, size int) { |
| 2670 | index = max(start, 0) |
no test coverage detected