Skip to content

class Crystal::ExceptionHandler
inherits Crystal::ASTNode

Class methods

.new(body = nil, rescues = nil, else = nil, ensure = nil)

View source

Methods

#==(other : self)

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

#accept_children(visitor)

View source

#body=(body : ASTNode)

View source

#clone_without_location

View source

#else=(else : ASTNode?)

View source

#ensure : ASTNode?

View source

#ensure=(ensure : ASTNode?)

View source

#hash(hasher)

#implicit : Bool

View source

#implicit=(implicit)

View source

#map_type(type)

View source

#rescues : Array(Rescue)?

View source

#rescues=(rescues : Array(Rescue)?)

View source

#suffix : Bool

View source

#suffix=(suffix)

View source