class Crystal::Macros::Cast inherits Crystal::Macros::ASTNode ¶ A cast call: obj.as(to) Methods¶ #obj : ASTNode ¶ Returns the object part of the cast. View source #to : ASTNode ¶ Returns the target type of the cast. View source