Class SystemCConsumer¶
Defined in File SystemCClang.h
Inheritance Relationships¶
Base Types¶
public ASTConsumerpublic RecursiveASTVisitor< SystemCConsumer >
Derived Types¶
public HDLMain(Class HDLMain)public SAPlugin(Class SAPlugin)public systemc_clang::SystemCClang(Class SystemCClang)public TimeAnalysis(Class TimeAnalysis)
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()¶
-
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_¶
-