syntax
A simple syntax highlighting library for Inko.
Constants
| EOF | The value returned by |
Traits
| Lexer | A type that turns a buffer into a token stream. |
Types
| Buffer | A type that represents a bunch of bytes to process using a lexer. | |
| Keywords | A type to efficiently check if certain words are keywords. | |
| Language | A type describing a language, such as its file extensions and names. | |
| Languages | A registry of languages and their lexers. | |
| Token | A token to highlight. | |
| Value | TokenKind |