ListArg¶
- class hugr.tys.ListArg(elems: list[TypeArg])[source]¶
Bases:
TypeArgSequence of type arguments for a
ListParam.Methods
Render the nested list arguments.
Resolve types in the argument using the given registry.
Convert the type argument to a model Term.
Attributes
elems- render(*, extension_version: bool = False, qualified_name: bool = False) str[source]¶
Render the nested list arguments.
- resolve(registry: ext.ExtensionRegistry) TypeArg¶
Resolve types in the argument using the given registry.