class_docstr: A writer that understands tokens and how to format C code
class_docstr_tok: ["A","writer","that","understands","tokens","and","how","to","format","C","code"]
code: def emit_multiline_comment(self, tkn: Token) -> None:
      self.set_position(tkn)
      lines = tkn.text.splitlines(True)
      first = True
      for line in lines:
          text = line.lstrip()
          if first:
              spaces = 0
          else:
              spaces = self.indents[-1]
              if text.startswith("*"):
                  spaces += 1
              else:
                  spaces += 3
          first = False
          self.out.write(" " * spaces)
          self.out.write(text)
  
file_path: cpython/Tools/cases_generator/cwriter.py
imports: import contextlib
  from lexer import Token
  from typing import TextIO, Iterator
label_desc: Use image node_id 7 for calling the CWriter obj's underlying member method code with example usage: obj.emit_multiline_comment(tkn) without return types