Expand description
Split source text into classified spans for syntax highlighting.
This uses the lexer in the mode the formatter does, so it keeps whitespace and comments and copes with source that does not compile.
Structs§
- Token
- A classified span of source.
Enums§
Functions§
- highlight
- Classify all of
source.