Exemple #1
0
func (this *Range) Copy() *Range {
	return &Range{
		Low:       expression.CopyExpressions(this.Low),
		High:      expression.CopyExpressions(this.High),
		Inclusion: this.Inclusion,
	}
}
Exemple #2
0
func (this *Span) Copy() *Span {
	return &Span{
		Seek:  expression.CopyExpressions(this.Seek),
		Range: *(this.Range.Copy()),
	}
}