コード例 #1
0
ファイル: param_named.go プロジェクト: amarantha-k/query
/*
It calls the VisitNamedParameter method by passing in
the receiver and returns the interface. It is a visitor pattern.
*/
func (this *NamedParameter) Accept(visitor expression.Visitor) (interface{}, error) {
	return visitor.VisitNamedParameter(this)
}
コード例 #2
0
ファイル: agg_avg_distinct.go プロジェクト: amarantha-k/query
/*
It calls the VisitFunction method by passing in the receiver to
and returns the interface. It is a visitor pattern.
*/
func (this *AvgDistinct) Accept(visitor expression.Visitor) (interface{}, error) {
	return visitor.VisitFunction(this)
}
コード例 #3
0
ファイル: agg_array.go プロジェクト: amarantha-k/query
/*
It calls the VisitFunction method by passing in the receiver to
and returns the interface. It is a visitor pattern.
*/
func (this *ArrayAgg) Accept(visitor expression.Visitor) (interface{}, error) {
	return visitor.VisitFunction(this)
}
コード例 #4
0
ファイル: subquery.go プロジェクト: amarantha-k/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)
}
コード例 #5
0
ファイル: param_positional.go プロジェクト: amarantha-k/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)
}