cl-typeck: Re-name mod key to mod handle, in preparation for future handlization

This commit is contained in:
John 2024-07-20 18:30:05 -05:00
parent 3511575669
commit 46bd44bd99
8 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
use crate::{
key::DefID,
handle::DefID,
module::Module,
node::{Node, NodeSource},
};

View File

@ -67,7 +67,7 @@ Value: Either
*/
pub mod key;
pub mod handle;
pub mod node;

View File

@ -3,7 +3,7 @@
use cl_ast::Sym;
use cl_structures::index_map::MapIndex;
use crate::key::DefID;
use crate::handle::DefID;
use std::collections::HashMap;
/// A [Module] is a node in the Module Tree (a component of a

View File

@ -1,7 +1,7 @@
//! Performs step 1 of type checking: Collecting all the names of things into [Module] units
use crate::{
definition::{Def, DefKind},
key::DefID,
handle::DefID,
module::Module as Mod,
node::{Node, NodeSource},
project::Project as Prj,

View File

@ -1,7 +1,7 @@
//! A [Project] contains a tree of [Def]initions, referred to by their [Path]
use crate::{
definition::{Def, DefKind, TypeKind},
key::DefID,
handle::DefID,
module,
node::{Node, NodeSource},
path::Path,

View File

@ -2,7 +2,7 @@
use crate::{
definition::{Adt, Def, DefKind, TypeKind, ValueKind},
key::DefID,
handle::DefID,
node::{Node, NodeSource},
project::{evaluate::EvaluableTypeExpression, Project as Prj},
};

View File

@ -15,7 +15,7 @@ use cl_ast::*;
use crate::{
definition::{Def, DefKind},
key::DefID,
handle::DefID,
node::NodeSource,
project::Project,
};