API reference

python:arx:arx.lexer.core.TokenList.get_token

method get_token

get_token() -> Token

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

Get the next token.

Parser scopes may skip indentation markers without changing the stored tokens or their source locations.

Returns

The next token from standard input.; Type: Token

Search documentation

Type to search.