コード例 #1
0
ファイル: agg_sum.go プロジェクト: pkdevboxy/query
/*
It calls the VisitFunction method by passing in the receiver to
and returns the interface. It is a visitor pattern.
*/
func (this *Sum) Accept(visitor expression.Visitor) (interface{}, error) {
	return visitor.VisitFunction(this)
}
コード例 #2
0
ファイル: agg_array_distinct.go プロジェクト: pkdevboxy/query
/*
It calls the VisitFunction method by passing in the receiver to
and returns the interface. It is a visitor pattern.
*/
func (this *ArrayAggDistinct) Accept(visitor expression.Visitor) (interface{}, error) {
	return visitor.VisitFunction(this)
}
コード例 #3
0
ファイル: subquery.go プロジェクト: pkdevboxy/query
/*
It calls the VisitSubquery method by passing in the receiver to
and returns the interface. It is a visitor pattern.
*/
func (this *Subquery) Accept(visitor expression.Visitor) (interface{}, error) {
	return visitor.VisitSubquery(this)
}
コード例 #4
0
ファイル: param_positional.go プロジェクト: pkdevboxy/query
/*
It calls the VisitPositionalParameter method by passing in
the receiver and returns the interface. It is a visitor pattern.
*/
func (this *PositionalParameter) Accept(visitor expression.Visitor) (interface{}, error) {
	return visitor.VisitPositionalParameter(this)
}