Lines Matching refs:val
53 val = prop[key]
57 if type(val) == list and len(val) == 0:
59 if type(val) == dict and gen_bp_prop(val, '') == '':
63 if type(val) == bool:
64 bp += 'true,\n' if val else 'false,\n'
65 elif type(val) == str:
66 bp += '"%s",\n' % val
67 elif type(val) == list:
69 for elem in val:
72 elif type(val) == dict:
74 bp += gen_bp_prop(val, ind + INDENT)
77 raise TypeError('unsupported type %s for gen_bp_prop' % type(val))