class Crystal::Macros::TypeDef
Overview
A typedef inside a lib.
Every typedef node
is equivalent to:
type {{ node.name }} = {{ node.type }}
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#name : Path
Returns the name of the typedef.
-
#type : ASTNode
Returns the name of the type this typedef is equivalent to.