class

Myst::ListLiteral

Inherits Myst::Literal / Myst::Node / Reference / Object

A List literal. Lists are always delimited by square braces, and may contain any number of elements, delimited from each other by commas.

'[' [ expression [ ',' expression ]* ] ']'

Constructors

new(elements : Array(Myst::Node) = [] of Node)
Source

Instance methods

==(other : self)

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

accept_children(visitor)
Source
elements
Source
elements=(elements : Array(Node))
Source
hash(hasher)

See Object#hash(hasher)