pub mod ops;
pub mod bracket_match;
pub mod anchor_dfa;
mod region_programs;
pub mod region;
#[cfg(test)]
mod region_tests;
mod dfa_compile;
pub mod nfa_to_dfa;
#[cfg(any(test, feature = "cpu-parity"))]
pub use bracket_match::cpu_ref as bracket_match_cpu_ref;
#[cfg(any(test, feature = "cpu-parity"))]
pub use bracket_match::cpu_ref_into as bracket_match_cpu_ref_into;
pub use bracket_match::{
bracket_match, bracket_match_dispatch_grid, pack_u32 as pack_bracket_u32,
BRACKET_MATCH_PARALLEL_WORKGROUP_SIZE, CLOSE_BRACE, MATCH_NONE, OPEN_BRACE, OTHER,
};
pub use anchor_dfa::{
build_anchor_dfa_plan, AnchorDfaCandidate, AnchorDfaLiteral, AnchorDfaPlan,
AnchorDfaPlanError, ANCHOR_DFA_PLAN_SCHEMA_VERSION,
};
pub use dfa_compile::{
dfa_compile, dfa_compile_with_budget, CompiledDfa, DfaCompileError, DfaWireError,
DEFAULT_DFA_BUDGET_BYTES,
};
pub use nfa_to_dfa::{
dfa_fingerprint, dfa_wire_bytes, nfa_to_dfa, DfaDedupBatch, DfaDedupResult, DfaDedupStats,
DfaDedupTable, NfaTables, NfaToDfaError,
};
#[cfg(any(test, feature = "cpu-parity"))]
pub use region::dedup_regions_cpu;
#[cfg(any(test, feature = "cpu-parity"))]
pub use region::dedup_regions_inplace;
pub use region::{
dedup_regions_cluster_program, dedup_regions_flag_program, region_dedup_dispatch_grid,
RegionTriple, REGION_DEDUP_WORKGROUP_SIZE,
};