Create a new empty environment
()
| 215 | impl Environment { |
| 216 | /// Create a new empty environment |
| 217 | pub fn new() -> Self { |
| 218 | Self { |
| 219 | declarations: HashMap::new(), |
| 220 | inductives: HashMap::new(), |
| 221 | constructor_to_ind: HashMap::new(), |
| 222 | } |
| 223 | } |
| 224 | |
| 225 | /// Add a declaration to the environment |
| 226 | pub fn add_decl(&mut self, decl: Declaration) -> crate::Result<()> { |
nothing calls this directly
no outgoing calls
no test coverage detected