MCPcopy Index your code
hub / github.com/Kitware/CMake / parse

Method parse

Utilities/cmjsoncpp/src/lib_json/json_reader.cpp:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90Reader::Reader(const Features& features) : features_(features) {}
91
92bool Reader::parse(const std::string& document, Value& root,
93 bool collectComments) {
94 document_.assign(document.begin(), document.end());
95 const char* begin = document_.c_str();
96 const char* end = begin + document_.length();
97 return parse(begin, end, root, collectComments);
98}
99
100bool Reader::parse(std::istream& is, Value& root, bool collectComments) {
101 // std::istream_iterator<char> begin(is);

Callers 3

parseMethod · 0.45
parseFromStreamFunction · 0.45
parse_filterFunction · 0.45

Calls 12

assignMethod · 0.80
c_strMethod · 0.80
lengthMethod · 0.80
setCommentMethod · 0.80
isArrayMethod · 0.80
isObjectMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
clearMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected