A SystemVerilog package construct.
- auto findForImport(std::string_view name) const -> const Symbol*
- void noteImport(const Symbol& symbol) const
- Notes that the given symbol was imported into this package from some other package.
const Symbol* slang::
ast:: PackageSymbol:: findForImport(std::string_view name) const
Searches for a symbol by name, in the context of importing from the package. This is similar to a call to find() but also includes symbols that have been exported from the package.