Function
parseFilePure
(
path: string,
src: string,
getUid: () => string = defaultSymbolForge.getUid.bind( defaultSymbolForge ),
isEntry: boolean = false
)
Source from the content-addressed store, hash-verified
| 4 | import { Parser } from "./Parser"; |
| 5 | |
| 6 | export function parseFilePure( |
| 7 | path: string, |
| 8 | src: string, |
| 9 | getUid: () => string = defaultSymbolForge.getUid.bind( defaultSymbolForge ), |
| 10 | isEntry: boolean = false |
| 11 | ): [ Source, DiagnosticMessage[] ] |
| 12 | { |
| 13 | return Parser.parseFile( path, src, getUid, isEntry ); |
| 14 | } |
| 15 | |
| 16 | export function parseFile( |
| 17 | path: string, |
Callers
nothing calls this directly
Tested by
no test coverage detected