cprover
Loading...
Searching...
No Matches
xml_parsert Class Reference

#include <xml_parser.h>

+ Inheritance diagram for xml_parsert:
+ Collaboration diagram for xml_parsert:

Public Member Functions

xmltcurrent ()
 
virtual bool parse ()
 
void new_level ()
 
virtual void clear ()
 
- Public Member Functions inherited from parsert
 parsert ()
 
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< exprtstack
 
messaget log
 

Additional Inherited Members

- Protected Attributes inherited from parsert
source_locationt source_location
 
unsigned line_no
 
unsigned previous_line_no
 
unsigned column
 

Detailed Description

Definition at line 19 of file xml_parser.h.

Member Function Documentation

◆ clear()

virtual void xml_parsert::clear ( )
inlinevirtual

Reimplemented from parsert.

Definition at line 42 of file xml_parser.h.

◆ current()

xmlt & xml_parsert::current ( )
inline

Definition at line 26 of file xml_parser.h.

◆ new_level()

void xml_parsert::new_level ( )
inline

Definition at line 36 of file xml_parser.h.

◆ parse()

virtual bool xml_parsert::parse ( )
inlinevirtual

Implements parsert.

Definition at line 31 of file xml_parser.h.

Member Data Documentation

◆ parse_tree

xml_parse_treet xml_parsert::parse_tree

Definition at line 22 of file xml_parser.h.

◆ stack

std::list<xmlt *> xml_parsert::stack

Definition at line 24 of file xml_parser.h.


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