escriba_ts/lib.rs
1//! `escriba-ts` — tree-sitter host for escriba.
2//!
3//! The tree-sitter host now lives in **`hikari-ts`** (the fleet syntax spine's
4//! tree-sitter backend, self-contained on crates.io). This crate re-exports it
5//! so escriba's consumers keep a stable `escriba_ts::…` surface while the host
6//! itself has exactly one home — the dedup + load-bearing-fix that also breaks
7//! the old `hikari-ts → escriba-ts` dependency inversion (a fleet library must
8//! not depend on an application crate).
9//!
10//! `escriba_ts::Semantic` is `hikari_token::Semantic` (the deduped fleet
11//! vocabulary), carrying the total `From<Semantic> for hikari_core::HlClass`.
12
13extern crate self as escriba_ts;
14
15pub use hikari_ts::{
16 BufferParser, Grammar, GrammarRegistry, HighlightSpan, Result, Semantic, TreeSitterHighlighter,
17 TreeSitterHost, TreeSitterPlugin, TsEdit, TsError, highlight,
18};