class

Myst::ModuleDef

Inherits Myst::Node / Reference / Object

A module definition. The name of the module must be a Constant (i.e., it must start with a capital letter).

'defmodule' const body 'end'

Constructors

new(name : String, body : Myst::Node = Nop.new)
Source

Instance methods

==(other : self)

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

accept_children(visitor)
Source
body
Source
body=(body : Node)
Source
hash(hasher)

See Object#hash(hasher)

name
Source
name=(name : String)
Source