class Crystal::Macros::Yield

Overview

A yield expression.

Defined in:

compiler/crystal/macros.cr

Instance Method Summary

Instance Method Detail

def expressions : ArrayLiteral #

Returns the arguments to this yield.


[View source]
def scope : ASTNode | Nop #

Returns the scope of this yield, if any.

This refers to the part after with in a with ... yield expression.


[View source]