class Crystal::Macros::Alias
Overview
An alias
statement.
Every statement node
is equivalent to:
alias {{ node.name }} = {{ node.type }}
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#name : Path
Returns the name of the alias.
-
#type : ASTNode
Returns the name of the type this alias is equivalent to.