MCPcopy
hub / github.com/BloombergGraphics/whatiscode / parseVariableStatement

Function parseVariableStatement

scripts/libs/esprima.js:3268–3278  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

3266 }
3267
3268 function parseVariableStatement(node) {
3269 var declarations;
3270
3271 expectKeyword('var');
3272
3273 declarations = parseVariableDeclarationList();
3274
3275 consumeSemicolon();
3276
3277 return node.finishVariableDeclaration(declarations);
3278 }
3279
3280 function parseLexicalBinding(kind, options) {
3281 var init = null, id, node = new Node();

Callers 1

parseStatementFunction · 0.85

Calls 3

expectKeywordFunction · 0.85
consumeSemicolonFunction · 0.85

Tested by

no test coverage detected