Modules§
Structs§
- Char
Ranges - An iterator over
chars and their start and end byte positions. - Char
Ranges Offset - An iterator over
chars and their start and end byte positions, with an offset applied to all positions. - Scanner
- A
Scanneris a UTF-8chartext 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.