Define in the current scope
(&mut self, str: String, data_type: Box<dyn DataType>)
| 147 | |
| 148 | /// Define in the current scope |
| 149 | pub fn define(&mut self, str: String, data_type: Box<dyn DataType>) { |
| 150 | self.scopes.insert(str, data_type); |
| 151 | } |
| 152 | |
| 153 | /// Define in the global scope |
| 154 | pub fn define_global(&mut self, str: String, data_type: Box<dyn DataType>) { |
no outgoing calls
no test coverage detected