Skip to main content

fic/base/
mod.rs

1//! `base`, what every layer after resolution shares: the ids and arenas
2//! (`id.rs`), a `dbg` argument (`dbg.rs`), a type as written with its names resolved (`types.rs`), the
3//! references a body's names resolve to (`refs.rs`), and the declarations
4//! resolution fixes and typing never changes (`env.rs`). `rast` and `tast`
5//! each define the declarations that change between them; neither owns
6//! these.
7
8pub mod dbg;
9pub mod env;
10pub mod id;
11pub mod refs;
12pub mod types;
13
14pub use dbg::DbgArg;
15pub use env::{Buffer, ChannelEnd, Composition, Endpoint, Entry, EventDecl, Mapping, ProcessDecl};
16pub use id::{
17    BodyVarId, ChanId, ConstId, EventId, FfnId, IdVec, Idx, LocalVarId, MappingId, ModuleId, MrId,
18    PdId, ProcId, StructId,
19};
20pub use refs::{BodyVarKind, VarRef};
21pub use types::{ArrayLen, TypeRef};