Module token

Source
Expand description

§Token

token defines the tokens accepted from a Monkey source file.

Enums§

Token
Defines the tokens in the token stream generated by the lexer.

Functions§

lookup_ident
Return the token associated with a raw identifier. If the identifier is not associated with a defined keyword, (e.g., a user-defined identifier), defaults to Token::Ident.