(node: SyntaxNode, source: string)
| 33 | * Extract text from a syntax node |
| 34 | */ |
| 35 | export function getNodeText(node: SyntaxNode, source: string): string { |
| 36 | return source.substring(node.startIndex, node.endIndex); |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Find a child node by field name |
no outgoing calls
no test coverage detected