CFGLib.Production.DeepClone C# (CSharp) Method

DeepClone() private method

Returns a new Production with constituent pieces equivalent to this Production. The Rhs is a new Sentence, so that any piece of the new Production can be changed without changing the old Production.
private DeepClone ( ) : Production
return Production
		internal Production DeepClone() {
			return new Production(this.Lhs, new Sentence(_rhs), this.Weight);
		}