sq/libsq/ast/internal/slq/slq_base_visitor.go
Neil O'Toole a1a89ee9dd
Support table and column names with spaces. (#156)
* sakila: initial test data

* sakila: more test data

* sakila: yet more test data setup

* whitespace cols: now working for sqlite

* grammar cleanup

* whitespace cols: now working inside count() func for sqlite

* whitespace cols: tests mostly passing; begining refactoring

* grammar: refactor handle

* grammar: more refactoring

* grammar: rename selElement to selector

* wip

* all tests passing

* all tests passing

* linting

* driver: implement CurrentSchema for all driver.SQLDriver impls

* driver: tests for AlterTableRename and AlterTableRenameColumn

* undo reformat of SQL

* undo reformat of SQL

* undo reformat of SQL

* undo reformat of SQL
2023-03-22 00:17:34 -06:00

89 lines
2.3 KiB
Go

// Code generated from SLQ.g4 by ANTLR 4.12.0. DO NOT EDIT.
package slq // SLQ
import "github.com/antlr/antlr4/runtime/Go/antlr/v4"
type BaseSLQVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (v *BaseSLQVisitor) VisitStmtList(ctx *StmtListContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitQuery(ctx *QueryContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitSegment(ctx *SegmentContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitElement(ctx *ElementContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitCmpr(ctx *CmprContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitFn(ctx *FnContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitFnElement(ctx *FnElementContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitJoin(ctx *JoinContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitJoinConstraint(ctx *JoinConstraintContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitGroup(ctx *GroupContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitSelector(ctx *SelectorContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitSelectorElement(ctx *SelectorElementContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitAlias(ctx *AliasContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitHandleTable(ctx *HandleTableContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitHandle(ctx *HandleContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitRowRange(ctx *RowRangeContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitFnName(ctx *FnNameContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitExpr(ctx *ExprContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitLiteral(ctx *LiteralContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseSLQVisitor) VisitUnaryOperator(ctx *UnaryOperatorContext) interface{} {
return v.VisitChildren(ctx)
}