1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//! Regular Bag Expressions (rbe)
//!
//! Provides an implementation of Regular Bag Expressions which are the expressions internally employed by
//! the implementations of Shape Expressions
//! More information about Regular Bag Expressions:
//!
//! [Complexity and Expressiveness of ShEx for RDF](https://labra.weso.es/publication/2015_complexityexpressivenessshexrdf/)
//! S. Staworko, I. Boneva, J. Labra, S. Hym, E. Prud'hommeaux, H. Solbrig
//!
pub mod bag;
pub mod cardinality;
pub mod deriv_error;
pub mod keys;
pub mod max;
pub mod min;
pub mod rbe;
pub mod values;
pub mod candidate;

pub mod component;
pub mod deriv_n;
pub mod failures;
pub mod match_cond;
pub mod pending;
pub mod rbe_error;
pub mod rbe_schema;
pub mod rbe_table;

pub use crate::cardinality::*;
pub use crate::component::*;
pub use crate::deriv_n::*;
pub use crate::failures::*;
pub use crate::keys::*;
pub use crate::match_cond::*;
pub use crate::max::*;
pub use crate::min::*;
pub use crate::pending::*;
pub use crate::rbe1::*;
pub use crate::rbe1_matcher::*;
pub use crate::rbe_error::*;
pub use crate::rbe_schema::*;
pub use crate::rbe_table::*;
pub use crate::values::*;

// We may remove the following
pub mod rbe1;
pub mod rbe1_matcher;
// pub use crate::rbe::*;
// pub use crate::deriv_error::*;
pub use crate::bag::*;
use core::hash::Hash;
use std::fmt::{Debug, Display};

pub trait Key: Eq + Hash + Debug + Default + Display + Clone {}
pub trait Value: Eq + Hash + Debug + Default + Display + Clone {}

pub trait Ref: Eq + Hash + Debug + Default + Display + Clone {}