Define in the global scope
(&mut self, str: String, data_type: Box<dyn DataType>)
| 152 | |
| 153 | /// Define in the global scope |
| 154 | pub fn define_global(&mut self, str: String, data_type: Box<dyn DataType>) { |
| 155 | self.globals_types.insert(str, data_type); |
| 156 | } |
| 157 | |
| 158 | /// Returns true if local or global scopes has contains field |
| 159 | pub fn contains(&self, str: &String) -> bool { |
no outgoing calls
no test coverage detected