PostgreSQL Source Code
git master
|
#include <jsonapi.h>
Data Fields | |
const char * | input |
size_t | input_length |
int | input_encoding |
const char * | token_start |
const char * | token_terminator |
const char * | prev_token_terminator |
bool | incremental |
JsonTokenType | token_type |
int | lex_level |
bits32 | flags |
int | line_number |
const char * | line_start |
JsonParserStack * | pstack |
JsonIncrementalState * | inc_state |
StringInfo | strval |
StringInfo | errormsg |
StringInfo JsonLexContext::errormsg |
Definition at line 106 of file jsonapi.h.
Referenced by freeJsonLexContext(), json_errdetail(), and makeJsonLexContextCstringLen().
bits32 JsonLexContext::flags |
Definition at line 100 of file jsonapi.h.
Referenced by freeJsonLexContext(), makeJsonLexContextCstringLen(), and makeJsonLexContextIncremental().
JsonIncrementalState* JsonLexContext::inc_state |
Definition at line 104 of file jsonapi.h.
Referenced by freeJsonLexContext(), IsValidJsonNumber(), json_lex(), json_lex_number(), makeJsonLexContextIncremental(), pg_parse_json(), and pg_parse_json_incremental().
bool JsonLexContext::incremental |
Definition at line 97 of file jsonapi.h.
Referenced by freeJsonLexContext(), inc_lex_level(), IsValidJsonNumber(), json_errdetail(), json_lex(), json_lex_number(), makeJsonLexContextIncremental(), pg_parse_json(), and pg_parse_json_incremental().
const char* JsonLexContext::input |
Definition at line 91 of file jsonapi.h.
Referenced by get_scalar(), IsValidJsonNumber(), json_lex(), json_lex_number(), json_lex_string(), makeJsonLexContextCstringLen(), pg_parse_json(), pg_parse_json_incremental(), and report_json_context().
int JsonLexContext::input_encoding |
Definition at line 93 of file jsonapi.h.
Referenced by json_lex(), json_lex_string(), makeJsonLexContextCstringLen(), and makeJsonLexContextIncremental().
size_t JsonLexContext::input_length |
Definition at line 92 of file jsonapi.h.
Referenced by IsValidJsonNumber(), json_lex(), json_lex_number(), json_lex_string(), makeJsonLexContextCstringLen(), pg_parse_json(), pg_parse_json_incremental(), and report_json_context().
int JsonLexContext::lex_level |
Definition at line 99 of file jsonapi.h.
Referenced by alen_array_element_start(), alen_object_start(), alen_scalar(), dec_lex_level(), each_array_start(), each_object_field_end(), each_object_field_start(), each_scalar(), elements_array_element_end(), elements_array_element_start(), elements_object_start(), elements_scalar(), get_array_element_end(), get_array_element_start(), get_array_end(), get_array_start(), get_fname(), get_fnull(), get_object_end(), get_object_field_end(), get_object_field_start(), get_object_start(), get_scalar(), hash_array_start(), hash_object_field_end(), hash_object_field_start(), hash_scalar(), inc_lex_level(), json_count_array_elements(), okeys_array_start(), okeys_object_field_start(), okeys_scalar(), parse_array(), parse_object(), pg_parse_json_incremental(), populate_recordset_array_element_start(), populate_recordset_object_end(), populate_recordset_object_field_end(), populate_recordset_object_field_start(), populate_recordset_object_start(), populate_recordset_scalar(), set_fname(), and set_fnull().
int JsonLexContext::line_number |
Definition at line 101 of file jsonapi.h.
Referenced by json_lex(), makeJsonLexContextCstringLen(), makeJsonLexContextIncremental(), and report_json_context().
const char* JsonLexContext::line_start |
Definition at line 102 of file jsonapi.h.
Referenced by json_lex(), makeJsonLexContextCstringLen(), pg_parse_json_incremental(), and report_json_context().
const char* JsonLexContext::prev_token_terminator |
Definition at line 96 of file jsonapi.h.
Referenced by each_object_field_end(), elements_array_element_end(), get_array_element_end(), get_array_end(), get_object_end(), get_object_field_end(), get_scalar(), hash_object_field_end(), json_lex(), json_lex_number(), json_lex_string(), and populate_recordset_object_field_end().
JsonParserStack* JsonLexContext::pstack |
Definition at line 103 of file jsonapi.h.
Referenced by freeJsonLexContext(), get_fname(), get_fnull(), inc_lex_level(), IsValidJsonNumber(), makeJsonLexContextIncremental(), pg_parse_json(), pg_parse_json_incremental(), set_fname(), and set_fnull().
StringInfo JsonLexContext::strval |
Definition at line 105 of file jsonapi.h.
Referenced by freeJsonLexContext(), json_count_array_elements(), json_lex(), json_lex_string(), makeJsonLexContextCstringLen(), makeJsonLexContextIncremental(), parse_object_field(), parse_scalar(), and pg_parse_json_incremental().
const char* JsonLexContext::token_start |
Definition at line 94 of file jsonapi.h.
Referenced by each_object_field_start(), elements_array_element_start(), get_array_element_start(), get_array_start(), get_object_field_start(), get_object_start(), hash_object_field_start(), IsValidJsonNumber(), json_lex(), json_lex_number(), json_lex_string(), parse_scalar(), pg_parse_json_incremental(), populate_recordset_object_field_start(), and report_parse_error().
const char* JsonLexContext::token_terminator |
Definition at line 95 of file jsonapi.h.
Referenced by json_errdetail(), json_lex(), json_lex_number(), json_lex_string(), makeJsonLexContextCstringLen(), parse_scalar(), pg_parse_json_incremental(), and report_json_context().
JsonTokenType JsonLexContext::token_type |
Definition at line 98 of file jsonapi.h.
Referenced by each_object_field_start(), elements_array_element_start(), get_array_element_start(), get_object_field_start(), hash_object_field_start(), json_count_array_elements(), json_get_first_token(), json_lex(), json_typeof(), lex_peek(), populate_recordset_array_element_start(), populate_recordset_object_field_start(), report_json_context(), and report_parse_error().