Home | History | Annotate | Download | only in json

Lines Matching refs:string

16 #include <string>
45 std::string message;
60 * \param document UTF-8 encoded string containing the document to read.
73 parse(const std::string& document, Value& root, bool collectComments = true);
77 * \param beginDoc Pointer on the beginning of the UTF-8 encoded string of the
79 * \param endDoc Pointer on the end of the UTF-8 encoded string of the
102 /** \brief Returns a user friendly string that list errors in the parsed
106 * the parsed document. An empty string is returned if no error
112 std::string getFormatedErrorMessages() const;
114 /** \brief Returns a user friendly string that list errors in the parsed
118 * the parsed document. An empty string is returned if no error
122 std::string getFormattedErrorMessages() const;
139 bool pushError(const Value& value, const std::string& message);
148 bool pushError(const Value& value, const std::string& message, const Value& extra);
184 std::string message_;
205 bool decodeString(Token& token, std::string& decoded);
216 bool addError(const std::string& message, Token& token, Location extra = 0);
218 bool addErrorAndRecover(const std::string& message,
226 std::string getLocationLineAndColumn(Location location) const;
233 std::string document_;
239 std::string commentsBefore_;