Lines Matching refs:val
49 val = prop[key]
53 if type(val) == list or type(val) == dict:
54 if len(val) == 0:
58 if type(val) == bool:
59 bp += "true,\n" if val else "false,\n"
60 elif type(val) == str:
61 bp += '"%s",\n' % val
62 elif type(val) == list:
64 for elem in val:
67 elif type(val) == dict:
69 bp += gen_bp_prop(val, ind + INDENT)
72 raise TypeError('unsupported type %s for gen_bp_prop' % type(val))