Go to the documentation of this file.
22 std::istream &instream,
23 const std::string &path)
34 const std::string &module)
45 catch(
const std::string &str)
47 error() <<
"typecheck: " << str <<
eom;
void show_parse(std::ostream &out) override
Output the result of the parsed json file to the output stream passed as a parameter to this function...
bool linking(symbol_tablet &dest_symbol_table, const symbol_tablet &new_symbol_table, message_handlert &message_handler)
Merges the symbol table new_symbol_table into dest_symbol_table, renaming symbols from new_symbol_tab...
void output(std::ostream &out) const
bool parse(std::istream &instream, const std::string &path) override
Parse a goto program in json form.
message_handlert & get_message_handler()
bool typecheck(symbol_tablet &symbol_table, const std::string &module) override
Typecheck a goto program in json form.
bool parse_json(std::istream &in, const std::string &filename, message_handlert &message_handler, jsont &dest)
void symbol_table_from_json(const jsont &in, symbol_tablet &symbol_table)