|
slang-netlist
0.10.0
|
Visitor for printing driver information. More...
#include <ReportDrivers.hpp>
Public Member Functions | |
| ReportDrivers (ast::Compilation &compilation, analysis::AnalysisManager &analysisManager) | |
| auto | tableHeader () const -> netlist::Utilities::Row |
| void | appendItemRows (netlist::Utilities::Table &table, ValueInfo const &value) const |
| void | emitJsonItem (JsonWriter &writer, ValueInfo const &value) const |
| void | handle (ast::ValueSymbol const &symbol) |
| Public Member Functions inherited from slang::report::ReportVisitorBase< ReportDrivers, ValueInfo > | |
| ReportVisitorBase (ast::Compilation &compilation) | |
| void | setNameFilters (std::vector< std::string > filters) |
| void | report (FormatBuffer &buffer) |
| Render the collected information as a human-readable table. | |
Additional Inherited Members | |
| Protected Member Functions inherited from slang::report::ReportVisitorBase< ReportDrivers, ValueInfo > | |
| auto | locationStr (SourceLocation loc) const -> std::string |
| Format a source location using the compilation's SourceManager. | |
| auto | nameMatches (std::string_view name) const -> bool |
| Protected Attributes inherited from slang::report::ReportVisitorBase< ReportDrivers, ValueInfo > | |
| ast::Compilation & | compilation |
| std::vector< ValueInfo > | items |
| std::vector< std::string > | nameFilters |
Visitor for printing driver information.
|
inlineexplicit |
|
inline |
|
inline |
|
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.
|
inline |