(strings, ...values)
| 9542 | } |
| 9543 | |
| 9544 | function x(strings, ...values) { |
| 9545 | const str = join$1(strings); |
| 9546 | const comments = []; |
| 9547 | |
| 9548 | try { |
| 9549 | const expression = parseExpressionAt(str, 0, acorn_opts(comments, str)) ; |
| 9550 | const match = /\S+/.exec(str.slice((expression ).end)); |
| 9551 | if (match) { |
| 9552 | throw new Error(`Unexpected token '${match[0]}'`); |
| 9553 | } |
| 9554 | |
| 9555 | inject(str, expression, values, comments); |
| 9556 | |
| 9557 | return expression; |
| 9558 | } catch (err) { |
| 9559 | handle_error(str, err); |
| 9560 | } |
| 9561 | } |
| 9562 | |
| 9563 | function p(strings, ...values) { |
| 9564 | const str = `{${join$1(strings)}}`; |
no test coverage detected