Implement reification from Maps.

This commit is contained in:
KtorZ
2024-03-01 16:14:23 +01:00
parent 5272f5ecee
commit bfcfc5c41b
9 changed files with 257 additions and 184 deletions

View File

@@ -75,6 +75,10 @@ pub struct CodeGenerator<'a> {
}
impl<'a> CodeGenerator<'a> {
pub fn data_types(&self) -> &IndexMap<DataTypeKey, &'a TypedDataType> {
&self.data_types
}
pub fn new(
functions: IndexMap<FunctionAccessKey, &'a TypedFunction>,
data_types: IndexMap<DataTypeKey, &'a TypedDataType>,