Module token

Module token 

Source
Expand description

Token types emitted by the lexer.

A Token can be a:

Tokens are also fully source-preserving. Each token maintains its range in the input string, as well as the comments and newlines after the token.

Structs§

Token
A source-preserving token.
TokenLine
A line of source input in a Token.

Enums§

Comment
A comment.
LiteralBase
The base of an Int literal.
LiteralToken
A literal.
StringToken
A string literal.
TerminalToken
An atomic symbol or reserved identifier.
TokenType
The type of a Token.