DeclareOperation

class hugr.model.DeclareOperation(symbol: Symbol)[source]

Bases: Op

Operation declaration.

Methods

symbol_name

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

Attributes

symbol

symbol_name() str | None[source]

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