Class PromqlBaseParserBaseListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,PromqlBaseParserListener
PromqlBaseParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced by thearithmeticBinarylabeled alternative inPromqlBaseParser.expression().voidEnter a parse tree produced by thearithmeticUnarylabeled alternative inPromqlBaseParser.expression().voidEnter a parse tree produced byPromqlBaseParser.at().voidEnter a parse tree produced byPromqlBaseParser.constant().voidEnter a parse tree produced by thedecimalLiterallabeled alternative inPromqlBaseParser.number().voidEnter a parse tree produced byPromqlBaseParser.duration().voidEnter a parse tree produced byPromqlBaseParser.evaluation().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byPromqlBaseParser.function().voidEnter a parse tree produced byPromqlBaseParser.functionParams().voidEnter a parse tree produced byPromqlBaseParser.grouping().voidEnter a parse tree produced by thehexLiterallabeled alternative inPromqlBaseParser.number().voidEnter a parse tree produced byPromqlBaseParser.identifier().voidEnter a parse tree produced by theintegerLiterallabeled alternative inPromqlBaseParser.number().voidEnter a parse tree produced byPromqlBaseParser.label().voidEnter a parse tree produced byPromqlBaseParser.labelList().voidEnter a parse tree produced byPromqlBaseParser.labelName().voidEnter a parse tree produced byPromqlBaseParser.labels().voidEnter a parse tree produced byPromqlBaseParser.modifier().voidEnter a parse tree produced byPromqlBaseParser.nonReserved().voidEnter a parse tree produced byPromqlBaseParser.offset().voidEnter a parse tree produced by theparenthesizedlabeled alternative inPromqlBaseParser.expression().voidEnter a parse tree produced byPromqlBaseParser.selector().voidEnter a parse tree produced byPromqlBaseParser.seriesMatcher().voidEnter a parse tree produced byPromqlBaseParser.singleStatement().voidEnter a parse tree produced byPromqlBaseParser.string().voidEnter a parse tree produced by thesubquerylabeled alternative inPromqlBaseParser.expression().voidEnter a parse tree produced byPromqlBaseParser.subqueryResolution().voidEnter a parse tree produced byPromqlBaseParser.timeValue().voidEnter a parse tree produced byPromqlBaseParser.value().voidEnter a parse tree produced by thevalueExpressionlabeled alternative inPromqlBaseParser.expression().voidExit a parse tree produced by thearithmeticBinarylabeled alternative inPromqlBaseParser.expression().voidExit a parse tree produced by thearithmeticUnarylabeled alternative inPromqlBaseParser.expression().voidExit a parse tree produced byPromqlBaseParser.at().voidExit a parse tree produced byPromqlBaseParser.constant().voidExit a parse tree produced by thedecimalLiterallabeled alternative inPromqlBaseParser.number().voidExit a parse tree produced byPromqlBaseParser.duration().voidExit a parse tree produced byPromqlBaseParser.evaluation().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byPromqlBaseParser.function().voidExit a parse tree produced byPromqlBaseParser.functionParams().voidExit a parse tree produced byPromqlBaseParser.grouping().voidExit a parse tree produced by thehexLiterallabeled alternative inPromqlBaseParser.number().voidExit a parse tree produced byPromqlBaseParser.identifier().voidExit a parse tree produced by theintegerLiterallabeled alternative inPromqlBaseParser.number().voidExit a parse tree produced byPromqlBaseParser.label().voidExit a parse tree produced byPromqlBaseParser.labelList().voidExit a parse tree produced byPromqlBaseParser.labelName().voidExit a parse tree produced byPromqlBaseParser.labels().voidExit a parse tree produced byPromqlBaseParser.modifier().voidExit a parse tree produced byPromqlBaseParser.nonReserved().voidExit a parse tree produced byPromqlBaseParser.offset().voidExit a parse tree produced by theparenthesizedlabeled alternative inPromqlBaseParser.expression().voidExit a parse tree produced byPromqlBaseParser.selector().voidExit a parse tree produced byPromqlBaseParser.seriesMatcher().voidExit a parse tree produced byPromqlBaseParser.singleStatement().voidExit a parse tree produced byPromqlBaseParser.string().voidExit a parse tree produced by thesubquerylabeled alternative inPromqlBaseParser.expression().voidExit a parse tree produced byPromqlBaseParser.subqueryResolution().voidExit a parse tree produced byPromqlBaseParser.timeValue().voidExit a parse tree produced byPromqlBaseParser.value().voidExit a parse tree produced by thevalueExpressionlabeled alternative inPromqlBaseParser.expression().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
PromqlBaseParserBaseListener
public PromqlBaseParserBaseListener()
-
-
Method Details
-
enterSingleStatement
Enter a parse tree produced byPromqlBaseParser.singleStatement().The default implementation does nothing.
- Specified by:
enterSingleStatementin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitSingleStatement
Exit a parse tree produced byPromqlBaseParser.singleStatement().The default implementation does nothing.
- Specified by:
exitSingleStatementin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterValueExpression
Enter a parse tree produced by thevalueExpressionlabeled alternative inPromqlBaseParser.expression().The default implementation does nothing.
- Specified by:
enterValueExpressionin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitValueExpression
Exit a parse tree produced by thevalueExpressionlabeled alternative inPromqlBaseParser.expression().The default implementation does nothing.
- Specified by:
exitValueExpressionin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterSubquery
Enter a parse tree produced by thesubquerylabeled alternative inPromqlBaseParser.expression().The default implementation does nothing.
- Specified by:
enterSubqueryin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitSubquery
Exit a parse tree produced by thesubquerylabeled alternative inPromqlBaseParser.expression().The default implementation does nothing.
- Specified by:
exitSubqueryin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterParenthesized
Enter a parse tree produced by theparenthesizedlabeled alternative inPromqlBaseParser.expression().The default implementation does nothing.
- Specified by:
enterParenthesizedin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitParenthesized
Exit a parse tree produced by theparenthesizedlabeled alternative inPromqlBaseParser.expression().The default implementation does nothing.
- Specified by:
exitParenthesizedin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterArithmeticBinary
Enter a parse tree produced by thearithmeticBinarylabeled alternative inPromqlBaseParser.expression().The default implementation does nothing.
- Specified by:
enterArithmeticBinaryin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitArithmeticBinary
Exit a parse tree produced by thearithmeticBinarylabeled alternative inPromqlBaseParser.expression().The default implementation does nothing.
- Specified by:
exitArithmeticBinaryin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterArithmeticUnary
Enter a parse tree produced by thearithmeticUnarylabeled alternative inPromqlBaseParser.expression().The default implementation does nothing.
- Specified by:
enterArithmeticUnaryin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitArithmeticUnary
Exit a parse tree produced by thearithmeticUnarylabeled alternative inPromqlBaseParser.expression().The default implementation does nothing.
- Specified by:
exitArithmeticUnaryin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterSubqueryResolution
Enter a parse tree produced byPromqlBaseParser.subqueryResolution().The default implementation does nothing.
- Specified by:
enterSubqueryResolutionin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitSubqueryResolution
Exit a parse tree produced byPromqlBaseParser.subqueryResolution().The default implementation does nothing.
- Specified by:
exitSubqueryResolutionin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterValue
Enter a parse tree produced byPromqlBaseParser.value().The default implementation does nothing.
- Specified by:
enterValuein interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitValue
Exit a parse tree produced byPromqlBaseParser.value().The default implementation does nothing.
- Specified by:
exitValuein interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterFunction
Enter a parse tree produced byPromqlBaseParser.function().The default implementation does nothing.
- Specified by:
enterFunctionin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitFunction
Exit a parse tree produced byPromqlBaseParser.function().The default implementation does nothing.
- Specified by:
exitFunctionin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterFunctionParams
Enter a parse tree produced byPromqlBaseParser.functionParams().The default implementation does nothing.
- Specified by:
enterFunctionParamsin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitFunctionParams
Exit a parse tree produced byPromqlBaseParser.functionParams().The default implementation does nothing.
- Specified by:
exitFunctionParamsin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterGrouping
Enter a parse tree produced byPromqlBaseParser.grouping().The default implementation does nothing.
- Specified by:
enterGroupingin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitGrouping
Exit a parse tree produced byPromqlBaseParser.grouping().The default implementation does nothing.
- Specified by:
exitGroupingin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterSelector
Enter a parse tree produced byPromqlBaseParser.selector().The default implementation does nothing.
- Specified by:
enterSelectorin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitSelector
Exit a parse tree produced byPromqlBaseParser.selector().The default implementation does nothing.
- Specified by:
exitSelectorin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterSeriesMatcher
Enter a parse tree produced byPromqlBaseParser.seriesMatcher().The default implementation does nothing.
- Specified by:
enterSeriesMatcherin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitSeriesMatcher
Exit a parse tree produced byPromqlBaseParser.seriesMatcher().The default implementation does nothing.
- Specified by:
exitSeriesMatcherin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterModifier
Enter a parse tree produced byPromqlBaseParser.modifier().The default implementation does nothing.
- Specified by:
enterModifierin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitModifier
Exit a parse tree produced byPromqlBaseParser.modifier().The default implementation does nothing.
- Specified by:
exitModifierin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterLabelList
Enter a parse tree produced byPromqlBaseParser.labelList().The default implementation does nothing.
- Specified by:
enterLabelListin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitLabelList
Exit a parse tree produced byPromqlBaseParser.labelList().The default implementation does nothing.
- Specified by:
exitLabelListin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterLabels
Enter a parse tree produced byPromqlBaseParser.labels().The default implementation does nothing.
- Specified by:
enterLabelsin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitLabels
Exit a parse tree produced byPromqlBaseParser.labels().The default implementation does nothing.
- Specified by:
exitLabelsin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterLabel
Enter a parse tree produced byPromqlBaseParser.label().The default implementation does nothing.
- Specified by:
enterLabelin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitLabel
Exit a parse tree produced byPromqlBaseParser.label().The default implementation does nothing.
- Specified by:
exitLabelin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterLabelName
Enter a parse tree produced byPromqlBaseParser.labelName().The default implementation does nothing.
- Specified by:
enterLabelNamein interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitLabelName
Exit a parse tree produced byPromqlBaseParser.labelName().The default implementation does nothing.
- Specified by:
exitLabelNamein interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterIdentifier
Enter a parse tree produced byPromqlBaseParser.identifier().The default implementation does nothing.
- Specified by:
enterIdentifierin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitIdentifier
Exit a parse tree produced byPromqlBaseParser.identifier().The default implementation does nothing.
- Specified by:
exitIdentifierin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterEvaluation
Enter a parse tree produced byPromqlBaseParser.evaluation().The default implementation does nothing.
- Specified by:
enterEvaluationin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitEvaluation
Exit a parse tree produced byPromqlBaseParser.evaluation().The default implementation does nothing.
- Specified by:
exitEvaluationin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterOffset
Enter a parse tree produced byPromqlBaseParser.offset().The default implementation does nothing.
- Specified by:
enterOffsetin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitOffset
Exit a parse tree produced byPromqlBaseParser.offset().The default implementation does nothing.
- Specified by:
exitOffsetin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterDuration
Enter a parse tree produced byPromqlBaseParser.duration().The default implementation does nothing.
- Specified by:
enterDurationin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitDuration
Exit a parse tree produced byPromqlBaseParser.duration().The default implementation does nothing.
- Specified by:
exitDurationin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterAt
Enter a parse tree produced byPromqlBaseParser.at().The default implementation does nothing.
- Specified by:
enterAtin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitAt
Exit a parse tree produced byPromqlBaseParser.at().The default implementation does nothing.
- Specified by:
exitAtin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterConstant
Enter a parse tree produced byPromqlBaseParser.constant().The default implementation does nothing.
- Specified by:
enterConstantin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitConstant
Exit a parse tree produced byPromqlBaseParser.constant().The default implementation does nothing.
- Specified by:
exitConstantin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterDecimalLiteral
Enter a parse tree produced by thedecimalLiterallabeled alternative inPromqlBaseParser.number().The default implementation does nothing.
- Specified by:
enterDecimalLiteralin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitDecimalLiteral
Exit a parse tree produced by thedecimalLiterallabeled alternative inPromqlBaseParser.number().The default implementation does nothing.
- Specified by:
exitDecimalLiteralin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterIntegerLiteral
Enter a parse tree produced by theintegerLiterallabeled alternative inPromqlBaseParser.number().The default implementation does nothing.
- Specified by:
enterIntegerLiteralin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitIntegerLiteral
Exit a parse tree produced by theintegerLiterallabeled alternative inPromqlBaseParser.number().The default implementation does nothing.
- Specified by:
exitIntegerLiteralin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterHexLiteral
Enter a parse tree produced by thehexLiterallabeled alternative inPromqlBaseParser.number().The default implementation does nothing.
- Specified by:
enterHexLiteralin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitHexLiteral
Exit a parse tree produced by thehexLiterallabeled alternative inPromqlBaseParser.number().The default implementation does nothing.
- Specified by:
exitHexLiteralin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterString
Enter a parse tree produced byPromqlBaseParser.string().The default implementation does nothing.
- Specified by:
enterStringin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitString
Exit a parse tree produced byPromqlBaseParser.string().The default implementation does nothing.
- Specified by:
exitStringin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterTimeValue
Enter a parse tree produced byPromqlBaseParser.timeValue().The default implementation does nothing.
- Specified by:
enterTimeValuein interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitTimeValue
Exit a parse tree produced byPromqlBaseParser.timeValue().The default implementation does nothing.
- Specified by:
exitTimeValuein interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterNonReserved
Enter a parse tree produced byPromqlBaseParser.nonReserved().The default implementation does nothing.
- Specified by:
enterNonReservedin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
exitNonReserved
Exit a parse tree produced byPromqlBaseParser.nonReserved().The default implementation does nothing.
- Specified by:
exitNonReservedin interfacePromqlBaseParserListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-