class_docstr: Transforms control flow structures like loops an conditionals.
class_docstr_tok: ["Transforms","control","flow","structures","like","loops","an","conditionals","."]
code: def visit_FunctionDef(self, node):
      with self.state[_Function] as fn:
          fn.scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
          return self.generic_visit(node)
  
imports: import gast
  from nvidia.dali._autograph.core import converter
  from nvidia.dali._autograph.lang import directives
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import cfg
  from nvidia.dali._autograph.pyct import origin_info
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import qual_names
  from nvidia.dali._autograph.pyct import templates
  from nvidia.dali._autograph.pyct.static_analysis import activity
  from nvidia.dali._autograph.pyct.static_analysis import annos
  from nvidia.dali._autograph.pyct.static_analysis import liveness
  from nvidia.dali._autograph.pyct.static_analysis import reaching_definitions
  from nvidia.dali._autograph.pyct.static_analysis import reaching_fndefs
label_desc: Use image node_id 2 for calling the ControlFlowTransformer obj's underlying member method code with example usage: obj.visit_FunctionDef(node) and returns: self