Utilities struct
#include <netlist/Utilities.hpp>
Public types
- struct TableFormatConfig
- using Row = std::vector<std::string>
- using Table = std::vector<Row>
Public static functions
- static auto locationStr(ast::Compilation const& compilation, SourceLocation location) -> auto
- Return a string representation of a source location.
- static auto lspToString(const ast::ValueSymbol& symbol, const analysis::ValueDriver& driver) -> auto
- Return a string representation of an LSP for a driver for a symbol.
- static auto formatTable(FormatBuffer& buffer, const Row& header, const Table& rows, TableFormatConfig cfg = {}) -> auto
- Format a table of data into the given format buffer.