class Crystal::Macros::Call
Overview
A method call.
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#args : ArrayLiteral
Returns this call's arguments.
-
#block : Block | Nop
Returns this call's block, if any.
-
#block_arg : ASTNode | Nop
Returns this call's block argument, if any
-
#global? : BoolLiteral
Returns
true
if this call refers to a global method (starts with::
). -
#id : MacroId
Returns this call's name as a
MacroId
. -
#name : MacroId
Returns the method name of this call.
-
#named_args : ArrayLiteral(NamedArgument)
Returns this call's named arguments.
-
#receiver : ASTNode | Nop
Returns this call's receiver, if any.