MCPcopy Create free account
hub / github.com/HarmonicLabs/pebble / parseFilePure

Function parseFilePure

packages/pebble/src/parser/parseFile.ts:6–14  ·  view source on GitHub ↗
(
    path: string,
    src: string,
    getUid: () => string = defaultSymbolForge.getUid.bind( defaultSymbolForge ),
    isEntry: boolean = false
)

Source from the content-addressed store, hash-verified

4import { Parser } from "./Parser";
5
6export 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
16export function parseFile(
17 path: string,

Callers

nothing calls this directly

Calls 1

parseFileMethod · 0.80

Tested by

no test coverage detected