class

Myst::Rescue

Inherits Myst::Node / Reference / Object

A rescue expression. Rescues are used to capture Exceptions created with raise. Rescues may also provide a parameter (with all the same syntax as parameters used in Defs) to restrict what Exceptions can be handled by the expression.

'rescue' [ param [ ':' type_restriction ] ] body

Constructors

new(body : Node = Nop.new, param : Param | Nil = nil)
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)

param
Source
param=(param : Param | Nil)
Source
param?
Source