Home
last modified time | relevance | path

Searched refs:commentsBefore_ (Results 1 – 2 of 2) sorted by relevance

/external/jsoncpp/src/lib_json/
Djson_reader.cpp81 lastValue_(), commentsBefore_(), features_(Features::all()), in Reader()
86 lastValue_(), commentsBefore_(), features_(features), collectComments_() { in Reader()
124 commentsBefore_ = ""; in parse()
133 if (collectComments_ && !commentsBefore_.empty()) in parse()
134 root.setComment(commentsBefore_, commentAfter); in parse()
156 if (collectComments_ && !commentsBefore_.empty()) { in readValue()
158 size_t lastNonNewline = commentsBefore_.find_last_not_of("\r\n"); in readValue()
160 commentsBefore_.erase(lastNonNewline + 1); in readValue()
162 commentsBefore_.clear(); in readValue()
165 currentValue().setComment(commentsBefore_, commentBefore); in readValue()
[all …]
/external/jsoncpp/include/json/
Dreader.h239 std::string commentsBefore_; variable