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