def __init__(ast): global prefix, counter, signature_descriptors, iface_descriptors prefix = "" counter = 0 # Descriptors keyed by signature alone signature_descriptors = {} # Descriptors keyed by interface and operation name (a two level # hashtable) iface_descriptors = {} # initialise the prefix HV = HashVisitor() ast.accept(HV)
def __init__(ast): global prefix, counter, signature_descriptors, iface_descriptors global poller_impls prefix = "" counter = 0 # Descriptors keyed by signature alone signature_descriptors = {} # Descriptors keyed by interface and operation name iface_descriptors = {} # Poller implementation classes poller_impls = {} # initialise the prefix HV = HashVisitor() ast.accept(HV)