| 565 | } |
| 566 | |
| 567 | void Reader::readNumber() { |
| 568 | while (current_ != end_) { |
| 569 | if (!(*current_ >= '0' && *current_ <= '9') && |
| 570 | !in(*current_, '.', 'e', 'E', '+', '-')) |
| 571 | break; |
| 572 | ++current_; |
| 573 | } |
| 574 | } |
| 575 | |
| 576 | bool Reader::readString() { |
| 577 | Char c = 0; |