MCPcopy
hub / github.com/inlife/nexrender / parseArguments

Function parseArguments

packages/nexrender-action-lottie/lib/jsx/esprima.jsx:3080–3105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3078
3079
3080 function parseArguments() {
3081 var args = [], expr;
3082
3083 expect('(');
3084
3085 if (!match(')')) {
3086 while (startIndex < length) {
3087 if (match('...')) {
3088 expr = new Node();
3089 lex();
3090 expr.finishSpreadElement(isolateCoverGrammar(parseAssignmentExpression));
3091 } else {
3092 expr = isolateCoverGrammar(parseAssignmentExpression);
3093 }
3094 args.push(expr);
3095 if (match(')')) {
3096 break;
3097 }
3098 expectCommaSeparator();
3099 }
3100 }
3101
3102 expect(')');
3103
3104 return args;
3105 }
3106
3107 function parseNonComputedProperty() {
3108 var token, node = new Node();

Callers 2

parseNewExpressionFunction · 0.85

Calls 5

expectFunction · 0.85
matchFunction · 0.85
lexFunction · 0.85
isolateCoverGrammarFunction · 0.85
expectCommaSeparatorFunction · 0.85

Tested by

no test coverage detected