frostfs-sdk-go/netmap/parser/query_base_visitor.go
Airat Arifullin 4f48f6c9e0 [#78] netmap: Add new keywords NOT and UNIQUE
* Add the rule for NOT operation to the policy parser grammar
* Regenerate query parse
* Implement NOT in filter
* Add unit-tests

Signed-off-by: Airat Arifullin a.arifullin@yadro.com
2023-06-02 17:47:20 +03:00

63 lines
1.6 KiB
Go

package parser // Query
import "github.com/antlr4-go/antlr/v4"
type BaseQueryVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (v *BaseQueryVisitor) VisitPolicy(ctx *PolicyContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitRepStmt(ctx *RepStmtContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitCbfStmt(ctx *CbfStmtContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitSelectStmt(ctx *SelectStmtContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitClause(ctx *ClauseContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitFilterExpr(ctx *FilterExprContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitFilterStmt(ctx *FilterStmtContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitExpr(ctx *ExprContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitFilterKey(ctx *FilterKeyContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitFilterValue(ctx *FilterValueContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitNumber(ctx *NumberContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitKeyword(ctx *KeywordContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitIdent(ctx *IdentContext) interface{} {
return v.VisitChildren(ctx)
}
func (v *BaseQueryVisitor) VisitIdentWC(ctx *IdentWCContext) interface{} {
return v.VisitChildren(ctx)
}