class

Syntax::ExceptionHandler

Inherits Syntax::ASTNode < Reference < Object

Constructors

new(body = nil, rescues : Nil | Array(Syntax::Rescue) = nil, else : Syntax::ASTNode | Nil = nil, ensure : Syntax::ASTNode | 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 : ASTNode)
Source
clone_without_location
Source
else
Source
else=(else : ASTNode | Nil)
Source
else_location

The location of the else keyword if present.

Source
else_location=(else_location : Location | Nil)

The location of the else keyword if present.

Source
ensure
Source
ensure=(ensure : ASTNode | Nil)
Source
ensure_location

The location of the ensure keyword if present.

Source
ensure_location=(ensure_location : Location | Nil)

The location of the ensure keyword if present.

Source
hash(hasher)

See Object#hash(hasher)

implicit
Source
implicit=(implicit : Bool)
Source
rescues
Source
rescues=(rescues : Array(Rescue) | Nil)
Source
suffix
Source
suffix=(suffix : Bool)
Source