def accept(self, visitor):
        for w in self.when_tuples:
            w[0].accept(visitor)
            w[1].accept(visitor)

        self.else_expr.accept(visitor)
        visitor.visit(self)
For post-order stateful visitors
dataset/ETHPy150Open uwescience/raco/raco/expression/expression.py/Case.accept