Symbol¶
- class hugr.model.Symbol(name: str, visibility: ~typing.Literal['Public', 'Private'], params: ~collections.abc.Sequence[~hugr.model.Param] = <factory>, constraints: ~collections.abc.Sequence[~hugr.model.Term] = <factory>, signature: ~hugr.model.Term = <factory>)[source]¶
Bases:
object
A named symbol.
Methods
Read the symbol from its string representation.
Attributes
name
visibility
params
constraints
signature