Introduce a file access interface for reading additional files.

This commit is contained in:
Tom Alexander
2023-09-04 13:00:41 -04:00
parent a8f277efe5
commit da1ce2717d
3 changed files with 21 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ use crate::error::Res;
use crate::parser::OrgSource;
mod exiting;
mod file_access_interface;
mod global_settings;
mod list;
mod parser_context;
@@ -18,6 +19,8 @@ pub trait Matcher = for<'s> Fn(OrgSource<'s>) -> Res<OrgSource<'s>, OrgSource<'s
pub type DynMatcher<'c> = dyn Matcher + 'c;
pub use exiting::ExitClass;
pub use file_access_interface::FileAccessInterface;
pub use file_access_interface::LocalFileAccessInterface;
pub use global_settings::GlobalSettings;
pub use list::List;
pub use parser_context::Context;