pub fn load_module_tree_from_map(
root_deps: &[String],
files: &HashMap<String, String>,
) -> Result<Vec<LoadedModule>, String>Expand description
Sibling of load_module_tree that resolves dependency modules
from an in-memory file map instead of the filesystem. Used by the
playground so a browser-side virtual fs can compile a multi-file
project without disk IO.
The map’s keys must be file paths matching what
find_module_file would produce (e.g. "types.av",
"rogue/combat.av"). Both lowercase and exact casings are tried
for each requested dep, mirroring the on-disk search order.