MCPcopy Create free account
hub / github.com/NeilFraser/JS-Interpreter / parseTopLevel

Function parseTopLevel

acorn.js:1450–1474  ·  view source on GitHub ↗

* Parse a program. Initializes the parser, reads any number of * statements, and wraps them in a Program node. Optionally takes a * `program` argument. If present, the statements will be appended * to its body instead of creating a new node. * * @param {node_t} program * @returns

(program)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

acorn.jsFile · 0.85

Calls 6

readTokenFunction · 0.85
startNodeFunction · 0.85
parseStatementFunction · 0.85
isUseStrictFunction · 0.85
setStrictFunction · 0.85
finishNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…