def __repr__(self):
        context = ["DEFINE", "USE", "ALL"][self.context]
        type_ = self.TYPE_REPR[self.type] if self.type >= 0 else "ALL"
        return "Symbol({0}, {1}, {2})".format(context, type_, self.name)
dataset/ETHPy150Open earwig/bitshift/bitshift/query/nodes.py/Symbol.__repr__/original