Skip to main content

oxirs_arq/path_algebra/
mod.rs

1pub mod ast;
2pub mod evaluator;
3#[cfg(test)]
4mod tests;
5
6pub use ast::{Iri, NpsItem, PathDirection, PropertyPath};
7pub use evaluator::PathAlgebraEvaluator;
8
9use thiserror::Error;
10
11#[derive(Debug, Error)]
12pub enum PathAlgebraError {
13    #[error("evaluation depth limit exceeded: {0}")]
14    DepthLimitExceeded(usize),
15    #[error("graph oracle error: {0}")]
16    OracleError(String),
17}