def visit(self, node):
        # check the cache
        if isinstance(node, (tuple, list)):
            return self._visit(node)
            
        if self.visited_node in node:
            return self.visited_node[node]
        
        ret = self._visit(node)
        self.visited_node[node] = ret
        return ret
dataset/ETHPy150Open PyHDI/veriloggen/veriloggen/resolver/resolver.py/_CachedVisitor.visit/swapped operands of `in`