Skip to content

Commit

Permalink
Add remaining new hint-related re-exports. (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi committed Apr 5, 2023
1 parent be5c76b commit 5368246
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions trustfall/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ use std::{cell::RefCell, collections::BTreeMap, rc::Rc, sync::Arc};
pub mod provider {
pub use trustfall_core::interpreter::basic_adapter::BasicAdapter;
pub use trustfall_core::interpreter::{
Adapter, ContextIterator, ContextOutcomeIterator, DataContext, EdgeInfo, QueryInfo,
ResolveEdgeInfo, ResolveInfo, Typename, VertexInfo, VertexIterator,
Adapter, CandidateValue, ContextIterator, ContextOutcomeIterator, DataContext,
DynamicallyResolvedValue, EdgeInfo, QueryInfo, Range, ResolveEdgeInfo, ResolveInfo,
Typename, VertexInfo, VertexIterator,
};
pub use trustfall_core::ir::{EdgeParameters, Eid, Vid};

Expand Down
5 changes: 4 additions & 1 deletion trustfall_core/src/interpreter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ mod hints;
pub mod replay;
pub mod trace;

pub use hints::{EdgeInfo, NeighborInfo, QueryInfo, ResolveEdgeInfo, ResolveInfo, VertexInfo};
pub use hints::{
CandidateValue, DynamicallyResolvedValue, EdgeInfo, NeighborInfo, QueryInfo, Range,
ResolveEdgeInfo, ResolveInfo, VertexInfo,
};

/// An iterator of vertices representing data points we are querying.
pub type VertexIterator<'vertex, VertexT> = Box<dyn Iterator<Item = VertexT> + 'vertex>;
Expand Down

0 comments on commit 5368246

Please sign in to comment.