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

Function parseScript

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

Source from the content-addressed store, hash-verified

86}
87
88export function parseScript(code: string, options, delegate) {
89 const parsingOptions = options || {};
90 parsingOptions.sourceType = 'script';
91 return parse(code, parsingOptions, delegate);
92}
93
94export function tokenize(code: string, options, delegate) {
95 const tokenizer = new Tokenizer(code, 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…