Skip to content

class Crystal::Macros::Call
inherits Crystal::Macros::ASTNode

A method call.

Methods

#args : ArrayLiteral

Returns this call's arguments.

View source

#block : Block | Nop

Returns this call's block, if any.

View source

#block_arg : ASTNode | Nop

Returns this call's block argument, if any

View source

#id : MacroId

Returns this call's name as a MacroId.

View source

#name : MacroId

Returns the method name of this call.

View source

#named_args : ArrayLiteral(NamedArgument)

Returns this call's named arguments.

View source

#receiver : ASTNode | Nop

Returns this call's receiver, if any.

View source