(source: string)
| 9 | }); |
| 10 | |
| 11 | const extract = (source: string) => extractFromSource('Demo.pas', source, 'pascal'); |
| 12 | const routines = (source: string) => extract(source).nodes.filter(n => n.kind === 'method' || n.kind === 'function'); |
| 13 | function body(source: string, node: Node): string { |
| 14 | const lines = source.split('\n').slice(node.startLine - 1, node.endLine); |
no test coverage detected