ComposablePass¶
- class hugr.passes.composable_pass.ComposablePass(*args, **kwargs)[source]¶
Bases:
ProtocolA Protocol which represents a composable Hugr transformation.
Methods
Perform another composable pass after this pass.
Attributes
Returns the name of the pass.
- then(other: ComposablePass) ComposablePass[source]¶
Perform another composable pass after this pass.