Tree‑sitter grammar for Visual Basic .NET (VB.NET) – incremental parsing for editors, code‑intel, refactoring tools and static‑analysis pipelines.
| Feature | Support |
|---|---|
| Modules / Classes / Structures / Interfaces | ✅ |
| Subs & Functions (incl. overloads, generics) | ✅ |
| Properties (auto / get‑set) | ✅ |
| Events & Delegates | ✅ |
Control‑flow (If…Else, Select Case, loops, Try…Catch) |
✅ |
| LINQ / XML literals | |
| Preprocessor directives | |
| Error recovery |
The grammar aims to cover VB 16.9 / .NET 5 syntax.
Bug reports / PRs are very welcome!
npm install tree-sitter tree-sitter-vb-dotnet # parser + runtime