

def visit_Name(self, node):
    if (not self.assign):
        return
    if isinstance(node.ctx, _ast.Load):
        self.load += [GetVariableName(self).visit(node)]
    elif isinstance(self.ctx, _ast.Store):
        self.store += [GetVariableName(self).visit(node)]
    else:
        print(type(node.ctx))
        raise Exception('Unsupported concurrent block code!')

dataset/ETHPy150Open cornell-brg/pymtl/pymtl/tools/simulation/ast_visitor.py DetectLoadsAndStores.visit_Name/VarMisuse@59/66 `node`->`self`