|
CBMC
|
#include <parser.h>
Inheritance diagram for parsert:
Collaboration diagram for parsert:Public Member Functions | |
| parsert (message_handlert &message_handler) | |
| virtual | ~parsert () |
| bool | read (char &ch) |
| virtual bool | parse ()=0 |
| 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) |
| const source_locationt & | source_location () |
| void | set_source_location (exprt &e) |
| void | set_function (const irep_idt &function) |
| void | clear_function () |
| void | advance_column (unsigned token_width) |
Public Attributes | |
| std::istream * | in |
| std::string | this_line |
| std::string | last_line |
| std::vector< exprt > | stack |
Protected Attributes | |
| messaget | log |
| source_locationt | _source_location |
| unsigned | line_no |
| unsigned | previous_line_no |
| unsigned | column |
|
inlineexplicit |
Implemented in java_bytecode_parsert, ansi_c_parsert, assembler_parsert, cpp_parsert, json_parsert, statement_list_parsert, and xml_parsert.
Definition at line 30 of file parser.cpp.
|
inline |
|
protected |