Structsยง
- Lexer ๐
Enumsยง
Functionsยง
- consume_
any ๐ - consume_
token ๐ - Return the token at the start of
input
. - is_
blankspace ๐ - Returns whether or not a char is a blankspace (Unicode Pattern_White_Space)
- is_
comment_ ๐end - Returns whether or not a char is a comment end (Unicode Pattern_White_Space excluding U+0020, U+0009, U+200E and U+200F) https://www.w3.org/TR/WGSL/#line-break
- is_
word_ ๐part - Returns whether or not a char is a word part (Unicode XID_Continue)
- is_
word_ ๐start - Returns whether or not a char is a word start (Unicode XID_Start + โ_โ)
Type Aliasesยง
- Token
Span ๐