MCPcopy Index your code
hub / github.com/dchester/jsonpath / parseVariableIdentifier

Function parseVariableIdentifier

jsonpath.js:2658–2669  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2656 // 12.2 Variable Statement
2657
2658 function parseVariableIdentifier() {
2659 var token, startToken;
2660
2661 startToken = lookahead;
2662 token = lex();
2663
2664 if (token.type !== Token.Identifier) {
2665 throwUnexpected(token);
2666 }
2667
2668 return delegate.markEnd(delegate.createIdentifier(token.value), startToken);
2669 }
2670
2671 function parseVariableDeclaration(kind) {
2672 var init = null, id, startToken;

Callers 8

parseObjectPropertyFunction · 0.85
parseVariableDeclarationFunction · 0.85
parseContinueStatementFunction · 0.85
parseBreakStatementFunction · 0.85
parseCatchClauseFunction · 0.85
parseParamsFunction · 0.85
parseFunctionDeclarationFunction · 0.85
parseFunctionExpressionFunction · 0.85

Calls 2

throwUnexpectedFunction · 0.85
lexFunction · 0.70

Tested by

no test coverage detected