chip away more

This commit is contained in:
Paul Tagliamonte
2025-04-01 13:35:50 -04:00
parent 0ac9ac3896
commit 275c23f294
4 changed files with 89 additions and 61 deletions

View File

@ -8,6 +8,7 @@ use anyhow::Result;
use crate::{
parsing::ast::types::{ImportPath, Node as AstNode, NodeRef, Program},
walk::{Node, Visitable},
ExecutorContext,
};
/// Specific dependency between two modules. The 0th element of this tuple
@ -125,6 +126,10 @@ pub(crate) fn import_dependencies(prog: NodeRef<Program>) -> Result<Vec<String>>
Ok(ret)
}
pub(crate) async fn import_universe(ctx: &ExecutorContext) -> Result<HashMap<String, Program>> {
panic!("ASF");
}
#[cfg(test)]
mod tests {
use super::*;

View File

@ -9,3 +9,4 @@ pub use ast_node::Node;
pub use ast_visitor::Visitable;
pub use ast_walk::walk;
pub use import_graph::import_graph;
pub(crate) use import_graph::import_universe;