/// Declares a type with the given name
/// Returns the unique identifier of that type
Declares a type with the given name
Returns the unique identifier of that type
Declares a type with the given name Returns the unique identifier of that type
pub fn declare_type(&mut self, name: Identifier, typ: ItemType) -> TypeId {
        let type_id = self.insert_type(name, typ);
        type_id
    }
pub fn declare_type ( & mut self , name : Identifier , typ : ItemType ) -> TypeId { let type_id = self . insert_type ( name , typ ) ; type_id }
Declares a type with the given name
Returns the unique identifier of that type
Declares a type with the given name Returns the unique identifier of that type
&mut self
name
Identifier
typ
ItemType