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

Function parseNewExpression

jsonpath.js:2280–2289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2278 }
2279
2280 function parseNewExpression() {
2281 var callee, args, startToken;
2282
2283 startToken = lookahead;
2284 expectKeyword('new');
2285 callee = parseLeftHandSideExpression();
2286 args = match('(') ? parseArguments() : [];
2287
2288 return delegate.markEnd(delegate.createNewExpression(callee, args), startToken);
2289 }
2290
2291 function parseLeftHandSideExpressionAllowCall() {
2292 var expr, args, property, startToken, previousAllowIn = state.allowIn;

Calls 4

expectKeywordFunction · 0.85
matchFunction · 0.85
parseArgumentsFunction · 0.85

Tested by

no test coverage detected