Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add remaining new hint-related re-exports. #236

Merged
merged 1 commit into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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