Fix comments on Json Reader

There have been multiple discussions of the inaccurate comments in the
Json Reader class. This patch just updates those comments.
This commit is contained in:
Jordan Bayles 2019-06-28 09:50:46 -07:00
parent f8db40ff83
commit 95b3092ce4

View File

@ -870,7 +870,8 @@ bool Reader::pushError(const Value& value,
bool Reader::good() const { return errors_.empty(); }
// exact copy of Features
// Originally copied from the Features class (now deprecated), used internally
// for features implementation.
class OurFeatures {
public:
static OurFeatures all();
@ -885,15 +886,13 @@ public:
size_t stackLimit_;
}; // OurFeatures
// exact copy of Implementation of class Features
// ////////////////////////////////
OurFeatures OurFeatures::all() { return {}; }
// Implementation of class Reader
// ////////////////////////////////
// exact copy of Reader, renamed to OurReader
// Originally copied from the Reader class (now deprecated), used internally
// for implementing JSON reading.
class OurReader {
public:
typedef char Char;