Module token
shrew
0.1.0
Module token
Module Items
Structs
Enums
Functions
In shrew::
ir
shrew
::
ir
Module
token
Copy item path
Source
Structs
§
Span
Byte-level location in source text.
Token
A token with its kind and source location.
Enums
§
Token
Kind
Every possible token kind in the .sw language.
Functions
§
keyword_
lookup
Look up keyword/dtype/device from an identifier string. Returns None if the string is a plain identifier.