MCPcopy Index your code
hub / github.com/BloombergGraphics/whatiscode / parseExpression

Function parseExpression

scripts/libs/esprima.js:3152–3172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3150 // 11.14 Comma Operator
3151
3152 function parseExpression() {
3153 var expr, startToken = lookahead, expressions;
3154
3155 expr = parseAssignmentExpression();
3156
3157 if (match(',')) {
3158 expressions = [expr];
3159
3160 while (startIndex < length) {
3161 if (!match(',')) {
3162 break;
3163 }
3164 lex();
3165 expressions.push(parseAssignmentExpression());
3166 }
3167
3168 expr = new WrappingNode(startToken).finishSequenceExpression(expressions);
3169 }
3170
3171 return expr;
3172 }
3173
3174 // 12.1 Block
3175

Callers 12

parseComputedMemberFunction · 0.85
parseExpressionStatementFunction · 0.85
parseIfStatementFunction · 0.85
parseDoWhileStatementFunction · 0.85
parseWhileStatementFunction · 0.85
parseForStatementFunction · 0.85
parseReturnStatementFunction · 0.85
parseWithStatementFunction · 0.85
parseSwitchCaseFunction · 0.85
parseSwitchStatementFunction · 0.85
parseThrowStatementFunction · 0.85
parseStatementFunction · 0.85

Calls 3

matchFunction · 0.85
lexFunction · 0.85

Tested by

no test coverage detected