Go to the documentation of this file.
58 const bool error = language.
parse(in,
"");
91 std::istringstream in(code);
goto_modelt get_goto_model_from_c(std::istream &in)
#define CHECK_RETURN(CONDITION)
bool typecheck(symbol_tablet &symbol_table, const bool keep_file_local=false)
std::unique_ptr< languaget > get_language_from_mode(const irep_idt &mode)
Get the language corresponding to the given mode.
optionalt< std::string > main
bool generate_support_functions(symbol_tablet &symbol_table)
Globally accessible architectural configuration.
void goto_convert(const codet &code, symbol_table_baset &symbol_table, goto_programt &dest, message_handlert &message_handler, const irep_idt &mode)
virtual bool parse(std::istream &instream, const std::string &path)=0
virtual void set_message_handler(message_handlert &_message_handler)
language_filet & add_file(const std::string &filename)
std::unique_ptr< languaget > language
void register_language(language_factoryt factory)
Register a language Note: registering a language is required for using the functions in language_util...
goto_functionst goto_functions
GOTO functions.
bool set(const cmdlinet &cmdline)
std::unique_ptr< languaget > new_ansi_c_language()
null_message_handlert null_message_handler
symbol_tablet symbol_table
Symbol table.