API reference

python:arx:arx.lexer.core.Token

class Token

Token(kind: TokenKind, value: Any, location: SourceLocation = SourceLocation(0, 0), source_text: str | None = None)

Source: packages/arx/src/arx/lexer/core.py:138

Token class store the kind and the value of the token.

Attributes

Methods

Attributes

Search documentation

Type to search.