punchDownToTyped method
- BridgeModule subModule, {
- String? newIntfName,
- bool allowNameUniquification = false,
- String portUniquify(
- String logical
Creates a type-preserving copy of this interface in a submodule.
Unlike punchDownTo, this method does not accept port exclusions because removing ports changes the concrete interface type.
Implementation
InterfaceReference<InterfaceType> punchDownToTyped(
BridgeModule subModule, {
String? newIntfName,
bool allowNameUniquification = false,
String Function(String logical)? portUniquify,
}) =>
_punchDownTo(
subModule,
interface.clone() as InterfaceType,
newIntfName: newIntfName,
allowNameUniquification: allowNameUniquification,
exceptPorts: null,
portUniquify: portUniquify,
);