pub mod ast;
pub mod dsl;
pub mod error;
pub mod mapper;
pub mod parsing;
#[cfg(test)]
pub(crate) mod test_suite;
pub use ast::{Ast, Constraint, Operator, Value};
pub use dsl::RestSql;
pub use error::{ParseError, RestSqlError, ValidationError};
pub use mapper::{FieldMapper, IdentityMapper};
#[cfg(test)]
mod tests {
use crate::test_suite::{dsl, suite};
#[test]
fn parsing_suite() {
suite::run(crate::parsing::parse);
}
#[test]
fn dsl_suite() {
dsl::run();
}
}