class_docstr: Performs the conversion to A-normal form (ANF).
class_docstr_tok: ["Performs","the","conversion","to","A-normal","form","(","ANF",")","."]
code: def _visit_trivial_only_statement(self, node, msg):
      assert not self._pending_statements
      node = self.generic_visit(node)
      self._ensure_fields_in_anf(node)
      if self._pending_statements:
          raise ValueError(msg)
      else:
          return node
  
imports: import collections
  import gast
  import six
  from nvidia.dali._autograph.pyct import gast_util
  from nvidia.dali._autograph.pyct import templates
  from nvidia.dali._autograph.pyct import transformer
label_desc: Use image node_id 10 for calling the AnfTransformer obj's underlying member method code with example usage: obj._visit_trivial_only_statement(node, msg) and returns: node