class

Crystal::Macros::TypeDeclaration

Inherits Crystal::Macros::ASTNode

A type declaration like x : Int32

Instance methods

type

Returns the type part of the declaration.

Source
value

The value assigned to the variable, if any.

Source
var

Returns the variable part of the declaration.

Source