Lines Matching defs:features
238 Features features;
239 features.allowComments_ = false;
240 features.strictRoot_ = true;
241 features.allowDroppedNullPlaceholders_ = false;
242 features.allowNumericKeys_ = false;
243 return features;
264 Reader::Reader(const Features& features)
266 lastValue_(), commentsBefore_(), features_(features), collectComments_() {
1136 OurReader(OurFeatures const& features);
1242 OurReader::OurReader(OurFeatures const& features)
1244 lastValue_(), commentsBefore_(), features_(features), collectComments_() {
2059 OurFeatures const& features)
2061 , reader_(features)
2083 OurFeatures features = OurFeatures::all();
2084 features.allowComments_ = settings_["allowComments"].asBool();
2085 features.strictRoot_ = settings_["strictRoot"].asBool();
2086 features.allowDroppedNullPlaceholders_ = settings_["allowDroppedNullPlaceholders"].asBool();
2087 features.allowNumericKeys_ = settings_["allowNumericKeys"].asBool();
2088 features.allowSingleQuotes_ = settings_["allowSingleQuotes"].asBool();
2089 features.stackLimit_ = settings_["stackLimit"].asInt();
2090 features.failIfExtra_ = settings_["failIfExtra"].asBool();
2091 features.rejectDupKeys_ = settings_["rejectDupKeys"].asBool();
2092 return new OurCharReader(collectComments, features);