mirror of
https://github.com/SigNoz/signoz.git
synced 2026-04-28 14:40:32 +01:00
* fix: added validations for having expression * fix: added extra validation and unit tests * fix: added antlr based parsing for validation * fix: added more unit tests * fix: removed validation on having in range request validations * fix: generated lexer files and added more unit tests * fix: edge cases * fix: added cmnd to scripts for generating lexer * fix: use std libg sorting instead of selection sort * fix: support implicit and * fix: allow bare not in expression * fix: added suggestion for having expression * fix: typo * fix: added more unit tests, handle white space difference in aggregation exp and having exp * fix: added support for in and not, updated errors * fix: added support for brackets list * fix: lint error * fix: handle non spaced expression --------- Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
65 lines
2.4 KiB
Go
65 lines
2.4 KiB
Go
// Code generated from grammar/HavingExpression.g4 by ANTLR 4.13.2. DO NOT EDIT.
|
|
|
|
package parser // HavingExpression
|
|
|
|
import "github.com/antlr4-go/antlr/v4"
|
|
|
|
// A complete Visitor for a parse tree produced by HavingExpressionParser.
|
|
type HavingExpressionVisitor interface {
|
|
antlr.ParseTreeVisitor
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#query.
|
|
VisitQuery(ctx *QueryContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#expression.
|
|
VisitExpression(ctx *ExpressionContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#orExpression.
|
|
VisitOrExpression(ctx *OrExpressionContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#andExpression.
|
|
VisitAndExpression(ctx *AndExpressionContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#primary.
|
|
VisitPrimary(ctx *PrimaryContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#comparison.
|
|
VisitComparison(ctx *ComparisonContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#compOp.
|
|
VisitCompOp(ctx *CompOpContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#inList.
|
|
VisitInList(ctx *InListContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#signedNumber.
|
|
VisitSignedNumber(ctx *SignedNumberContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#operand.
|
|
VisitOperand(ctx *OperandContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#term.
|
|
VisitTerm(ctx *TermContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#factor.
|
|
VisitFactor(ctx *FactorContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#atom.
|
|
VisitAtom(ctx *AtomContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#functionCall.
|
|
VisitFunctionCall(ctx *FunctionCallContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#functionArgList.
|
|
VisitFunctionArgList(ctx *FunctionArgListContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#funcArg.
|
|
VisitFuncArg(ctx *FuncArgContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#funcArgToken.
|
|
VisitFuncArgToken(ctx *FuncArgTokenContext) interface{}
|
|
|
|
// Visit a parse tree produced by HavingExpressionParser#identifier.
|
|
VisitIdentifier(ctx *IdentifierContext) interface{}
|
|
}
|