Represents a multi-port, which is a port symbol that externally appears as a single connection but internally connects to multiple names, potentially with varying directions.
- class Symbol
- auto hasInitializer() const -> bool
- Placeholder functions to enable generic code. Multi-ports never have initializers.
- ArgumentDirection direction
- bool isNullPort
ast:: MultiPortSymbol:: direction
The direction of data flowing across the various ports. This is the most restrictive aggregated direction out of all the ports. You need to check each individual port to know how the data actually flows.
ast:: MultiPortSymbol:: isNullPort
Always set to false on multi-ports; included for parity for PortSymbols so that generic code can work on both types.