def visit_ClassDef(self, node):

        pos = self.block_position(node)

        if node.name not in self.symbols['classes']:
            self.symbols['classes'][node.name] = {'assignments': [], 'uses': []}
        self.symbols['classes'][node.name]['assignments'].append(pos)

        self.generic_visit(node)
Visits ClassDef nodes in a tree.  Adds relevant data about them to symbols.
dataset/ETHPy150Open earwig/bitshift/bitshift/parser/python.py/_TreeWalker.visit_ClassDef