Modules§
Structs§
- Char
Ranges - An iterator over
char
s and their start and end byte positions. - Char
Ranges Offset - An iterator over
char
s and their start and end byte positions, with an offset applied to all positions. - Scanner
- A
Scanner
is a UTF-8char
text scanner, implementing various methods for scanning a string slice, as well as backtracking capabilities, which can be used to implement lexers for tokenizing text or code. It is essentially just a fancy wrapper aroundCharRanges
.