API reference

python:astx:astx.LiteralInteger

class LiteralInteger

LiteralInteger(value: int, loc: SourceLocation = NO_SOURCE_LOCATION)

Source: packages/astx/src/astx/literals/numeric.py:634

Declared as: python:astx:astx.literals.numeric.LiteralInteger

Exact integer literal awaiting semantic contextualization.

No concrete width is declared. Analysis must preserve value and record the chosen type and converted constant separately in semantic metadata.

Attributes

Methods

Attributes

Search documentation

Type to search.