class Ivar::IvarCollector
def add_reference(node)
def add_reference(node) location = node.location reference = { name: node.name.to_sym, path: @file_path, line: location.start_line, column: location.start_column, method: @method_name } @references << reference end