API reference
python:astx:astx.LiteralFloat16
class LiteralFloat16
LiteralFloat16(value: float, loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/literals/numeric.py:349
Declared as: python:astx:astx.literals.numeric.LiteralFloat16
LiteralFloat16 data type class.
Attributes
-
type_ — Type associated with this expression.; Type: Float16
-
loc — Source coordinates attached to this node.; Type: SourceLocation
-
value — Stored value.; Type: float
-
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 LiteralFloat16.