ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
xml_parser Struct Reference
Collaboration diagram for xml_parser:
Collaboration graph
[legend]

Public Member Functions

 xml_parser (const 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, bool toplevel)
 
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
 

Detailed Description

Definition at line 2302 of file pugixml.cpp.

Constructor & Destructor Documentation

◆ xml_parser()

xml_parser::xml_parser ( const xml_allocator alloc_)
inline

Definition at line 2348 of file pugixml.cpp.

Member Function Documentation

◆ has_element_node_siblings()

static bool xml_parser::has_element_node_siblings ( xml_node_struct node)
inlinestatic

Definition at line 2966 of file pugixml.cpp.

References pugi::node_element, get_metrics::type, and xml_memory_page_type_mask.

Referenced by parse().

Here is the caller graph for this function:

◆ parse()

static xml_parse_result xml_parser::parse ( char_t *  buffer,
size_t  length,
xml_document_struct xmldoc,
xml_node_struct root,
unsigned int  optmsk 
)
inlinestatic

◆ parse_doctype_group()

char_t* xml_parser::parse_doctype_group ( char_t *  s,
char_t  endch,
bool  toplevel 
)
inline

Definition at line 2423 of file pugixml.cpp.

References parse_doctype_ignore(), parse_doctype_primitive(), PUGI__THROW_ERROR, s, and pugi::status_bad_doctype.

Referenced by parse_exclamation().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_doctype_ignore()

char_t* xml_parser::parse_doctype_ignore ( char_t *  s)
inline

Definition at line 2395 of file pugixml.cpp.

References PUGI__THROW_ERROR, s, and pugi::status_bad_doctype.

Referenced by parse_doctype_group().

Here is the caller graph for this function:

◆ parse_doctype_primitive()

char_t* xml_parser::parse_doctype_primitive ( char_t *  s)
inline

Definition at line 2357 of file pugixml.cpp.

References PUGI__SCANFOR, PUGI__THROW_ERROR, s, and pugi::status_bad_doctype.

Referenced by parse_doctype_group().

Here is the caller graph for this function:

◆ parse_exclamation()

char_t* xml_parser::parse_exclamation ( char_t *  s,
xml_node_struct cursor,
unsigned int  optmsk,
char_t  endch 
)
inline

◆ parse_question()

char_t* xml_parser::parse_question ( char_t *  s,
xml_node_struct *&  ref_cursor,
unsigned int  optmsk,
char_t  endch 
)
inline

◆ parse_skip_bom()

static char_t* xml_parser::parse_skip_bom ( char_t *  s)
inlinestatic

Definition at line 2960 of file pugixml.cpp.

References s.

Referenced by parse().

Here is the caller graph for this function:

◆ parse_tree()

char_t* xml_parser::parse_tree ( char_t *  s,
xml_node_struct root,
unsigned int  optmsk,
char_t  endch 
)
inline

Member Data Documentation

◆ alloc

xml_allocator xml_parser::alloc

Definition at line 2304 of file pugixml.cpp.

Referenced by parse(), and parse_tree().

◆ error_offset

char_t* xml_parser::error_offset

Definition at line 2305 of file pugixml.cpp.

◆ error_status

xml_parse_status xml_parser::error_status

Definition at line 2306 of file pugixml.cpp.


The documentation for this struct was generated from the following file: