Expand description
API wrappers for common use cases like highlighting strings and files without caring about intermediate semantic representation and caching.
Structs§
- Highlight
File - Convenience struct containing everything you need to highlight a file
- Highlight
Lines - Simple way to go directly from lines of text to colored tokens.
- Scope
Range Iterator - Iterator over the ranges of a line which a given the operation from the parser applies.
- Scope
Region Iterator - A convenience wrapper over
ScopeRangeIterator
to return&str
s directly.