class
Lit::Instance
- Lit::Instance
- Reference
- Object
Direct Known Subclasses
Defined in:
lit/instance.crConstructors
Instance Method Summary
- #call_method(name, arguments, interpreter)
- #get(name)
- #get_method(name) : Callable | Nil
- #set(name, value)
- #to_s(interpreter, token) : String
- #type : Lit::Type
Constructor Detail
def self.new(type : Type, fields : Hash(String, Bool | Float64 | Int64 | ::Lit::Callable | ::Lit::Instance | ::Lit::Uninitialized | String | Nil) = {} of String => Value)
#