Interface PromqlBaseParserVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
PromqlAstBuilder,PromqlBaseParserBaseVisitor,PromqlLogicalPlanBuilder
public interface PromqlBaseParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
PromqlBaseParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by thearithmeticBinarylabeled alternative inPromqlBaseParser.expression().Visit a parse tree produced by thearithmeticUnarylabeled alternative inPromqlBaseParser.expression().Visit a parse tree produced byPromqlBaseParser.at().Visit a parse tree produced byPromqlBaseParser.constant().Visit a parse tree produced by thedecimalLiterallabeled alternative inPromqlBaseParser.number().Visit a parse tree produced byPromqlBaseParser.duration().Visit a parse tree produced byPromqlBaseParser.evaluation().Visit a parse tree produced byPromqlBaseParser.function().Visit a parse tree produced byPromqlBaseParser.functionParams().Visit a parse tree produced byPromqlBaseParser.grouping().Visit a parse tree produced by thehexLiterallabeled alternative inPromqlBaseParser.number().Visit a parse tree produced byPromqlBaseParser.identifier().Visit a parse tree produced by theintegerLiterallabeled alternative inPromqlBaseParser.number().Visit a parse tree produced byPromqlBaseParser.label().Visit a parse tree produced byPromqlBaseParser.labelList().Visit a parse tree produced byPromqlBaseParser.labelName().Visit a parse tree produced byPromqlBaseParser.labels().Visit a parse tree produced byPromqlBaseParser.modifier().Visit a parse tree produced byPromqlBaseParser.nonReserved().Visit a parse tree produced byPromqlBaseParser.offset().Visit a parse tree produced by theparenthesizedlabeled alternative inPromqlBaseParser.expression().Visit a parse tree produced byPromqlBaseParser.selector().Visit a parse tree produced byPromqlBaseParser.seriesMatcher().Visit a parse tree produced byPromqlBaseParser.singleStatement().Visit a parse tree produced byPromqlBaseParser.string().Visit a parse tree produced by thesubquerylabeled alternative inPromqlBaseParser.expression().Visit a parse tree produced byPromqlBaseParser.subqueryResolution().Visit a parse tree produced byPromqlBaseParser.timeValue().Visit a parse tree produced byPromqlBaseParser.value().Visit a parse tree produced by thevalueExpressionlabeled alternative inPromqlBaseParser.expression().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitSingleStatement
Visit a parse tree produced byPromqlBaseParser.singleStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValueExpression
Visit a parse tree produced by thevalueExpressionlabeled alternative inPromqlBaseParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubquery
Visit a parse tree produced by thesubquerylabeled alternative inPromqlBaseParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesized
Visit a parse tree produced by theparenthesizedlabeled alternative inPromqlBaseParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArithmeticBinary
Visit a parse tree produced by thearithmeticBinarylabeled alternative inPromqlBaseParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArithmeticUnary
Visit a parse tree produced by thearithmeticUnarylabeled alternative inPromqlBaseParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubqueryResolution
Visit a parse tree produced byPromqlBaseParser.subqueryResolution().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValue
Visit a parse tree produced byPromqlBaseParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction
Visit a parse tree produced byPromqlBaseParser.function().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionParams
Visit a parse tree produced byPromqlBaseParser.functionParams().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGrouping
Visit a parse tree produced byPromqlBaseParser.grouping().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelector
Visit a parse tree produced byPromqlBaseParser.selector().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSeriesMatcher
Visit a parse tree produced byPromqlBaseParser.seriesMatcher().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitModifier
Visit a parse tree produced byPromqlBaseParser.modifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabelList
Visit a parse tree produced byPromqlBaseParser.labelList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabels
Visit a parse tree produced byPromqlBaseParser.labels().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabel
Visit a parse tree produced byPromqlBaseParser.label().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabelName
Visit a parse tree produced byPromqlBaseParser.labelName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Visit a parse tree produced byPromqlBaseParser.identifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEvaluation
Visit a parse tree produced byPromqlBaseParser.evaluation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOffset
Visit a parse tree produced byPromqlBaseParser.offset().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDuration
Visit a parse tree produced byPromqlBaseParser.duration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAt
Visit a parse tree produced byPromqlBaseParser.at().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstant
Visit a parse tree produced byPromqlBaseParser.constant().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecimalLiteral
Visit a parse tree produced by thedecimalLiterallabeled alternative inPromqlBaseParser.number().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntegerLiteral
Visit a parse tree produced by theintegerLiterallabeled alternative inPromqlBaseParser.number().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHexLiteral
Visit a parse tree produced by thehexLiterallabeled alternative inPromqlBaseParser.number().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitString
Visit a parse tree produced byPromqlBaseParser.string().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimeValue
Visit a parse tree produced byPromqlBaseParser.timeValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonReserved
Visit a parse tree produced byPromqlBaseParser.nonReserved().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-