tree_sitter_c2rust_core/
lib.rs1#![allow(dead_code)]
2#![allow(mutable_transmutes)]
3#![allow(non_camel_case_types)]
4#![allow(non_snake_case)]
5#![allow(non_upper_case_globals)]
6#![allow(unused_assignments)]
7#![allow(unused_mut)]
8
9#[macro_use]
10extern crate c2rust_bitfields;
11extern crate once_cell;
12
13mod api_raw;
14mod get_changed_ranges;
15mod language;
16mod lexer;
17mod node;
18mod parser;
19mod query;
20mod stack;
21mod subtree;
22mod tree;
23mod tree_cursor;
24
25mod alloc;
26mod util;
27
28#[cfg(feature = "capi")]
29mod capi;
30
31pub use api_raw::*;
32pub use get_changed_ranges::*;
33pub use language::*;
34pub use lexer::*;
35pub use node::*;
36pub use parser::*;
37pub use query::*;
38pub use stack::*;
39pub use subtree::*;
40pub use tree::*;
41pub use tree_cursor::*;
42
43#[cfg(feature = "capi")]
44pub use capi::*;
45
46pub const TREE_SITTER_LANGUAGE_VERSION: usize = 14;
47pub const TREE_SITTER_MIN_COMPATIBLE_LANGUAGE_VERSION: usize = 13;