A def argument.
Returns the default value of this argument, if any.
Returns the internal name of this argument.
Returns the external name of this argument.
Returns the type restriction of this argument, if any.
Crystal::Macros::ASTNode
Reference
Reference
Object
Object
Returns the internal name of this argument.
For example, for def write(to file)
returns file
.
Returns the external name of this argument.
For example, for def write(to file)
returns to
.
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Crystal/Macros/Arg.html