Lines Matching defs:string
88 // When the input JSON string starts with a UTF-8 Byte-Order-Mark,
111 std::string JSONParser::GetErrorMessage() const {
158 std::string JSONParser::StringBuilder::DestructiveAsString() {
161 return std::string(pos_, length_);
434 StringBuilder string;
435 if (!ConsumeStringRaw(&string))
438 return Value(string.DestructiveAsString());
449 // std::string.
450 StringBuilder string(pos());
463 string.Append(kUnicodeReplacementPoint);
469 *out = std::move(string);
474 string.Append(next_char);
476 // And if it is an escape sequence, the input string will be adjusted
480 string.Convert();
507 string.Append(hex_digit);
517 string.Append(code_point);
521 string.Append('"');
524 string.Append('\\');
527 string.Append('/');
530 string.Append('\b');
533 string.Append('\f');
536 string.Append('\n');
539 string.Append('\r');
542 string.Append('\t');
545 string.Append('\v');
736 std::string JSONParser::FormatErrorMessage(int line,
738 const std::string& description) {