class Interpreter::Environment
- Interpreter::Environment
- Reference
- Object
Defined in:
interpreter/environment.crConstructors
Instance Method Summary
- #define(key : Token::Token, value : Ast::Value)
-
#enclosing : Environment | Nil
Parent environment
-
#enclosing=(enclosing : Environment | Nil)
Parent environment
- #get(key : Token::Token)
- #redefine(key : Token::Token, value : Ast::Value)
- #values : Hash(String, Bool | Float32 | String | Nil)
- #values=(values : Hash(String, Bool | Float32 | String | Nil))