()
| 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(); |
no test coverage detected