class_docstr: Applies various transformations to a cell or code block.
  
  The key methods for external use are ``transform_cell()``
  and ``check_complete()``.
class_docstr_tok: ["Applies","various","transformations","to","a","cell","or","code","block",".","The","key","methods","for","external","use","are","``","transform_cell","(",")","``","and","``","check_complete","(",")","``","."]
code: def do_token_transforms(self, lines):
      for _ in range(TRANSFORM_LOOP_LIMIT):
          changed, lines = self.do_one_token_transform(lines)
          if not changed:
              return lines
  
      raise RuntimeError(
          "Input transformation still changing after "
          "%d iterations. Aborting." % TRANSFORM_LOOP_LIMIT
      )
  
imports: import ast
  from codeop import CommandCompiler, Compile
  import re
  import sys
  import tokenize
  from typing import List, Tuple, Optional, Any
  import warnings
  from IPython.utils import tokenutil
label_desc: Use image node_id 3 for calling the TransformerManager obj's underlying member method code with example usage: obj.do_token_transforms(lines) and returns: lines