A macro definition.
Returns the arguments of this macro.
Returns the block argument, if any.
Returns the body of this macro.
Returns the double splat argument, if any.
Returns the name of this macro.
Returns the index of the argument with a *splat, if any.
Returns the visibility of this macro: :public
, :protected
or :private
.
Crystal::Macros::ASTNode
Reference
Reference
Object
Object
Returns the arguments of this macro.
Returns the index of the argument with a *splat, if any.
Returns the visibility of this macro: :public
, :protected
or :private
.
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Crystal/Macros/Macro.html