Class SystemCConsumer

Inheritance Relationships

Base Types

  • public ASTConsumer

  • public RecursiveASTVisitor< SystemCConsumer >

Derived Types

Class Documentation

class systemc_clang::SystemCConsumer : public ASTConsumer, public RecursiveASTVisitor<SystemCConsumer>

This is the main consumer class that beings the parsing of SystemC.

This class drives the AST consumer for parsing SystemC constructs.

Subclassed by HDLMain, SAPlugin, systemc_clang::SystemCClang, TimeAnalysis

Public Functions

SystemCConsumer(clang::CompilerInstance&, std::string top = "!none")
SystemCConsumer(clang::ASTUnit *from_ast, std::string top = "!none")
virtual ~SystemCConsumer()
Model *getSystemCModel()
const std::string &getTopModule() const
void setTopModule(const std::string &top_module_decl)
clang::ASTContext &getContext() const
clang::SourceManager &getSourceManager() const
virtual bool fire()
virtual bool preFire()
virtual bool postFire()
virtual void HandleTranslationUnit(clang::ASTContext &context)

Public Members

llvm::raw_ostream &os_