class

Lit::LitArray

Inherits Lit::Instance / Reference / Object

Constants

TYPE = Type.new("Array", {} of String => Function)

Constructors

new(elements : Array(Bool | Float64 | Int64 | ::Lit::Callable | ::Lit::Instance | ::Lit::Uninitialized | String | Nil) = [] of Value)
Source

Instance methods

[](i)
Source
elements
Source
get(name : Token) : Value
Source
set(name : Token, value : Value)
Source