def _get_column_data(self, ref, idx: int):
        """

        :param VariableAccess ref:
        :param idx:
        :return:
        """
        mapping = {
            self.DIRECTION_COL: self._direction,
            self.TYPE_COL: self._access_type,
            self.VARIABLE_COL: self._varname,
            self.VARID_COL: self._identstr,
            self.PC_COL: self._addrstr,
            self.TEXT_COL: self._text,
        }

        handler = mapping.get(idx)
        if handler is not None:
            return handler(ref)
        return None


        :param VariableAccess ref:
        :param idx:
        :return:
        
angrmanagement/ui/widgets/qxref_viewer.py