mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
pipe module name into canonicalization of modules
This commit is contained in:
parent
545882f210
commit
1fb746757c
3 changed files with 16 additions and 12 deletions
|
@ -47,6 +47,15 @@ impl<'a> ModuleName<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum ModuleNameEnum<'a> {
|
||||
/// A filename
|
||||
App(StrLiteral<'a>),
|
||||
Interface(ModuleName<'a>),
|
||||
Hosted(ModuleName<'a>),
|
||||
PkgConfig,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash)]
|
||||
pub struct ExposedName<'a>(&'a str);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue