| 1869 | OurFeatures const& features) |
| 1870 | : collectComments_(collectComments), reader_(features) {} |
| 1871 | bool parse( |
| 1872 | char const* beginDoc, char const* endDoc, |
| 1873 | Value* root, std::string* errs) override { |
| 1874 | bool ok = reader_.parse(beginDoc, endDoc, *root, collectComments_); |
| 1875 | if (errs) { |
| 1876 | *errs = reader_.getFormattedErrorMessages(); |
| 1877 | } |
| 1878 | return ok; |
| 1879 | } |
| 1880 | }; |
| 1881 | |
| 1882 | CharReaderBuilder::CharReaderBuilder() { |
nothing calls this directly
no test coverage detected