def walkParams(intf, discovered):
for si in intf._interfaces:<EOL><INDENT>yield from walkParams(si, discovered)<EOL><DEDENT>for p in intf._params:<EOL><INDENT>if p not in discovered:<EOL><INDENT>discovered.add(p)<EOL>yield p<EOL><DEDENT><DEDENT>
walk parameter instances on this interface