1-based start line of a tree-sitter node.
(node)
| 1156 | |
| 1157 | |
| 1158 | def _line_of(node) -> int: |
| 1159 | """1-based start line of a tree-sitter node.""" |
| 1160 | return node.start_point[0] + 1 |
| 1161 | |
| 1162 | |
| 1163 | def _node_text(node, src: bytes) -> str: |
no outgoing calls
no test coverage detected