class Crystal::Macros::ProcNotation
Overview
The type of a proc or block argument, like String -> Int32
.
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#inputs : ArrayLiteral(ASTNode)
Returns the argument types, or an empty list if no arguments.
-
#output : ASTNode | NilLiteral
Returns the output type, or nil if there is no return type.