Skip to content

abstract class Crystal::ControlExpression
inherits Crystal::ASTNode

Direct known subclasses

Crystal::Break Crystal::Next Crystal::Return

Class methods

.new(exp : ASTNode? = nil)

View source

Methods

#==(other : self)

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

#accept_children(visitor)

View source

#end_location

The location where this node ends, or nil if the location is not known.

View source

#exp=(exp : ASTNode?)

View source

#hash(hasher)