| 678 | } |
| 679 | |
| 680 | bool Reader::decodeNumber(Token &token) { |
| 681 | Value decoded; |
| 682 | if (!decodeNumber(token, decoded)) |
| 683 | return false; |
| 684 | currentValue() = decoded; |
| 685 | currentValue().setOffsetStart(token.start_ - begin_); |
| 686 | currentValue().setOffsetLimit(token.end_ - begin_); |
| 687 | return true; |
| 688 | } |
| 689 | |
| 690 | bool Reader::decodeNumber(Token &token, Value &decoded) { |
| 691 | bool isDouble = false; |
nothing calls this directly
no test coverage detected