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)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitCmpr(ctx *CmprContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitFn(ctx *FnContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2023-03-19 07:58:00 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitFnElement(ctx *FnElementContext) interface{} {
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitJoinConstraint(ctx *JoinConstraintContext) interface{} {
|
2016-10-17 07:14:01 +03:00
|
|
|
return v.VisitChildren(ctx)
|
|
|
|
}
|
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitGroup(ctx *GroupContext) 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-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
|
|
|
|
2022-12-24 07:43:20 +03:00
|
|
|
func (v *BaseSLQVisitor) VisitFnName(ctx *FnNameContext) interface{} {
|
2020-08-06 20:58:47 +03:00
|
|
|
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)
|
|
|
|
}
|