DeclareFunc

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

Bases: Op

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