genotype_project 0.15.0

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

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, Serialize)]
pub struct GtProjectModuleDefinitionResolve {
    /// All definition references in the module.
    pub references: HashSet<GtReferenceId>,
    /// Identfiers the definition depends on.
    pub deps: HashSet<GtIdentifier>,
}