Lines Matching refs:name
24 def beginDict(self, name):
26 self.currentDict = name
27 return f'exports.{name} = {{'
33 def writeDict(self, dict, name, printValues = True):
34 """Write dictionary as a JavaScript object with the given name.
38 write(self.beginDict(name), file=self.outFile)
47 def writeList(self, l, name):
48 """Write list l as a JavaScript hash with the given name"""
50 self.writeDict(l, name, printValues = False)
72 for (dict, name) in dicts:
73 self.writeDict(dict, name)