(&mut self, ty: ast::Type)
| 679 | |
| 680 | impl<T: SymbolData> EnvMgr<T> { |
| 681 | fn create_uninit_object(&mut self, ty: ast::Type) -> Symbol<T> { |
| 682 | let ctx = self.get_current_ctx(); |
| 683 | Symbol { |
| 684 | r#type: Some(ty), |
| 685 | state: ObjectState::Uninit, |
| 686 | id: ctx, |
| 687 | data: T::default(), |
| 688 | } |
| 689 | } |
| 690 | |
| 691 | pub fn create_dummy_object(&mut self) -> Symbol<T> { |
| 692 | let ctx = self.get_current_ctx(); |
no test coverage detected