(prefix)
| 541 | }; |
| 542 | |
| 543 | function read_operator(prefix) { |
| 544 | function grow(op) { |
| 545 | if (!peek()) return op; |
| 546 | var bigger = op + peek(); |
| 547 | if (HOP(OPERATORS, bigger)) { |
| 548 | next(); |
| 549 | return grow(bigger); |
| 550 | } else { |
| 551 | return op; |
| 552 | } |
| 553 | }; |
| 554 | return token("operator", grow(prefix || next())); |
| 555 | }; |
| 556 | |
| 557 | function handle_slash() { |
| 558 | next(); |
no test coverage detected