1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
use tree_sitter::Language;

mod parser;
mod error;
mod ast;
mod style;
mod stylesheet;

pub use error::{Error, Result};
pub use stylesheet::{Query, Stylesheet};
pub use style::{Style, Value, FromValueError};
pub use ast::Color;
use stylesheet::{QuerySlice, Matches};

extern "C" {
    fn tree_sitter_syncat_stylesheet() -> Language;
}