Var

class hugr.model.Var(name: str)[source]

Bases: Term

Local variable, identified by its name.

Methods

from_str

Read the term from its string representation.

Attributes

name

static from_str(s: str) Term

Read the term from its string representation.