mod common;
mod compile;
mod error;
mod pattern;
mod runtime;
#[doc(hidden)]
pub use crate::ffi::chimera as ffi;
pub use self::common::{version, Database, DatabaseRef};
pub use self::compile::{compile, Builder, CompileError, Mode};
pub use self::error::Error;
pub use self::pattern::{Flags, Pattern, Patterns};
pub use self::runtime::{
Capture, Error as MatchError, ErrorEventHandler, MatchEventHandler, Matching, Scratch, ScratchRef,
};
pub mod prelude {
pub use crate::chimera::{
compile, Builder, Capture, Database, DatabaseRef, Error, Matching, Pattern, Patterns, Scratch, ScratchRef,
};
}