( source: string, fileName: string, options: any )
| 41 | } |
| 42 | |
| 43 | export function parseFile( |
| 44 | source: string, |
| 45 | fileName: string, |
| 46 | options: any |
| 47 | ): void { |
| 48 | const ast = preprocess(source) |
| 49 | traverse(ast, { |
| 50 | MustacheStatement(node: ASTv1.MustacheStatement) { |
| 51 | extractText(node, fileName, options) |
| 52 | }, |
| 53 | SubExpression(node: ASTv1.SubExpression) { |
| 54 | extractText(node, fileName, options) |
| 55 | }, |
| 56 | }) |
| 57 | } |
no outgoing calls
no test coverage detected