class Myst::TList

Defined in:

myst/interpreter/value.cr

Constructors

Instance Method Summary

Instance methods inherited from class Myst::MutableValue

ivars : Scope ivars, ivars=(ivars : Scope) ivars=, truthy? truthy?, type_name type_name

Constructor Detail

def self.new(elements : Array(Bool | Float64 | Int64 | Myst::MutableValue | String) = [] of MTValue) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def elements : Array(MTValue) #

[View source]
def elements=(elements : Array(MTValue)) #

[View source]
def ensure_capacity(size : Int) #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def type_name #

[View source]