slang::UnknownModuleSymbol class

Represents an instance of some unknown module (or interface / program). This is a placeholder in the AST so that we don't record further errors after the initial one about the unknown module itself.

Base classes

class Symbol

Public functions

auto getPortConnections() const -> span<const Expression*const >

Public variables

span<const Expression*const > paramExpressions

Function documentation

span<const Expression*const > slang::UnknownModuleSymbol::getPortConnections() const

Gets the self-determined expressions that are assigned to the ports in the instantiation. These aren't necessarily correctly typed since we can't know the destination type of each port.

Variable documentation

span<const Expression*const > slang::UnknownModuleSymbol::paramExpressions

The self-determined expressions that are assigned to the parameters in the instantiation. These aren't necessarily correctly typed since we can't know the destination type of each parameter.