Module lexer
Available on crate feature
parse only.Structsยง
- Lexer ๐
- Splits IDL text into tokens, skipping whitespace other than line breaks.
- Token ๐
- A token with the byte offset where it starts.
Enumsยง
- Kind ๐
- A token of IDL text.
Functionsยง
- is_
line_ ๐break - Returns whether
cends a line. - is_
whitespace ๐ - Returns whether
cis whitespace other than a line break. - word_
len ๐ - Returns the length of the word at the start of
rest.