Lit::Instance
Inherits Reference / Object
Constructors
new(type : Type, fields : Hash(String, Bool | Float64 | Int64 | ::Lit::Callable | ::Lit::Instance | ::Lit::Uninitialized | String | Nil) = {} of String => Value)
SourceInstance methods
call_method(name, arguments, interpreter)
Sourceget(name)
Sourceget_method(name) : Callable | Nil
Sourcehas_type?(type)
Sourceset(name, value, in_initializer)
Sourceto_s(interpreter, token) : String
Sourcetype
Source