class Crystal::Macros::When

Overview

A when or in inside a case or select.

Defined in:

compiler/crystal/macros.cr

Instance Method Summary

Instance Method Detail

def body : ASTNode #

Returns the body of this when.


[View source]
def conds : ArrayLiteral #

Returns the conditions of this when.


[View source]
def exhaustive? : BoolLiteral #

Returns true if this is an in, or false if this is a when.


[View source]