Lines Matching refs:template_dict

1127     def render_option_group_parsing(self, f, template_dict):  argument
1218 template_dict['option_group_parsing'] = format_escape(output())
1280 template_dict = {}
1283 template_dict['full_name'] = full_name
1290 template_dict['name'] = name
1300 template_dict['c_basename'] = c_basename
1303 template_dict['methoddef_name'] = methoddef_name
1305 template_dict['docstring'] = self.docstring_for_c_string(f)
1307template_dict['self_name'] = template_dict['self_type'] = template_dict['self_type_check'] = ''
1309 converter.set_template_dict(template_dict)
1312 template_dict['impl_return_type'] = f.return_converter.type
1314 template_dict['declarations'] = format_escape("\n".join(data.declarations))
1315 template_dict['initializers'] = "\n\n".join(data.initializers)
1316 template_dict['modifications'] = '\n\n'.join(data.modifications)
1317 template_dict['keywords'] = ' '.join('"' + k + '",' for k in data.keywords)
1318 template_dict['format_units'] = ''.join(data.format_units)
1319 template_dict['parse_arguments'] = ', '.join(data.parse_arguments)
1321 template_dict['parse_arguments_comma'] = ',';
1323 template_dict['parse_arguments_comma'] = '';
1324 template_dict['impl_parameters'] = ", ".join(data.impl_parameters)
1325 template_dict['impl_arguments'] = ", ".join(data.impl_arguments)
1326 template_dict['return_conversion'] = format_escape("".join(data.return_conversion).rstrip())
1327 template_dict['cleanup'] = format_escape("".join(data.cleanup))
1328 template_dict['return_value'] = data.return_value
1334 template_dict['unpack_min'] = str(unpack_min)
1335 template_dict['unpack_max'] = str(unpack_max)
1338 self.render_option_group_parsing(f, template_dict)
1345 option_group_parsing=template_dict['option_group_parsing'])
1347 declarations=template_dict['declarations'],
1348 return_conversion=template_dict['return_conversion'],
1349 initializers=template_dict['initializers'],
1350 modifications=template_dict['modifications'],
1351 cleanup=template_dict['cleanup'],
1361 s = template.format_map(template_dict)
2718 def set_template_dict(self, template_dict): argument
2789 def set_template_dict(self, template_dict): argument
2790 template_dict['defining_class_name'] = self.name
3641 def set_template_dict(self, template_dict): argument
3642 template_dict['self_name'] = self.name
3643 template_dict['self_type'] = self.parser_type
3655 template_dict['self_type_check'] = line