CBMC
|
#include <xml_parser.h>
Public Member Functions | |
xml_parsert (message_handlert &message_handler) | |
xml_parsert (const xml_parsert &)=delete | |
~xml_parsert () override | |
xmlt & | current () |
bool | parse () override |
void | new_level () |
Public Member Functions inherited from parsert | |
parsert (message_handlert &message_handler) | |
virtual | ~parsert () |
bool | read (char &ch) |
bool | eof () |
void | parse_error (const std::string &message, const std::string &before) |
void | inc_line_no () |
void | set_line_no (unsigned _line_no) |
void | set_file (const irep_idt &file) |
irep_idt | get_file () const |
unsigned | get_line_no () const |
unsigned | get_column () const |
void | set_column (unsigned _column) |
void | set_source_location (exprt &e) |
void | set_function (const irep_idt &function) |
void | advance_column (unsigned token_width) |
Public Attributes | |
xml_parse_treet | parse_tree |
std::list< xmlt * > | stack |
Public Attributes inherited from parsert | |
std::istream * | in |
std::string | this_line |
std::string | last_line |
std::vector< exprt > | stack |
Static Protected Attributes | |
static int | instance_count = 0 |
Additional Inherited Members | |
Protected Attributes inherited from parsert | |
messaget | log |
source_locationt | source_location |
unsigned | line_no |
unsigned | previous_line_no |
unsigned | column |
Definition at line 17 of file xml_parser.h.
|
inlineexplicit |
Definition at line 20 of file xml_parser.h.
|
delete |
|
inlineoverride |
Definition at line 31 of file xml_parser.h.
|
inline |
Definition at line 40 of file xml_parser.h.
|
inline |
Definition at line 47 of file xml_parser.h.
|
overridevirtual |
Implements parsert.
Definition at line 19 of file xml_parser.cpp.
|
staticprotected |
Definition at line 54 of file xml_parser.h.
xml_parse_treet xml_parsert::parse_tree |
Definition at line 36 of file xml_parser.h.
std::list<xmlt *> xml_parsert::stack |
Definition at line 38 of file xml_parser.h.