petr_bind/
lib.rs

1//! Binds symbols from the AST into a symbol map from ID to a node representation.
2//! The binder's only job is to create a data structure of all scopes and the symbols that those
3//! scopes define. The resolver is then able to do scope-aware name resolution in the next step.
4
5pub use binder::{Bind, Binder, BindingId, FunctionId, Item, ModuleId, Scope, ScopeId, ScopeKind};
6pub use petr_ast::dependency::Dependency;
7mod binder;
8mod impls;