2023-03-16 05:53:40 +03:00
|
|
|
// Code generated from SLQ.g4 by ANTLR 4.12.0. DO NOT EDIT.
|
2016-10-17 07:14:01 +03:00
|
|
|
|
|
|
|
package slq // SLQ
|
2022-12-24 07:43:20 +03:00
|
|
|
import "github.com/antlr/antlr4/runtime/Go/antlr/v4"
|
2016-10-17 07:14:01 +03:00
|
|
|
|
|
|
|
type BaseSLQVisitor struct {
|
|
|
|
*antlr.BaseParseTreeVisitor
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitStmtList(ctx *StmtListContext) interface{} {
|
2020-08-06 20:58:47 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitQuery(ctx *QueryContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitSegment(ctx *SegmentContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitElement(ctx *ElementContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-03-27 05:03:40 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitFuncElement(ctx *FuncElementContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-03-27 05:03:40 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitFunc(ctx *FuncContext) interface{} {
|
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (v *BaseSLQVisitor) VisitFuncName(ctx *FuncNameContext) interface{} {
|
2023-03-19 07:58:00 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitJoin(ctx *JoinContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-07-03 18:34:19 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitJoinTable(ctx *JoinTableContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-03-28 09:48:24 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitUniqueFunc(ctx *UniqueFuncContext) interface{} {
|
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (v *BaseSLQVisitor) VisitCountFunc(ctx *CountFuncContext) interface{} {
|
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-06-17 07:54:25 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitWhere(ctx *WhereContext) interface{} {
|
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-03-27 05:03:40 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitGroupByTerm(ctx *GroupByTermContext) interface{} {
|
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (v *BaseSLQVisitor) VisitGroupBy(ctx *GroupByContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-03-26 04:20:53 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitOrderByTerm(ctx *OrderByTermContext) interface{} {
|
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (v *BaseSLQVisitor) VisitOrderBy(ctx *OrderByContext) interface{} {
|
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-03-22 09:17:34 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitSelector(ctx *SelectorContext) interface{} {
|
2023-03-19 07:58:00 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-03-22 09:17:34 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitSelectorElement(ctx *SelectorElementContext) interface{} {
|
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (v *BaseSLQVisitor) VisitAlias(ctx *AliasContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-04-07 11:00:49 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitArg(ctx *ArgContext) interface{} {
|
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-03-22 09:17:34 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitHandleTable(ctx *HandleTableContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-03-22 09:17:34 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitHandle(ctx *HandleContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitRowRange(ctx *RowRangeContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
2020-08-06 20:58:47 +03:00
|
|
|
|
2023-06-17 07:54:25 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitExprElement(ctx *ExprElementContext) interface{} {
|
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitExpr(ctx *ExprContext) interface{} {
|
2020-08-06 20:58:47 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitLiteral(ctx *LiteralContext) interface{} {
|
2020-08-06 20:58:47 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitUnaryOperator(ctx *UnaryOperatorContext) interface{} {
|
2020-08-06 20:58:47 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|