Expand description
Real-time incremental syntax tokenization, Tree-Sitter InputEdit AST updates,
multi-line incremental grammar state machines for 10 languages, bracket pair matching,
structural code folding, and syntax diagnostic extraction.
Structs§
- Fold
Range - A collapsible block of code in the editor gutter.
- Syntax
Diagnostic - Lightweight structural syntax diagnostic emitted directly by the incremental syntax engine.
- Syntax
Highlighter - Syntax analysis engine providing real-time Tree-Sitter
InputEditincremental parsing, 10-language incremental line-state tokenization, structural code folding, and diagnostics. - Syntax
Token - A highlighted syntax token with UTF-8 byte column span offsets within its line.
Enums§
- Language
- Supported language syntaxes for the Monaco-class code editor.
- Line
LexState - Persistent cross-line lexer state stored per line for O(delta) incremental re-tokenization.
- Token
Type - Token classification for semantic syntax highlighting.