class Crystal::Macros::Cast

Overview

A cast call: obj.as(to)

Defined in:

compiler/crystal/macros.cr

Instance Method Summary

Instance Method Detail

def obj : ASTNode #

Returns the object part of the cast.


[View source]
def to : ASTNode #

Returns the target type of the cast.


[View source]