code: def parse_struct_body(source, anon_name, parent):
      done = False
      while not done:
          done = True
          for srcinfo in source:
              m = STRUCT_MEMBER_RE.match(srcinfo.text)
              if m:
                  break
          else:
              # We ran out of lines.
              if srcinfo is not None:
                  srcinfo.done()
              return
          for item in _parse_struct_next(m, srcinfo, anon_name, parent):
              if callable(item):
                  parse_body = item
                  yield from parse_body(source)
              else:
                  yield item
              done = False
  
imports: import re
  from ._regexes import STRUCT_MEMBER_DECL, ENUM_MEMBER_DECL
  from ._common import log_match, parse_var_decl, set_capture_groups
label_desc: Use image node_id 1 for calling a global function with example usage: parse_struct_body(source, anon_name, parent) without return types