API reference
python:astx:astx.literals.numeric.LiteralUInt8
class LiteralUInt8
LiteralUInt8(value: int, loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/literals/numeric.py:194
LiteralUInt8 data type class.
Attributes
-
type_ — Type associated with this expression.; Type: UInt8
-
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 LiteralUInt8.