MCPcopy Index your code
hub / github.com/jquery/esprima / parseModule

Function parseModule

src/esprima.ts:82–86  ·  view source on GitHub ↗
(code: string, options, delegate)

Source from the content-addressed store, hash-verified

80}
81
82export function parseModule(code: string, options, delegate) {
83 const parsingOptions = options || {};
84 parsingOptions.sourceType = 'module';
85 return parse(code, parsingOptions, delegate);
86}
87
88export function parseScript(code: string, options, delegate) {
89 const parsingOptions = options || {};

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…