def clone()

in mozilla_schema_generator/matcher.py [0:0]


    def clone(self, new_type=None, new_table_group=None):
        if new_table_group is None:
            new_table_group = self.table_group
        if new_type is None:
            new_type = self.type

        return Matcher(self.matcher, _type=new_type, table_group=new_table_group)