class Lit::Instance

Direct Known Subclasses

Defined in:

lit/instance.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : Type, fields : Hash(String, Bool | Float64 | Int64 | ::Lit::Callable | ::Lit::Instance | ::Lit::Uninitialized | String | Nil) = {} of String => Value) #

[View source]

Instance Method Detail

def call_method(name, arguments, interpreter) #

[View source]
def get(name) #

[View source]
def get_method(name) : Callable | Nil #

[View source]
def set(name, value) #

[View source]
def to_s(interpreter, token) : String #

[View source]
def type : Lit::Type #

[View source]