slang::SourceLibrary struct

A named collection of source buffers that form a library.

Each buffer is associated with one library. Libraries are uniqued by name, so identity for the rest of the program is by object address, not by the name string.

Constructors, destructors, conversion operators

SourceLibrary() defaulted
Default constructor.
SourceLibrary(std::string&& name)
Constructs a new source library object with the given name.

Public variables

std::string name
The name of the library.
std::vector<std::filesystem::path> includeDirs
Additional include directories that are used when parsing files that are part of this library.