public SequenceComprehension(SequenceComprehension innerComprehension, Parameters parameters) { this.innerComprehension = innerComprehension; this.parameters = parameters; index = -1; arrayValue = null; sequence = null; }
public SequenceComprehension(Comprehension comprehension) { block = comprehension.Block; arrayBlock = comprehension.ArrayBlock; parameters = comprehension.Parameters; region = comprehension.Region; if (comprehension.InnerComprehension != null) { innerComprehension = new SequenceComprehension(comprehension.InnerComprehension); } index = -1; arrayValue = null; sequence = null; }