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

Function parseStatement

acorn.js:1489–1732  ·  view source on GitHub ↗

* Parse a single statement. * * If expecting a statement and finding a slash operator, parse a * regular expression literal. This is to handle cases like * `if (foo) /blah/.exec(foo);`, where looking at the previous token * does not help. * * @returns {!node_t}

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

parseTopLevelFunction · 0.85
parseBlockFunction · 0.85
parseForFunction · 0.85
parseForInFunction · 0.85

Calls 15

readTokenFunction · 0.85
startNodeFunction · 0.85
nextFunction · 0.85
eatFunction · 0.85
canInsertSemicolonFunction · 0.85
unexpectedFunction · 0.85
parseIdentFunction · 0.85
semicolonFunction · 0.85
raiseFunction · 0.85
finishNodeFunction · 0.85
expectFunction · 0.85
parseParenExpressionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…