Term

Term#

class hugr.model.Term(*args, **kwargs)[source]#

Bases: Protocol

A model term for static data such as types, constants and metadata.

Methods

from_str

Read the term from its string representation.

static from_str(s: str) Term[source]#

Read the term from its string representation.