Public Member Functions | |
xml_parser (xml_allocator *alloc_) | |
char_t * | parse_doctype_primitive (char_t *s) |
char_t * | parse_doctype_ignore (char_t *s) |
char_t * | parse_doctype_group (char_t *s, char_t endch) |
char_t * | parse_exclamation (char_t *s, xml_node_struct *cursor, unsigned int optmsk, char_t endch) |
char_t * | parse_question (char_t *s, xml_node_struct *&ref_cursor, unsigned int optmsk, char_t endch) |
char_t * | parse_tree (char_t *s, xml_node_struct *root, unsigned int optmsk, char_t endch) |
Static Public Member Functions | |
static char_t * | parse_skip_bom (char_t *s) |
static bool | has_element_node_siblings (xml_node_struct *node) |
static xml_parse_result | parse (char_t *buffer, size_t length, xml_document_struct *xmldoc, xml_node_struct *root, unsigned int optmsk) |
Public Attributes | |
xml_allocator * | alloc |
char_t * | error_offset |
xml_parse_status | error_status |
Definition at line 2912 of file pugixml.cpp.
|
inline |
Definition at line 2918 of file pugixml.cpp.
|
inlinestatic |
Definition at line 3493 of file pugixml.cpp.
References pugi::node_element, and PUGI__NODETYPE.
Referenced by parse().
|
inlinestatic |
Definition at line 3505 of file pugixml.cpp.
References error_offset, error_status, has_element_node_siblings(), make_parse_result(), pugi::parse_fragment, parse_skip_bom(), parse_tree(), PUGI__OPTSET, pugi::status_no_document_element, pugi::status_ok, and pugi::status_unrecognized_tag.
|
inline |
Definition at line 2993 of file pugixml.cpp.
References parse_doctype_ignore(), parse_doctype_primitive(), PUGI__THROW_ERROR, and pugi::status_bad_doctype.
Referenced by parse_exclamation().
|
inline |
Definition at line 2962 of file pugixml.cpp.
References PUGI__THROW_ERROR, and pugi::status_bad_doctype.
Referenced by parse_doctype_group().
|
inline |
Definition at line 2929 of file pugixml.cpp.
References PUGI__SCANFOR, PUGI__THROW_ERROR, and pugi::status_bad_doctype.
Referenced by parse_doctype_group().
|
inline |
Definition at line 3039 of file pugixml.cpp.
References ct_space, pugi::node_cdata, pugi::node_comment, pugi::node_doctype, pugi::parse_cdata, pugi::parse_comments, pugi::parse_doctype, parse_doctype_group(), pugi::parse_eol, PUGI__CHECK_ERROR, PUGI__ENDSWITH, PUGI__IS_CHARTYPE, PUGI__OPTSET, PUGI__PUSHNODE, PUGI__SCANFOR, PUGI__THROW_ERROR, pugi::status_bad_cdata, pugi::status_bad_comment, pugi::status_bad_doctype, pugi::status_unrecognized_tag, strconv_cdata(), and strconv_comment().
Referenced by parse_tree().
|
inline |
Definition at line 3148 of file pugixml.cpp.
References ct_space, ct_start_symbol, ct_symbol, pugi::node_declaration, pugi::node_pi, pugi::parse_declaration, pugi::parse_pi, PUGI__CHECK_ERROR, PUGI__ENDSEG, PUGI__ENDSWITH, PUGI__IS_CHARTYPE, PUGI__OPTSET, PUGI__POPNODE, PUGI__PUSHNODE, PUGI__SCANFOR, PUGI__SCANWHILE, PUGI__SKIPWS, PUGI__THROW_ERROR, and pugi::status_bad_pi.
Referenced by parse_tree().
|
inlinestatic |
Definition at line 3487 of file pugixml.cpp.
Referenced by parse().
|
inline |
Definition at line 3242 of file pugixml.cpp.
References alloc, append_new_attribute(), ct_space, ct_start_symbol, ct_symbol, get_strconv_attribute(), get_strconv_pcdata(), setupTemplate::name, pugi::node_declaration, pugi::node_element, pugi::node_pcdata, pugi::parse_embed_pcdata, parse_exclamation(), pugi::parse_fragment, parse_question(), pugi::parse_trim_pcdata, pugi::parse_ws_pcdata, pugi::parse_ws_pcdata_single, PUGI__ENDSEG, PUGI__ENDSWITH, PUGI__IS_CHARTYPE, PUGI__NODETYPE, PUGI__OPTSET, PUGI__POPNODE, PUGI__PUSHNODE, PUGI__SCANFOR, PUGI__SCANWHILE_UNROLL, PUGI__SKIPWS, PUGI__THROW_ERROR, pugi::status_bad_attribute, pugi::status_bad_end_element, pugi::status_bad_pi, pugi::status_bad_start_element, pugi::status_end_element_mismatch, pugi::status_out_of_memory, and pugi::status_unrecognized_tag.
Referenced by parse().
xml_allocator* xml_parser::alloc |
Definition at line 2914 of file pugixml.cpp.
Referenced by parse_tree().
char_t* xml_parser::error_offset |
Definition at line 2915 of file pugixml.cpp.
Referenced by parse().
xml_parse_status xml_parser::error_status |
Definition at line 2916 of file pugixml.cpp.
Referenced by parse().