class Crystal::Macros::ProcNotation
inherits Crystal::Macros::ASTNode
¶
The type of a proc or block argument, like String -> Int32
.
Methods¶
#inputs : ArrayLiteral(ASTNode)
¶
: ArrayLiteral(ASTNode)
Returns the argument types, or an empty list if no arguments.
#output : ASTNode | NilLiteral
¶
: ASTNode | NilLiteral
Returns the output type, or nil if there is no return type.