API reference

python:arx:arx.lexer.Lexer.get_token

method get_token

get_token() -> Token

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

Declared as: python:arx:arx.lexer.core.Lexer.get_token

Get the next token.

Skip blank and comment-only lines before emitting indentation. Trailing whitespace or comments produce only EOF, not indentation. Floating literals retain exact decimal values and source spelling; malformed exponents fail before parsing.

Returns

The next token from standard input.; Type: Token

Search documentation

Type to search.