Module syntect::easy
[−]
[src]
API wrappers for common use cases like highlighting strings and files without caring about intermediate semantic representation and caching.
Structs
HighlightFile |
Convenience struct containing everything you need to highlight a file.
Use the |
HighlightLines |
Simple way to go directly from lines of text to coloured tokens. |
ScopeRegionIterator |
Iterator over the regions of a line which a given the operation from the parser applies. |