MCPcopy Create free account
hub / github.com/dchester/jsonpath / parseVariableDeclarationList

Function parseVariableDeclarationList

jsonpath.js:2693–2705  ·  view source on GitHub ↗
(kind)

Source from the content-addressed store, hash-verified

2691 }
2692
2693 function parseVariableDeclarationList(kind) {
2694 var list = [];
2695
2696 do {
2697 list.push(parseVariableDeclaration(kind));
2698 if (!match(',')) {
2699 break;
2700 }
2701 lex();
2702 } while (index < length);
2703
2704 return list;
2705 }
2706
2707 function parseVariableStatement() {
2708 var declarations;

Callers 3

parseVariableStatementFunction · 0.85
parseConstLetDeclarationFunction · 0.85

Calls 3

parseVariableDeclarationFunction · 0.85
matchFunction · 0.85
lexFunction · 0.70

Tested by

no test coverage detected