class Cryox::Environment

Defined in:

cryox/environment.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(enclosing : Nil | Cryox::Environment = nil) #

[View source]

Instance Method Detail

def assign(name : Token, value : LoxObj) : Nil #

[View source]
def define(name : String, value : LoxObj) : Nil #

[View source]
def enclosing : Environment | Nil #

[View source]
def get(name : Token) : LoxObj #

[View source]
def values : Hash(String, LoxObj) #

[View source]
def values? : Hash(String, LoxObj) | Nil #

[View source]