class Crystal::Macros::Case
Overview
A case
expression.
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#cond : ASTNode
Returns the condition (target) of this
case
. -
#else : ASTNode
Returns the
#else
of thiscase
. -
#exhaustive? : BoolLiteral
Returns whether this
case
is exhaustive (`case ... -
#whens : ArrayLiteral(When)
Returns the
when
s of thiscase
.