class Crystal::Macros::ReadInstanceVar

Overview

Access to an instance variable, e.g. obj.@var.

Defined in:

compiler/crystal/macros.cr

Instance Method Summary

Instance Method Detail

def name : MacroId #

Returns the name of the instance variable being accessed.


[View source]
def obj : ASTNode #

Returns the object whose variable is being accessed.


[View source]