//! Runs Kate's own syntax definitions (the KSyntaxHighlighting XML format). //! //! `def` reads the XML into compiled contexts and rules, `engine` walks a line through them, and //! `registry` finds definitions on disk and picks one for a file. pub mod def; pub mod engine; pub mod guess; pub mod registry; pub use def::{DefStyle, StyleId}; pub use engine::{FoldEvent, LineResult, Span, State}; pub use registry::{Language, Registry};