Crystal::Macros::ProcNotation
Inherits Crystal::Macros::ASTNode
The type of a proc or block argument, like String -> Int32.
Instance methods
resolve
Resolves this proc notation to a TypeNode if it denotes a type,
or otherwise gives a compile-time error.
resolve?
Resolves this proc notation to a TypeNode if it denotes a type,
or otherwise returns a NilLiteral.