genotype_project 0.17.0

Genotype language project crate
1
2
3
4
5
6
7
8
9
10
11
use crate::prelude::internal::*;

impl GtProject {
    /// Adds module source to the project. It provides map of all module references.
    pub fn add_module_source(&mut self, source: GtpModuleSource) {
        self.module_sources
            .entry(source.path().clone())
            .or_default()
            .insert(source);
    }
}