• Home
  • Raw
  • Download

Lines Matching refs:template_dict

1011     def render_option_group_parsing(self, f, template_dict):  argument
1102 template_dict['option_group_parsing'] = format_escape(output())
1164 template_dict = {}
1167 template_dict['full_name'] = full_name
1174 template_dict['name'] = name
1184 template_dict['c_basename'] = c_basename
1187 template_dict['methoddef_name'] = methoddef_name
1189 template_dict['docstring'] = self.docstring_for_c_string(f)
1191template_dict['self_name'] = template_dict['self_type'] = template_dict['self_type_check'] = ''
1192 f_self.converter.set_template_dict(template_dict)
1195 template_dict['impl_return_type'] = f.return_converter.type
1197 template_dict['declarations'] = format_escape("\n".join(data.declarations))
1198 template_dict['initializers'] = "\n\n".join(data.initializers)
1199 template_dict['modifications'] = '\n\n'.join(data.modifications)
1200 template_dict['keywords'] = '"' + '", "'.join(data.keywords) + '"'
1201 template_dict['format_units'] = ''.join(data.format_units)
1202 template_dict['parse_arguments'] = ', '.join(data.parse_arguments)
1203 template_dict['impl_parameters'] = ", ".join(data.impl_parameters)
1204 template_dict['impl_arguments'] = ", ".join(data.impl_arguments)
1205 template_dict['return_conversion'] = format_escape("".join(data.return_conversion).rstrip())
1206 template_dict['cleanup'] = format_escape("".join(data.cleanup))
1207 template_dict['return_value'] = data.return_value
1213 template_dict['unpack_min'] = str(unpack_min)
1214 template_dict['unpack_max'] = str(unpack_max)
1217 self.render_option_group_parsing(f, template_dict)
1224 option_group_parsing=template_dict['option_group_parsing'])
1226 declarations=template_dict['declarations'],
1227 return_conversion=template_dict['return_conversion'],
1228 initializers=template_dict['initializers'],
1229 modifications=template_dict['modifications'],
1230 cleanup=template_dict['cleanup'],
1240 s = template.format_map(template_dict)
2973 def set_template_dict(self, template_dict): argument
2974 template_dict['self_name'] = self.name
2975 template_dict['self_type'] = self.parser_type
2990 template_dict['self_type_check'] = line.format_map(d)