DefineAlias

class hugr.model.DefineAlias(symbol: Symbol, value: Term)[source]

Bases: Op

Alias definition.

Methods

symbol_name

Returns name of the symbol introduced by this node, if any.

Attributes

symbol

value

symbol_name() str | None[source]

Returns name of the symbol introduced by this node, if any.