DeclareConstructor

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

Bases: Op

Constructor 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.