Lines Matching refs:Reader
80 bool Reader::containsNewLine(Reader::Location begin, Reader::Location end) { in containsNewLine()
87 Reader::Reader() : features_(Features::all()) {} in Reader() function in Json::Reader
89 Reader::Reader(const Features& features) : features_(features) {} in Reader() function in Json::Reader
91 bool Reader::parse(const std::string& document, Value& root, in parse()
99 bool Reader::parse(std::istream& is, Value& root, bool collectComments) { in parse()
112 bool Reader::parse(const char* beginDoc, const char* endDoc, Value& root, in parse()
151 bool Reader::readValue() { in readValue()
228 void Reader::skipCommentTokens(Token& token) { in skipCommentTokens()
238 bool Reader::readToken(Token& token) { in readToken()
309 void Reader::skipSpaces() { in skipSpaces()
319 bool Reader::match(const Char* pattern, int patternLength) { in match()
330 bool Reader::readComment() { in readComment()
353 String Reader::normalizeEOL(Reader::Location begin, Reader::Location end) { in normalizeEOL()
356 Reader::Location current = begin; in normalizeEOL()
372 void Reader::addComment(Location begin, Location end, in addComment()
384 bool Reader::readCStyleComment() { in readCStyleComment()
393 bool Reader::readCppStyleComment() { in readCppStyleComment()
409 void Reader::readNumber() { in readNumber()
431 bool Reader::readString() { in readString()
443 bool Reader::readObject(Token& token) { in readObject()
499 bool Reader::readArray(Token& token) { in readArray()
537 bool Reader::decodeNumber(Token& token) { in decodeNumber()
547 bool Reader::decodeNumber(Token& token, Value& decoded) { in decodeNumber()
590 bool Reader::decodeDouble(Token& token) { in decodeDouble()
600 bool Reader::decodeDouble(Token& token, Value& decoded) { in decodeDouble()
611 bool Reader::decodeString(Token& token) { in decodeString()
622 bool Reader::decodeString(Token& token, String& decoded) { in decodeString()
675 bool Reader::decodeUnicodeCodePoint(Token& token, Location& current, in decodeUnicodeCodePoint()
700 bool Reader::decodeUnicodeEscapeSequence(Token& token, Location& current, in decodeUnicodeEscapeSequence()
726 bool Reader::addError(const String& message, Token& token, Location extra) { in addError()
735 bool Reader::recoverFromError(TokenType skipUntilToken) { in recoverFromError()
748 bool Reader::addErrorAndRecover(const String& message, Token& token, in addErrorAndRecover()
754 Value& Reader::currentValue() { return *(nodes_.top()); } in currentValue()
756 Reader::Char Reader::getNextChar() { in getNextChar()
762 void Reader::getLocationLineAndColumn(Location location, int& line, in getLocationLineAndColumn()
784 String Reader::getLocationLineAndColumn(Location location) const { in getLocationLineAndColumn()
793 String Reader::getFormatedErrorMessages() const { in getFormatedErrorMessages()
797 String Reader::getFormattedErrorMessages() const { in getFormattedErrorMessages()
810 std::vector<Reader::StructuredError> Reader::getStructuredErrors() const { in getStructuredErrors()
811 std::vector<Reader::StructuredError> allErrors; in getStructuredErrors()
813 Reader::StructuredError structured; in getStructuredErrors()
822 bool Reader::pushError(const Value& value, const String& message) { in pushError()
838 bool Reader::pushError(const Value& value, const String& message, in pushError()
856 bool Reader::good() const { return errors_.empty(); } in good()