llmcc-resolver 0.2.65

llmcc brings multi-depth architecture graphs for code understanding and generation.
Documentation
pub mod binder;
pub mod collector;

pub use binder::{BinderScopes, bind_symbols_with};
pub use collector::{CollectorScopes, build_and_collect_symbols, collect_symbols_with};

#[derive(Default, Clone, Debug)]
pub struct ResolverOption {
    pub print_ir: bool,
    pub sequential: bool,
    pub bind_func_bodies: bool,
}

impl ResolverOption {
    pub fn with_print_ir(mut self, print_ir: bool) -> Self {
        self.print_ir = print_ir;
        self
    }

    pub fn with_sequential(mut self, sequential: bool) -> Self {
        self.sequential = sequential;
        self
    }

    pub fn with_bind_func_bodies(mut self, bind_func_bodies: bool) -> Self {
        self.bind_func_bodies = bind_func_bodies;
        self
    }
}