Home | History | Annotate | Download | only in tools

Lines Matching refs:Item

28 # a dictionary that maps item types as they appear in the .ini
65 class Item:
95 lastItem = Item(value)
118 for item in items:
119 if item.type == None:
120 sys.stderr.write("ignoring config item with no type '%s'\n" % item.name)
123 if not typesToMacros.has_key(item.type):
124 sys.stderr.write("ignoring config item with unknown type '%s': '%s'\n" % \
125 (item.type, item.name))
128 if item.default == None:
129 sys.stderr.write("ignoring config item with no default '%s' */" % item.name)
133 varMacro = typesToMacros[item.type]
134 varNameStr = quoteStringForC(item.name)
135 varName = item.name.replace(".","_")
136 varDefault = item.default
137 varAbstract = quoteStringForC(item.abstract)
138 varDesc = quoteStringForC(item.description)
140 if item.type in [ 'string', 'boolean', 'diskSize' ]: