class Crystal::Macros::TypeDeclaration
Overview
A type declaration like x : Int32
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#type : ASTNode
Returns the type part of the declaration.
-
#value : ASTNode | Nop
The value assigned to the variable, if any.
-
#var : MacroId
Returns the variable part of the declaration.