Searched refs:ParseErrorCode (Results 1 – 8 of 8) sorted by relevance
59 enum ParseErrorCode { enum106 ParseResult(ParseErrorCode code, size_t offset) : code_(code), offset_(offset) {} in ParseResult()109 ParseErrorCode Code() const { return code_; } in Code()119 bool operator==(ParseErrorCode code) const { return code_ == code; }120 … friend bool operator==(ParseErrorCode code, const ParseResult & err) { return code == err.code_; }125 void Set(ParseErrorCode code, size_t offset = 0) { code_ = code; offset_ = offset; }128 ParseErrorCode code_;142 typedef const RAPIDJSON_ERROR_CHARTYPE* (*GetParseErrorFunc)(ParseErrorCode);
30 inline const RAPIDJSON_ERROR_CHARTYPE* GetParseError_En(ParseErrorCode parseErrorCode) { in GetParseError_En()
73 ParseErrorCode e = reader.GetParseErrorCode(); in ParseMessages()
440 ParseErrorCode GetParseErrorCode() const { return parseResult_.Code(); } in GetParseErrorCode()446 void SetParseError(ParseErrorCode code, size_t offset) { parseResult_.Set(code, offset); } in SetParseError()
1985 ParseErrorCode GetParseError() const { return parseResult_.Code(); }
174 … it will return `false`. User can also calls `bool HasParseEror()`, `ParseErrorCode GetParseErrorC…352 ParseErrorCode e = reader.GetParseErrorCode();
127 … error state of parsing can be obtained by `bool HasParseError()`, `ParseErrorCode GetParseError(…
591 ParseErrorCode TestString(const typename Encoding::Ch* str) { in TestString()643 ParseErrorCode error = TestString<UTF8<> >(e); in TEST()