API reference
python:astx:astx.WeakClassType
class WeakClassType
WeakClassType(target: astx.DataType, *, constructor: str | None = None)
Source: packages/astx/src/astx/classes_ext.py:84
Declared as: python:astx:astx.classes_ext.WeakClassType
Non-owning reference to a reference-managed class.
Attributes
-
target — Static type referenced by this handle.; Type: astx.DataType
-
constructor — Imported type constructor spelling if supplied by a host.; Type: str | None
-
loc — Type: SourceLocation
-
kind — Type: ASTKind
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
-
nbytes — Type: int
-
type_ — Type: ExprType
-
name — Type: str
-
_tmp_id — Type: int
Methods
-
__init__ — Represent a weak handle type application.
-
get_struct — Describe weak storage with its target type.
Attributes
-
target —