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)
SourceInstance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
accept_children(visitor)
Sourcebody
Sourcebody=(body : Node)
Sourcehash(hasher)
See Object#hash(hasher)
param
Sourceparam=(param : Param | Nil)
Sourceparam?
Source