class_docstr: Uses the same visitor pattern as c_ast.NodeVisitor, but modified to
  return a value from each visit method, using string accumulation in
  generic_visit.
class_docstr_tok: ["Uses","the","same","visitor","pattern","as","c_ast.NodeVisitor",",","but","modified","to","return","a","value","from","each","visit","method",",","using","string","accumulation","in","generic_visit","."]
code: def visit_While(self, n):
      s = "while ("
      if n.cond:
          s += self.visit(n.cond)
      s += ")\n"
      s += self._generate_stmt(n.stmt, add_indent=True)
      return s
  
imports: from .None import c_ast
label_desc: Use image node_id 37 for calling the CGenerator obj's underlying member method code with example usage: obj.visit_While(n) and returns: s