mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-19 22:21:56 +03:00
a1a89ee9dd
* 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
70 lines
2.3 KiB
Go
70 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"
|
|
|
|
// A complete Visitor for a parse tree produced by SLQParser.
|
|
type SLQVisitor interface {
|
|
antlr.ParseTreeVisitor
|
|
|
|
// Visit a parse tree produced by SLQParser#stmtList.
|
|
VisitStmtList(ctx *StmtListContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#query.
|
|
VisitQuery(ctx *QueryContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#segment.
|
|
VisitSegment(ctx *SegmentContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#element.
|
|
VisitElement(ctx *ElementContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#cmpr.
|
|
VisitCmpr(ctx *CmprContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#fn.
|
|
VisitFn(ctx *FnContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#fnElement.
|
|
VisitFnElement(ctx *FnElementContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#join.
|
|
VisitJoin(ctx *JoinContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#joinConstraint.
|
|
VisitJoinConstraint(ctx *JoinConstraintContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#group.
|
|
VisitGroup(ctx *GroupContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#selector.
|
|
VisitSelector(ctx *SelectorContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#selectorElement.
|
|
VisitSelectorElement(ctx *SelectorElementContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#alias.
|
|
VisitAlias(ctx *AliasContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#handleTable.
|
|
VisitHandleTable(ctx *HandleTableContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#handle.
|
|
VisitHandle(ctx *HandleContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#rowRange.
|
|
VisitRowRange(ctx *RowRangeContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#fnName.
|
|
VisitFnName(ctx *FnNameContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#expr.
|
|
VisitExpr(ctx *ExprContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#literal.
|
|
VisitLiteral(ctx *LiteralContext) interface{}
|
|
|
|
// Visit a parse tree produced by SLQParser#unaryOperator.
|
|
VisitUnaryOperator(ctx *UnaryOperatorContext) interface{}
|
|
}
|