class
#include <slang/ast/types/TypePrinter.h>
TypePrinter A utility class that prints a SystemVerilog type to a string.
Constructors, destructors, conversion operators
- TypePrinter()
- Constructs a new type printer.
Public functions
- void append(const Type& type)
- Append the given type to the printer's string buffer.
- void clear()
- Clear the printer's string buffer.
-
auto toString() const -> std::
string
Public variables
- TypePrintingOptions options
- Options that control type printing.
Function documentation
std:: string slang:: ast:: TypePrinter:: toString() const
Returns | the printer's string buffer as a copy. |
---|