Lit::LitMap
Inherits Lit::Instance / Reference / Object
Constants
TYPE = Type.new("Map", {} of String => Function)
Constructors
new(elements : Hash(Bool | Float64 | Int64 | ::Lit::Callable | ::Lit::Instance | ::Lit::Uninitialized | String | Nil, Bool | Float64 | Int64 | ::Lit::Callable | ::Lit::Instance | ::Lit::Uninitialized | String | Nil) = {} of Value => Value)
SourceInstance methods
elements
Sourceget(name : Token) : Value
Sourceset(name : Token, value : Value)
Source