Home | History | Annotate | Download | only in json

Lines Matching defs:JSONParser

193 JSONParser::JSONParser(int options)
207 JSONParser::~JSONParser() {
210 std::unique_ptr<Value> JSONParser::Parse(StringPiece input) {
277 JSONReader::JsonParseError JSONParser::error_code() const {
281 std::string JSONParser::GetErrorMessage() const {
286 int JSONParser::error_line() const {
290 int JSONParser::error_column() const {
296 JSONParser::StringBuilder::StringBuilder() : StringBuilder(nullptr) {}
298 JSONParser::StringBuilder::StringBuilder(const char* pos)
304 void JSONParser::StringBuilder::Swap(StringBuilder* other) {
310 JSONParser::StringBuilder::~StringBuilder() {
314 void JSONParser::StringBuilder::Append(const char& c) {
324 void JSONParser::StringBuilder::AppendString(const std::string& str) {
329 void JSONParser::StringBuilder::Convert() {
335 bool JSONParser::StringBuilder::CanBeStringPiece() const {
339 StringPiece JSONParser::StringBuilder::AsStringPiece() {
345 const std::string& JSONParser::StringBuilder::AsString() {
351 // JSONParser private //////////////////////////////////////////////////////////
353 inline bool JSONParser::CanConsume(int length) {
357 const char* JSONParser::NextChar() {
364 void JSONParser::NextNChars(int n) {
370 JSONParser::Token JSONParser::GetNextToken() {
413 void JSONParser::EatWhitespaceAndComments() {
437 bool JSONParser::EatComment() {
470 Value* JSONParser::ParseNextToken() {
474 Value* JSONParser::ParseToken(Token token) {
494 Value* JSONParser::ConsumeDictionary() {
558 Value* JSONParser::ConsumeList() {
601 Value* JSONParser::ConsumeString() {
616 bool JSONParser::ConsumeStringRaw(StringBuilder* out) {
744 bool JSONParser::DecodeUTF16(std::string* dest_string) {
812 void JSONParser::DecodeUTF8(const int32_t& point, StringBuilder* dest) {
830 Value* JSONParser::ConsumeNumber() {
906 bool JSONParser::ReadInt(bool allow_leading_zeros) {
925 Value* JSONParser::ConsumeLiteral() {
967 bool JSONParser::StringsAreEqual(const char* one, const char* two, size_t len) {
971 void JSONParser::ReportError(JSONReader::JsonParseError code,
979 std::string JSONParser::FormatErrorMessage(int line, int column,