|
cprover
|
Public Member Functions | |
| smt2irept (std::istream &_in) | |
| irept | operator() () |
| bool | parse () override |
Public Member Functions inherited from smt2_tokenizert | |
| smt2_tokenizert (std::istream &_in) | |
| operator bool () | |
Public Member Functions inherited from parsert | |
| virtual void | clear () |
| 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) |
Protected Attributes | |
| irept | result |
Protected Attributes inherited from smt2_tokenizert | |
| std::string | buffer |
| bool | ok |
| bool | peeked |
| tokent | token |
Protected Attributes inherited from parsert | |
| source_locationt | source_location |
| unsigned | line_no |
| unsigned | previous_line_no |
| unsigned | column |
Additional Inherited Members | |
Public Attributes inherited from parsert | |
| std::istream * | in |
| std::string | this_line |
| std::string | last_line |
| std::vector< exprt > | stack |
Protected Types inherited from smt2_tokenizert | |
| using | tokent = enum { NONE, END_OF_FILE, ERROR, STRING_LITERAL, NUMERAL, SYMBOL, OPEN, CLOSE } |
Protected Member Functions inherited from smt2_tokenizert | |
| tokent | next_token () |
| tokent | peek () |
| mstreamt & | error () |
Definition at line 16 of file smt2irep.cpp.
|
inlineexplicit |
Definition at line 19 of file smt2irep.cpp.
|
inline |
Definition at line 23 of file smt2irep.cpp.
References parse(), and messaget::result().
|
overridevirtual |
Implements parsert.
Definition at line 35 of file smt2irep.cpp.
References smt2_tokenizert::buffer, CLOSE, messaget::eom(), smt2_tokenizert::error(), smt2_tokenizert::next_token(), messaget::result(), parsert::stack, and STRING_LITERAL.
Referenced by operator()().
|
protected |
Definition at line 32 of file smt2irep.cpp.