|
slang-netlist
0.9.0
|
#include <SymbolReference.hpp>
Public Member Functions | |
| auto | intern (std::string_view name, std::string_view hierarchicalPath, TextLocation location) -> SymbolReference const * |
| auto | intern (SymbolReference const &ref) -> SymbolReference const * |
| Convenience: intern by copying from an existing SymbolReference value. | |
| auto | size () const -> size_t |
| Number of unique symbol entries currently interned. | |
Centralised table of unique SymbolReference records, keyed by hierarchicalPath. Returned pointers are stable for the table's lifetime and may be shared across many NetlistEdge instances. Lookups are lock-free; insertion takes a mutex.
|
inline |
Intern a SymbolReference. Returns a stable pointer to the canonical record. Thread safe.
|
inline |
Convenience: intern by copying from an existing SymbolReference value.
|
inline |
Number of unique symbol entries currently interned.