Home | History | Annotate | Download | only in plat-mac

Lines Matching refs:dict

306 def mkrange(dict):
307 return aetypes.Range(dict['star'], dict['stop'])
309 def mkcomparison(dict):
310 return aetypes.Comparison(dict['obj1'], dict['relo'].enum, dict['obj2'])
312 def mklogical(dict):
313 return aetypes.Logical(dict['logc'], dict['term'])
315 def mkstyledtext(dict):
316 return aetypes.StyledText(dict['ksty'], dict['ktxt'])
318 def mkaetext(dict):
319 return aetypes.AEText(dict[keyAEScriptTag], dict[keyAEStyles], dict[keyAEText])
321 def mkinsertionloc(dict):
322 return aetypes.InsertionLoc(dict[keyAEObject], dict[keyAEPosition])
324 def mkobject(dict):
325 want = dict['want'].type
326 form = dict['form'].enum
327 seld = dict['seld']
328 fr = dict['from']
347 def mkobjectfrommodule(dict, modulename):
348 if type(dict['want']) == types.ClassType and issubclass(dict['want'], ObjectSpecifier):
350 classtype = dict['want']
351 dict['want'] = aetypes.mktype(classtype.want)
352 want = dict['want'].type
356 newobj = mkobject(dict)