slang-netlist  0.10.0
Loading...
Searching...
No Matches
slang::report::ReportPorts Class Reference

Visitor for printing port information. More...

#include <ReportPorts.hpp>

Inheritance diagram for slang::report::ReportPorts:
slang::report::ReportVisitorBase< ReportPorts, PortInfo >

Public Member Functions

auto tableHeader () const -> netlist::Utilities::Row
void appendItemRows (netlist::Utilities::Table &table, PortInfo const &port) const
void emitJsonItem (JsonWriter &writer, PortInfo const &port) const
void handle (const ast::PortSymbol &symbol)
 ReportVisitorBase (ast::Compilation &compilation)
Public Member Functions inherited from slang::report::ReportVisitorBase< ReportPorts, PortInfo >
 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< ReportPorts, PortInfo >
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< ReportPorts, PortInfo >
ast::Compilation & compilation
std::vector< PortInfoitems
std::vector< std::string > nameFilters

Detailed Description

Visitor for printing port information.

Member Function Documentation

◆ appendItemRows()

void slang::report::ReportPorts::appendItemRows ( netlist::Utilities::Table & table,
PortInfo const & port ) const
inline

◆ emitJsonItem()

void slang::report::ReportPorts::emitJsonItem ( JsonWriter & writer,
PortInfo const & port ) const
inline

◆ handle()

void slang::report::ReportPorts::handle ( const ast::PortSymbol & symbol)
inline

◆ ReportVisitorBase()

slang::report::ReportVisitorBase< Derived, Info >::ReportVisitorBase ( ast::Compilation & compilation)
inlineexplicit

◆ tableHeader()

auto slang::report::ReportPorts::tableHeader ( ) const -> netlist::Utilities::Row
inline

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