code: def find_embedded_parent(self, element):
          
          result = None
          for t in self.types:
              if (element.start > self.types[t].start and
                  element.end < self.types[t].end):
                  result = self.types[t]
                  break
          else:
              for iexec in self.executables:
                  if (element.start > self.executables[iexec].start and
                      element.end < self.executables[iexec].end):
                      result = self.executables[iexec]
                      break
  
          return result
docs: Finds the parent (if any) of the embedded element by seeing
          if the start and end indices of the element are a subset of 
          any type or executable in this module.