syntect/parsing/
mod.rs
1#[cfg(feature = "metadata")]
8pub mod metadata;
9#[cfg(feature = "parsing")]
10mod parser;
11#[cfg(feature = "parsing")]
12pub mod syntax_definition;
13#[cfg(feature = "parsing")]
14mod syntax_set;
15#[cfg(all(feature = "parsing", feature = "yaml-load"))]
16mod yaml_load;
17
18mod scope;
19#[cfg(any(feature = "parsing", feature = "yaml-load", feature = "metadata"))]
20mod regex;
21
22#[cfg(feature = "parsing")]
23pub use self::syntax_definition::SyntaxDefinition;
24#[cfg(all(feature = "parsing", feature = "yaml-load"))]
25pub use self::yaml_load::*;
26#[cfg(feature = "parsing")]
27pub use self::syntax_set::*;
28#[cfg(feature = "parsing")]
29pub use self::parser::*;
30#[cfg(feature = "metadata")]
31pub use self::metadata::*;
32
33#[cfg(any(feature = "parsing", feature = "yaml-load", feature = "metadata"))]
34pub use self::regex::*;
35
36pub use self::scope::*;