| 2080 | OurCharReader(bool collectComments, OurFeatures const &features) |
| 2081 | : collectComments_(collectComments), reader_(features) {} |
| 2082 | bool parse(char const *beginDoc, char const *endDoc, Value *root, |
| 2083 | String *errs) override { |
| 2084 | bool ok = reader_.parse(beginDoc, endDoc, *root, collectComments_); |
| 2085 | if (errs) { |
| 2086 | *errs = reader_.getFormattedErrorMessages(); |
| 2087 | } |
| 2088 | return ok; |
| 2089 | } |
| 2090 | }; |
| 2091 | |
| 2092 | CharReaderBuilder::CharReaderBuilder() { setDefaults(&settings_); } |
nothing calls this directly
no test coverage detected