pub mod ast;
pub mod carry;
pub mod complete;
pub mod execute;
pub mod histogram;
pub mod model;
pub mod optimize;
pub mod parse;
pub mod plan;
pub mod refwalk;
#[cfg(all(not(target_arch = "wasm32"), feature = "native"))]
pub mod repl;
pub mod retained_edges;
pub mod run;
pub mod runflags;
#[cfg(all(not(target_arch = "wasm32"), feature = "native"))]
pub mod server;
pub mod stage_runner;
pub mod stringvals;
pub mod viz;
use std::fmt;
#[derive(Debug, Clone, PartialEq)]
pub struct QueryError(pub String);
impl fmt::Display for QueryError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}", self.0)
}
}
impl std::error::Error for QueryError {}
pub const OVERALL_UNION_CAP: usize = 5_000_000;
pub const SUBQUERY_SET_CAP: usize = 5_000_000;
pub const PATH_FRONTIER_CAP: usize = 100_000;
pub const DEFAULT_PATH_DEPTH_CAP: usize = 5;
pub trait ObjectVisitor {
fn visit_instance(&mut self, src_idx: usize, class_id: u64, blob: &[u8]);
fn visit_array(&mut self, _src_idx: usize, _class_name: &str, _length: u32) {}
}