genotype_project 0.13.0

Genotype language project crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::collections::HashSet;

use genotype_parser::*;

/// Definition resolve data in the context of the current module. It contains lists all the module
/// definition references and the definition dependencies.
#[derive(Default, Debug, PartialEq, Clone)]
pub struct GtProjectModuleDefinitionResolve {
    /// All definition references in the module.
    pub references: HashSet<GTReferenceId>,
    /// Identfiers the definition depends on.
    pub deps: HashSet<GTIdentifier>,
}