class PheltObject::Environment

Defined in:

object/environment.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(outer : Nil | PheltObject::Environment = nil, scoped : Bool = false) #

[View source]

Instance Method Detail

def constant?(name : ::String) : Bool #

[View source]
def constants : ::Array(::String) #

[View source]
def constants=(constants : ::Array(::String)) #

[View source]
def exists?(name : ::String) : Bool #

[View source]
def external_loaded : Bool #

[View source]
def external_loaded=(external_loaded : Bool) #

[View source]
def find_outer(name : ::String, outer : PheltObject::Environment | Nil) : PheltObject::Environment | Nil #

[View source]
def get(name : ::String) #

[View source]
def get_from_outer(name : ::String, outer : PheltObject::Environment | Nil) #

[View source]
def outer : PheltObject::Environment | Nil #

[View source]
def outer=(outer : PheltObject::Environment | Nil) #

[View source]
def scoped : Bool #

[View source]
def scoped=(scoped : Bool) #

[View source]
def set(name : ::String, value : PheltObject::Object, const = false) #

[View source]
def store : ::Hash(::String, PheltObject::Object) #

[View source]
def store=(store : ::Hash(::String, PheltObject::Object)) #

[View source]