API reference
python:astx:astx.literals.numeric.LiteralComplex64
class LiteralComplex64
LiteralComplex64(real: float, imag: float, loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/literals/numeric.py:522
LiteralComplex64 data type class.
Attributes
-
value — Stored value.; Type: tuple[float, float]
-
type_ — Type associated with this expression.; Type: Complex64
-
loc — Type: SourceLocation
-
kind — Type: ASTKind
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
-
nbytes — Type: int
-
name — Type: str
-
_tmp_id — Type: int
Methods
- __init__ — Initialize LiteralComplex64.
Attributes
- type_ —