| 97 | /// https://262.ecma-international.org/12.0/#sec-environment-records |
| 98 | #[derive(Debug, Clone)] |
| 99 | pub struct Environment { |
| 100 | variables: VariableMap, |
| 101 | outer: Option<Rc<RefCell<Environment>>>, |
| 102 | } |
| 103 | |
| 104 | impl Environment { |
| 105 | fn new(outer: Option<Rc<RefCell<Environment>>>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected