souffle
2.0.2-371-g6315b36
|
Abstract class for a AST Analysis. More...
#include <Analysis.h>
Public Member Functions | |
Analysis (std::string identifier) | |
virtual const std::string & | getName () const |
get name of the analysis More... | |
virtual void | print (std::ostream &) const |
print the analysis result in HTML format More... | |
virtual void | run (const TranslationUnit &)=0 |
run analysis for a Ast translation unit More... | |
virtual | ~Analysis ()=default |
Protected Attributes | |
const std::string | identifier |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Analysis &other) |
define output stream operator More... | |
Abstract class for a AST Analysis.
Definition at line 38 of file Analysis.h.
|
inline |
Definition at line 40 of file Analysis.h.
|
virtualdefault |
|
inlinevirtual |
|
inlinevirtual |
print the analysis result in HTML format
Reimplemented in souffle::ast::analysis::SCCGraphAnalysis, souffle::ast::analysis::ClauseNormalisationAnalysis, souffle::ast::analysis::RelationScheduleAnalysis, souffle::ast::analysis::TopologicallySortedSCCGraphAnalysis, souffle::ast::analysis::ProfileUseAnalysis, souffle::ast::analysis::RelationDetailCacheAnalysis, souffle::ast::analysis::TypeAnalysis, souffle::ast::analysis::PrecedenceGraphAnalysis, souffle::ast::analysis::RecursiveClausesAnalysis, souffle::ast::analysis::RedundantRelationsAnalysis, souffle::ast::analysis::TypeEnvironmentAnalysis, souffle::ast::analysis::IOTypeAnalysis, souffle::ast::analysis::PolymorphicObjectsAnalysis, and souffle::ast::analysis::FunctorAnalysis.
Definition at line 47 of file Analysis.h.
|
pure virtual |
run analysis for a Ast translation unit
Implemented in souffle::ast::analysis::ClauseNormalisationAnalysis, souffle::ast::analysis::RelationScheduleAnalysis, souffle::ast::analysis::ComponentLookupAnalysis, souffle::ast::analysis::SCCGraphAnalysis, souffle::ast::analysis::TopologicallySortedSCCGraphAnalysis, souffle::ast::analysis::RelationDetailCacheAnalysis, souffle::ast::analysis::ProfileUseAnalysis, souffle::ast::analysis::SumTypeBranchesAnalysis, souffle::ast::analysis::TypeAnalysis, souffle::ast::analysis::AuxiliaryArityAnalysis, souffle::ast::analysis::RecursiveClausesAnalysis, souffle::ast::analysis::RedundantRelationsAnalysis, souffle::ast::analysis::TypeEnvironmentAnalysis, souffle::ast::analysis::PrecedenceGraphAnalysis, souffle::ast::analysis::FunctorAnalysis, souffle::ast::analysis::IOTypeAnalysis, and souffle::ast::analysis::PolymorphicObjectsAnalysis.
|
friend |
define output stream operator
Definition at line 55 of file Analysis.h.
|
protected |
Definition at line 61 of file Analysis.h.