API reference
python:arxjit:arxjit.SigType
class SigType
SigType(name: str, astx_name: str)
Source: packages/arxjit/src/arxjit/types.py:14
Declared as: python:arxjit:arxjit.types.SigType
A type usable in an arxjit signature.
Scalar today (e.g. i64); the name is kept element-vs-array neutral so array forms such as i64[2, 2] can be added later via subscripting without renaming the public type.
Attributes
-
name — Type: str; The arxjit-facing name, e.g.
i64. -
astx_name — Type: str; The astx class this type lowers to, e.g.
Int64.
Methods
-
__call__ — Build a Signature using this type as the return type.
-
__init__ —
-
__str__ — Return the arxjit name of the type.