ROSE 0.11.145.321
Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Rose::SourceCode::Analysis::Analyzer Class Referenceabstract

Description

Definition at line 16 of file Analyzer.h.

Inheritance diagram for Rose::SourceCode::Analysis::Analyzer:
Inheritance graph
[legend]

Static Public Member Functions

template<typename Analyzer >
static int run (std::vector< std::string > &args)
 

Protected Member Functions

 Analyzer (std::string const &name, std::string const &version)
 
Sarif::RulePtr add_rule (std::string const &name, std::string const &desc)
 
Sarif::ResultPtr add_note (std::string const &rule_id, std::string const &message, SgLocatedNode *loc=nullptr)
 
Sarif::ResultPtr add_warning (std::string const &rule_id, std::string const &message, SgLocatedNode *loc=nullptr)
 
Sarif::ResultPtr add_error (std::string const &rule_id, std::string const &message, SgLocatedNode *loc=nullptr)
 
Sarif::ResultPtr add_pass (std::string const &rule_id, std::string const &message, SgLocatedNode *loc=nullptr)
 
virtual int apply ()=0
 
virtual void parse_args (std::vector< std::string > &args)=0
 

Protected Attributes

Sarif::AnalysisPtr analysis
 

Member Function Documentation

◆ run()

template<typename AnalyzerT >
int Rose::SourceCode::Analysis::Analyzer::run ( std::vector< std::string > &  args)
static

Definition at line 58 of file Analyzer.h.

Member Data Documentation

◆ analysis

Sarif::AnalysisPtr Rose::SourceCode::Analysis::Analyzer::analysis
protected

Definition at line 27 of file Analyzer.h.


The documentation for this class was generated from the following file: