def visit_WhileStatement(self, node):
        """Visitor for `WhileStatement` AST node."""
        while self.visit(node.condition):
            result = self.visit(node.compound)
            if result is not None:
                return result
def visit_WhileStatement ( self , node ) : while self . visit ( node . condition ) : result = self . visit ( node . compound ) if result is not None : return result
Visitor for `WhileStatement` AST node.