slang-netlist  0.9.0
Loading...
Searching...
No Matches
slang::report::ReportDrivers Class Reference

Visitor for printing driver information in a human-readable format. More...

#include <ReportDrivers.hpp>

Inheritance diagram for slang::report::ReportDrivers:

Public Member Functions

 ReportDrivers (ast::Compilation &compilation, analysis::AnalysisManager &analysisManager)
void report (FormatBuffer &buffer)
 Renders the collected driver information to the given format buffer.
void handle (ast::ValueSymbol const &symbol)

Detailed Description

Visitor for printing driver information in a human-readable format.

Constructor & Destructor Documentation

◆ ReportDrivers()

slang::report::ReportDrivers::ReportDrivers ( ast::Compilation & compilation,
analysis::AnalysisManager & analysisManager )
inlineexplicit

Member Function Documentation

◆ handle()

void slang::report::ReportDrivers::handle ( ast::ValueSymbol const & symbol)
inline

Slang's AnalysisManager::getDrivers API returns all known drivers for static lvalue symbols (via the ValueSymbol type). Create a ValueInfo entry for each symbol and populate it with the driver information.

◆ report()

void slang::report::ReportDrivers::report ( FormatBuffer & buffer)
inline

Renders the collected driver information to the given format buffer.


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