souffle
2.0.2-371-g6315b36
|
Translating a RAM program. More...
#include <TranslationUnit.h>
Public Member Functions | |
std::set< const analysis::Analysis * > | getAliveAnalyses () const |
Get all alive analyses. More... | |
template<class Analysis > | |
Analysis * | getAnalysis () const |
Get an analysis. More... | |
DebugReport & | getDebugReport () |
Obtain debug report. More... | |
ErrorReport & | getErrorReport () |
Obtain error report. More... | |
Program & | getProgram () const |
Get the RAM Program of the translation unit More... | |
souffle::SymbolTable & | getSymbolTable () |
Obtain symbol table More... | |
void | invalidateAnalyses () |
Invalidate all alive analyses of the translation unit. More... | |
TranslationUnit (Own< Program > prog, SymbolTable sym, ErrorReport &e, DebugReport &d) | |
virtual | ~TranslationUnit ()=default |
Protected Attributes | |
std::map< std::string, Own< analysis::Analysis > > | analyses |
DebugReport & | debugReport |
ErrorReport & | errorReport |
Own< Program > | program |
souffle::SymbolTable | symbolTable |
Translating a RAM program.
Comprises the program, symbol table, error report, debug report, and analyses
Definition at line 55 of file TranslationUnit.h.
|
inline |
Definition at line 57 of file TranslationUnit.h.
|
virtualdefault |
|
inline |
|
inline |
Get an analysis.
Definition at line 66 of file TranslationUnit.h.
References souffle::DebugReport::addSection(), and debugReport.
Referenced by souffle::ram::transform::ReportIndexTransformer::getName().
|
inline |
Obtain debug report.
Definition at line 122 of file TranslationUnit.h.
|
inline |
Obtain error report.
Definition at line 117 of file TranslationUnit.h.
|
inline |
Get the RAM Program of the translation unit
Definition at line 107 of file TranslationUnit.h.
Referenced by souffle::ram::analysis::RelationAnalysis::lookup().
|
inline |
Obtain symbol table
Definition at line 112 of file TranslationUnit.h.
|
inline |
Invalidate all alive analyses of the translation unit.
Definition at line 102 of file TranslationUnit.h.
|
mutableprotected |
Definition at line 128 of file TranslationUnit.h.
|
protected |
Definition at line 140 of file TranslationUnit.h.
Referenced by getAnalysis().
|
protected |
Definition at line 137 of file TranslationUnit.h.
Definition at line 131 of file TranslationUnit.h.
Referenced by getAliveAnalyses().
|
protected |
Definition at line 134 of file TranslationUnit.h.