class

Syntax::When

Inherits Syntax::ASTNode < Reference < Object

Constructors

new(conds : Array(ASTNode), body : ASTNode | Nil = nil, exhaustive : Bool = false)
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
conds
Source
conds=(conds : Array(ASTNode))
Source
exhaustive=(exhaustive : Bool)
Source
exhaustive?
Source
hash(hasher)

See Object#hash(hasher)