Remove unused code

This commit is contained in:
SeanOMik 2024-08-09 15:14:34 -04:00
parent c7529b82b7
commit 463700482f
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 0 additions and 11 deletions

View File

@ -19,14 +19,6 @@ pub enum ExternalUsageType {
Function, Function,
} }
#[derive(Clone)]
pub struct ExternalUsage {
name: String,
ty: ExternalUsageType,
/// The start byte position as a `usize`.
start_pos: usize,
}
#[derive(Clone)] #[derive(Clone)]
pub struct Import { pub struct Import {
module: String, module: String,
@ -63,9 +55,6 @@ pub struct Module {
/// Imports of things per module /// Imports of things per module
/// ie `other_module::{scalar, do_math_func}` /// ie `other_module::{scalar, do_math_func}`
item_imports: HashMap<String, Import>, item_imports: HashMap<String, Import>,
/// usages of imported things
/// ie `other_module::scalar`
import_usages: HashMap<String, Vec<ExternalUsage>>,
/// Imports of modules /// Imports of modules
/// ///
/// These modules are used along side `import_usages` /// These modules are used along side `import_usages`