mod camel;
mod content;
mod contract;
mod declarative;
mod dialect;
mod finding;
mod frontmatter;
mod js;
mod parse;
mod registry;
mod runner;
mod schema;
pub mod select;
mod slots;
mod structure;
mod text_constraints;
mod text_match;
mod tree;
mod validate;
pub use contract::{
CodeConfig, Contract, DocRule, EveryItem, ExtraColumns, FrontmatterSpec, GapSpec, LeafConfig,
LeafSpec, LevelOpts, ListConfig, OneOfSpec, Order, Rule, SectionContent, SectionOpts,
SectionSeq, SectionSpec, Spec, TableConfig, doc_rule, gap, gap_bounds, one_of, one_of_with,
optional, rule, section, section_with, sections,
};
pub use declarative::{
ContractResolver, DeclarativeError, compile_contract_object, load_config, load_contract,
};
#[cfg(feature = "native")]
pub use declarative::{load_config_file, load_contract_file};
pub use dialect::{VaultRef, VaultRefKind, extract_vault_refs};
pub use finding::{EditRange, Finding, FindingLevel, Fix, SourcePos, TextEdit};
pub use parse::{FrontmatterSplit, parse_document, split_frontmatter};
pub use registry::{Ctx, FindingSpec, Registry};
pub use runner::{
CorpusConfig, CorpusRule, GlobError, RunOptions, RunOutcome, RunStats, run_corpus,
};
#[cfg(feature = "native")]
pub use runner::{NativeRunError, run_corpus_dir, walk_dir};
pub use schema::{ConstValue, Schema, StringFormat};
pub use text_constraints::{TextRuleSpec, forbids, requires, text_rule};
pub use text_match::TextMatchSpec;
pub use tree::{BlockKind, BlockNode, DocTree, Frontmatter, ListItem, SectionNode};
pub use validate::{validate, validate_tree};