Parses the list of procedures or signatures defined in the generic, operator
        or assignment interface.
        
        :arg contents: the text between the interface ... end interface keywords.
        :arg iface: the fortpy.elements.Interface instance that will own the parsed
          procedures/signatures.

def _parse_procedures(self, contents, iface):
        """"Parses the list of procedures or signatures defined in the generic, operator
        or assignment interface.
        
        :arg contents: the text between the interface ... end interface keywords.
        :arg iface: the fortpy.elements.Interface instance that will own the parsed
          procedures/signatures.
        """
        procs = contents.split("module procedure")
        stripped = [p.strip() for p in procs if p.strip() != ""]
        for embed in stripped:
            #We want to first extract the name of the procedure, then find its element
            #instance to append to the Interface instance's procedures list.
            methods = re.split(",\s*", embed.replace("&\n", ""))
            keys = ["{}.{}".format(iface.module.name, m) for m in methods]
            iface.procedures.extend(keys)