Searched refs:new_type (Results 1 – 3 of 3) sorted by relevance
298 def __init__(self, old_type, new_type): argument306 self.new_type = new_type333 if self.new_type in defined_types:339 'new_type': self.new_type})340 defined_types.add(self.new_type)351 if self.new_type in serialized_types:357 'new': self.new_type})359 'new': self.new_type})360 serialized_types.add(self.new_type)1062 new_type = match.group(1)[all …]
214 self.assertEqual(types[0].new_type, 'type2')216 self.assertEqual(types[1].new_type, 'const_type')
852 return Kind._combine_children_by_name(self, new_type=type(self))856 def _combine_children_by_name(self, new_type): argument870 kind = new_type(self.name, self.parent)952 return Kind._combine_children_by_name(self, new_type=type(self))