class Crystal::Macros::Block
Overview
A code block.
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#args : ArrayLiteral(MacroId)
Returns the blocks arguments.
-
#body : ASTNode
Returns the block's body, if any.
-
#splat_index : NumberLiteral | NilLiteral
Returns the index of the argument with a *splat, if any.
Instance Method Detail
Returns the index of the argument with a *splat, if any.