class Crystal::Macros::Macro
inherits Crystal::Macros::ASTNode
¶
A macro definition.
Methods¶
#splat_index : NumberLiteral | NilLiteral
¶
: NumberLiteral | NilLiteral
Returns the index of the argument with a *splat, if any.
#visibility : SymbolLiteral
¶
: SymbolLiteral
Returns the visibility of this macro: :public
, :protected
or :private
.