Lines Matching full:dictionary
158 # typedict - dictionary of TypeInfo objects keyed by type name
159 # groupdict - dictionary of GroupInfo objects keyed by group name
160 # enumdict - dictionary of EnumInfo objects keyed by enum name
161 # cmddict - dictionary of CmdInfo objects keyed by command name
162 # apidict - dictionary of <api> Elements keyed by API name
164 # extdict - dictionary of <extension> Elements keyed by extension name
184 # addElementInfo(elem,info,infoName,dictionary) - add feature info to dict
185 # lookupElementInfo(fname,dictionary) - lookup feature info in dict
216 # corresponding dictionary
220 # dictionary - self.{type|group|enum|cmd|api|ext}dict
221 # If the Element has an 'api' attribute, the dictionary key is the
224 def addElementInfo(self, elem, info, infoName, dictionary):
229 if key in dictionary:
233 dictionary[key] = info
238 # dictionary - self.{type|enum|cmd}dict
239 def lookupElementInfo(self, fname, dictionary):
241 if (key in dictionary):
243 return dictionary[key]
244 elif (fname in dictionary):
246 return dictionary[fname]
254 # Create dictionary of registry types from toplevel <types> tags
268 # Create dictionary of registry enum groups from <enums> tags.
277 # Create dictionary of registry enums from <enum> tags
281 # same dictionary.
294 # Create dictionary of registry commands from <command> tags
326 # as adding to the enum dictionary. Also add a 'extnumber'
331 # add an EnumInfo record to the dictionary. That works because
491 # dictionary - of *Info objects - self.{type|enum|cmd}dict
492 def generateFeature(self, fname, ftype, dictionary):
493 f = self.lookupElementInfo(fname, dictionary)
534 # group in the group dictionary and generate that instead.