forked from M-Labs/nac3
1
0
Fork 0

[meta] Reorganize order of use declarations - Phase 3

This commit is contained in:
David Mak 2024-10-17 16:25:52 +08:00
parent a98f33e6d1
commit b6cd2a6993
2 changed files with 4 additions and 8 deletions

View File

@ -65,13 +65,9 @@ use nac3core::{
}; };
use nac3ld::Linker; use nac3ld::Linker;
use crate::{ use codegen::{attributes_writeback, gen_core_log, gen_rtio_log, rpc_codegen_callback, ArtiqCodeGenerator};
codegen::{ use symbol_resolver::{DeferredEvaluationStore, InnerResolver, PythonHelper, Resolver};
attributes_writeback, gen_core_log, gen_rtio_log, rpc_codegen_callback, ArtiqCodeGenerator, use timeline::TimeFns;
},
symbol_resolver::{DeferredEvaluationStore, InnerResolver, PythonHelper, Resolver},
timeline::TimeFns,
};
mod codegen; mod codegen;
mod symbol_resolver; mod symbol_resolver;

View File

@ -29,7 +29,6 @@ use parking_lot::{Condvar, Mutex};
use nac3parser::ast::{Location, Stmt, StrRef}; use nac3parser::ast::{Location, Stmt, StrRef};
use crate::{ use crate::{
codegen::classes::{ListType, NDArrayType, ProxyType, RangeType},
symbol_resolver::{StaticValue, SymbolResolver}, symbol_resolver::{StaticValue, SymbolResolver},
toplevel::{helper::PrimDef, numpy::unpack_ndarray_var_tys, TopLevelContext, TopLevelDef}, toplevel::{helper::PrimDef, numpy::unpack_ndarray_var_tys, TopLevelContext, TopLevelDef},
typecheck::{ typecheck::{
@ -37,6 +36,7 @@ use crate::{
typedef::{CallId, FuncArg, Type, TypeEnum, Unifier}, typedef::{CallId, FuncArg, Type, TypeEnum, Unifier},
}, },
}; };
use classes::{ListType, NDArrayType, ProxyType, RangeType};
use concrete_type::{ConcreteType, ConcreteTypeEnum, ConcreteTypeStore}; use concrete_type::{ConcreteType, ConcreteTypeEnum, ConcreteTypeStore};
pub use generator::{CodeGenerator, DefaultCodeGenerator}; pub use generator::{CodeGenerator, DefaultCodeGenerator};