func (o *ClauseMatch) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}

	so := sparse.(*SparseClauseMatch)
	if so.Clauses != nil {
		o.Clauses = *so.Clauses
	}
	if so.Match != nil {
		o.Match = *so.Match
	}
	if so.TargetIdentity != nil {
		o.TargetIdentity = *so.TargetIdentity
	}
}
// Patch apply the non nil value of a *SparseClauseMatch to the object.
Patch apply the non nil value of a *SparseClauseMatch to the object.
// Patch apply the non nil value of a * SparseClauseMatch to the object .
func (o *ClauseMatch) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseClauseMatch)
	if so.Clauses != nil {
		o.Clauses = *so.Clauses
	}
	if so.Match != nil {
		o.Match = *so.Match
	}
	if so.TargetIdentity != nil {
		o.TargetIdentity = *so.TargetIdentity
	}
}
func ( o * ClauseMatch ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseClauseMatch ) if so . Clauses != nil { o . Clauses = * so . Clauses } if so . Match != nil { o . Match = * so . Match } if so . TargetIdentity != nil { o . TargetIdentity = * so . TargetIdentity } }
Patch apply the non nil value of a *SparseClauseMatch to the object.
Patch apply the non nil value of a * SparseClauseMatch to the object .