class

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)
Source

Instance methods

call_method(name, arguments, interpreter)
Source
get(name)
Source
get_method(name) : Callable | Nil
Source
has_type?(type)
Source
set(name, value, in_initializer)
Source
to_s(interpreter, token) : String
Source
type
Source