示例#1
0
文件: span.go 项目: pkdevboxy/query
func (this *Range) Copy() *Range {
	return &Range{
		Low:       expression.CopyExpressions(this.Low),
		High:      expression.CopyExpressions(this.High),
		Inclusion: this.Inclusion,
	}
}
示例#2
0
文件: span.go 项目: pkdevboxy/query
func (this *Span) Copy() *Span {
	return &Span{
		Seek:  expression.CopyExpressions(this.Seek),
		Range: *(this.Range.Copy()),
	}
}