Skip to main content

Crate tokensave_large_treesitters

Crate tokensave_large_treesitters 

Source
Expand description

All tree-sitter grammars for tokensave.

Tier: large — 47 languages (includes all medium-tier languages).

Additional languages: Zig, Nix, Protobuf, Perl, Fortran, Pascal, PowerShell, VB.NET, Objective-C, Batch, COBOL, MSBASIC2, GW-BASIC, QBasic, GLSL, Markdown, R, SQL, Julia, Haskell, OCaml, Clojure, Erlang, Elixir, F#, Lean 4, Quint, Kotlin, TOML

Re-exports§

pub use tokensave_medium_treesitters;
pub use tree_sitter;

Modules§

cobol
Vendored tree-sitter-cobol grammar (compiled from C source via build.rs).
dockerfile
tree-sitter-dockerfile exports a language() function, not a LanguageFn constant. Reference the C symbol directly so we get a LanguageFn.
kotlin
arborium-kotlin exposes a language() fn rather than a LanguageFn constant; re-export it under a typed module.
languages
lean
arborium-lean exposes a language() fn (returning tree_sitter::Language) rather than a LanguageFn constant; re-export it under a typed module.
markdown
Vendored tree-sitter-markdown grammars (block + inline) from tree-sitter-grammars/tree-sitter-markdown. The block parser produces (document … (inline)) nodes; each (inline) byte range should be re-parsed with inline::LANGUAGE to extract links, emphasis, etc.
protobuf
Vendored tree-sitter-protobuf grammar (compiled from C source via build.rs).
quint
Vendored tree-sitter-quint grammar (compiled from C source via build.rs). Source: zdavison/tree-sitter-quint @ 5155d17 — no Rust bindings published.
toml

Functions§

all_languages
Returns (name, language_fn) pairs for all large-tier languages.