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
#elseof thiscase. -
#exhaustive? : BoolLiteral
Returns whether this
caseis exhaustive (`case ... -
#whens : ArrayLiteral(When)
Returns the
whens of thiscase.