class
PackageSymbolA SystemVerilog package construct.
Base classes
Public functions
-
auto findForImport(std::
string_view name) const -> const Symbol* - Searches for a symbol by name, in the context of importing from the package.
Function documentation
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.