CBMC
|
#include "language_util.h"
#include <util/invariant.h>
#include <util/message.h>
#include <util/namespace.h>
#include <util/std_expr.h>
#include <util/symbol_table.h>
#include "language.h"
#include "mode.h"
#include <memory>
Go to the source code of this file.
Functions | |
std::string | from_expr_using_mode (const namespacet &ns, const irep_idt &mode, const exprt &expr) |
Formats an expression using the given namespace, using the given mode to retrieve the language printer. More... | |
std::string | from_expr (const namespacet &ns, const irep_idt &identifier, const exprt &expr) |
std::string | from_type (const namespacet &ns, const irep_idt &identifier, const typet &type) |
std::string | type_to_name (const namespacet &ns, const irep_idt &identifier, const typet &type) |
std::string | from_expr (const exprt &expr) |
std::string | from_type (const typet &type) |
exprt | to_expr (const namespacet &ns, const irep_idt &identifier, const std::string &src) |
std::string | type_to_name (const typet &type) |
std::string from_expr | ( | const exprt & | expr | ) |
Definition at line 78 of file language_util.cpp.
std::string from_expr | ( | const namespacet & | ns, |
const irep_idt & | identifier, | ||
const exprt & | expr | ||
) |
Definition at line 39 of file language_util.cpp.
std::string from_expr_using_mode | ( | const namespacet & | ns, |
const irep_idt & | mode, | ||
const exprt & | expr | ||
) |
Formats an expression using the given namespace, using the given mode to retrieve the language printer.
Definition at line 22 of file language_util.cpp.
std::string from_type | ( | const namespacet & | ns, |
const irep_idt & | identifier, | ||
const typet & | type | ||
) |
Definition at line 52 of file language_util.cpp.
std::string from_type | ( | const typet & | type | ) |
Definition at line 84 of file language_util.cpp.
exprt to_expr | ( | const namespacet & | ns, |
const irep_idt & | identifier, | ||
const std::string & | src | ||
) |
Definition at line 90 of file language_util.cpp.
std::string type_to_name | ( | const namespacet & | ns, |
const irep_idt & | identifier, | ||
const typet & | type | ||
) |
Definition at line 65 of file language_util.cpp.
std::string type_to_name | ( | const typet & | type | ) |
Definition at line 109 of file language_util.cpp.