Skip to main content

just_engine/runner/ds/
lex_env.rs

1use crate::runner::ds::env_record::EnvironmentRecordType;
2use std::cell::RefCell;
3use std::rc::Rc;
4
5pub type JsLexEnvironmentType = Rc<RefCell<LexEnvironment>>;
6
7pub struct LexEnvironment {
8    pub inner: Box<EnvironmentRecordType>,
9    pub outer: Option<JsLexEnvironmentType>,
10}