ExitBlock#
- class hugr.ops.ExitBlock(_cfg_outputs: list[Type] | None = None, num_out: int = 0)[source]#
Bases:
Op
Unique exit block of a control flow graph.
Methods
Attributes
Output types of the parent control flow graph of this exit block.
num_out
- property cfg_outputs: list[Type]#
Output types of the parent control flow graph of this exit block.
- Raises:
IncompleteOp – If the outputs have not been set.