| 736 | } |
| 737 | |
| 738 | bool Reader::decodeDouble(Token &token) { |
| 739 | Value decoded; |
| 740 | if (!decodeDouble(token, decoded)) |
| 741 | return false; |
| 742 | currentValue() = decoded; |
| 743 | currentValue().setOffsetStart(token.start_ - begin_); |
| 744 | currentValue().setOffsetLimit(token.end_ - begin_); |
| 745 | return true; |
| 746 | } |
| 747 | |
| 748 | bool Reader::decodeDouble(Token &token, Value &decoded) { |
| 749 | double value = 0; |
nothing calls this directly
no test coverage detected