API reference
python:aix:aix.lexer.core.TokenList.__init__
method __init__
__init__(tokens: list[Token]) -> None
Source: packages/aix/src/aix/lexer/core.py:186
Initialize the token stream.
Parameters
- tokens — Tokens in source order.; Type: list[Token]
Returns
Type: None