tket
|
Utility class for accessing the global symbol table. More...
#include <SymTable.hpp>
Static Public Member Functions | |
static Sym | fresh_symbol (const std::string &preferred="a") |
Create a new symbol (not currently registered), and register it. | |
static void | register_symbol (const std::string &symbol) |
static void | register_symbols (const SymSet &ss) |
Friends | |
void | test_Ops::clear_symbol_table () |
Utility class for accessing the global symbol table.
All members are static. There are no instances of this class.
When an operation is created using get_op_ptr
, any symbols in its parameters are added to a global registry of symbols.
Definition at line 34 of file SymTable.hpp.
|
static |
Create a new symbol (not currently registered), and register it.
Definition at line 24 of file SymTable.cpp.
|
static |
Definition at line 36 of file SymTable.cpp.
|
static |
Definition at line 40 of file SymTable.cpp.
|
friend |