(&mut self, ty: ast::Type)
| 699 | } |
| 700 | |
| 701 | fn create_list_object(&mut self, ty: ast::Type) -> Symbol<T> { |
| 702 | let ctx = self.get_current_ctx(); |
| 703 | Symbol { |
| 704 | r#type: Some(ty), |
| 705 | state: ObjectState::List, |
| 706 | id: ctx, |
| 707 | data: T::default(), |
| 708 | } |
| 709 | } |
| 710 | |
| 711 | fn create_object_from_literal(&mut self, literal: &ast::Node) -> Result<Symbol<T>> { |
| 712 | let ctx = self.get_current_ctx(); |
no test coverage detected