class

PheltObject::Environment

Inherits Reference < Object

Constructors

new(outer : Nil | PheltObject::Environment = nil, scoped : Bool = false)
Source

Instance methods

constant?(name : ::String) : Bool
Source
constants
Source
constants=(constants : ::Array(::String))
Source
exists?(name : ::String) : Bool
Source
external_loaded
Source
external_loaded=(external_loaded : Bool)
Source
find_outer(name : ::String, outer : PheltObject::Environment | Nil) : PheltObject::Environment | Nil
Source
get(name : ::String)
Source
get_from_outer(name : ::String, outer : PheltObject::Environment | Nil)
Source
outer
Source
outer=(outer : PheltObject::Environment | Nil)
Source
scoped
Source
scoped=(scoped : Bool)
Source
set(name : ::String, value : PheltObject::Object, const = false)
Source
store
Source
store=(store : ::Hash(::String, PheltObject::Object))
Source