code: def parse_anotations():
      """Parse this annotations file and produce a dictionary of FunctionAnnotation objects."""
      functions = {}
      function = None
  
      for line in open(__file__, "rt").readlines():
          # Stop?
          if "=" * 40 in line:
              break
  
          if line.startswith("def "):
              name = line.split(" ")[1].split("(")[0]
              args = line.split("(")[1].split(")")[0].split(", ")
              args = [arg for arg in args if arg]
              out = line.partition("->")[2].strip()
              function = FunctionAnnotation(name, args, out)
              functions[name] = function
              continue
          elif not function:
              continue
  
          # Add line
          line = line.rstrip()
          indent = len(line) - len(line.strip())
          if line.strip() and indent >= 4:
              function.lines.append(line)
  
      return functions
  
imports: import ctypes
label_desc: Use image node_id 42 for calling a global function with example usage: parse_anotations() and returns: functions