(node: SyntaxNode)
| 3 | import type { ExtractorContext, LanguageExtractor } from '../tree-sitter-types'; |
| 4 | |
| 5 | function unwrapVariableExpression(node: SyntaxNode): SyntaxNode { |
| 6 | if (node.type !== 'variable_expression') return node; |
| 7 | return node.namedChild(0) ?? node; |
| 8 | } |
| 9 | |
| 10 | function getCalleeName(node: SyntaxNode, source: string): string | null { |
| 11 | let current = node; |
no outgoing calls
no test coverage detected