Interface IPromQLParserListener
This interface defines a complete listener for a parse tree produced by PromQLParser.
Namespace: GCore.Antlr.Grammers.Promql
Assembly: Promql.dll
Syntax
public interface IPromQLParserListener : Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAddOp(PromQLParser.AddOpContext)
Enter a parse tree produced by addOp().
Declaration
void EnterAddOp(PromQLParser.AddOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.AddOpContext | context | The parse tree. |
EnterAggregation(PromQLParser.AggregationContext)
Enter a parse tree produced by aggregation().
Declaration
void EnterAggregation(PromQLParser.AggregationContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.AggregationContext | context | The parse tree. |
EnterAndUnlessOp(PromQLParser.AndUnlessOpContext)
Enter a parse tree produced by andUnlessOp().
Declaration
void EnterAndUnlessOp(PromQLParser.AndUnlessOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.AndUnlessOpContext | context | The parse tree. |
EnterBy(PromQLParser.ByContext)
Enter a parse tree produced by by().
Declaration
void EnterBy(PromQLParser.ByContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.ByContext | context | The parse tree. |
EnterCompareOp(PromQLParser.CompareOpContext)
Enter a parse tree produced by compareOp().
Declaration
void EnterCompareOp(PromQLParser.CompareOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.CompareOpContext | context | The parse tree. |
EnterExpression(PromQLParser.ExpressionContext)
Enter a parse tree produced by expression().
Declaration
void EnterExpression(PromQLParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.ExpressionContext | context | The parse tree. |
EnterFunction_(PromQLParser.Function_Context)
Enter a parse tree produced by function_().
Declaration
void EnterFunction_(PromQLParser.Function_Context context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.Function_Context | context | The parse tree. |
EnterGrouping(PromQLParser.GroupingContext)
Enter a parse tree produced by grouping().
Declaration
void EnterGrouping(PromQLParser.GroupingContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.GroupingContext | context | The parse tree. |
EnterGroupLeft(PromQLParser.GroupLeftContext)
Enter a parse tree produced by groupLeft().
Declaration
void EnterGroupLeft(PromQLParser.GroupLeftContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.GroupLeftContext | context | The parse tree. |
EnterGroupRight(PromQLParser.GroupRightContext)
Enter a parse tree produced by groupRight().
Declaration
void EnterGroupRight(PromQLParser.GroupRightContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.GroupRightContext | context | The parse tree. |
EnterIgnoring(PromQLParser.IgnoringContext)
Enter a parse tree produced by ignoring().
Declaration
void EnterIgnoring(PromQLParser.IgnoringContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.IgnoringContext | context | The parse tree. |
EnterInstantSelector(PromQLParser.InstantSelectorContext)
Enter a parse tree produced by instantSelector().
Declaration
void EnterInstantSelector(PromQLParser.InstantSelectorContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.InstantSelectorContext | context | The parse tree. |
EnterKeyword(PromQLParser.KeywordContext)
Enter a parse tree produced by keyword().
Declaration
void EnterKeyword(PromQLParser.KeywordContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.KeywordContext | context | The parse tree. |
EnterLabelMatcher(PromQLParser.LabelMatcherContext)
Enter a parse tree produced by labelMatcher().
Declaration
void EnterLabelMatcher(PromQLParser.LabelMatcherContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LabelMatcherContext | context | The parse tree. |
EnterLabelMatcherList(PromQLParser.LabelMatcherListContext)
Enter a parse tree produced by labelMatcherList().
Declaration
void EnterLabelMatcherList(PromQLParser.LabelMatcherListContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LabelMatcherListContext | context | The parse tree. |
EnterLabelMatcherOperator(PromQLParser.LabelMatcherOperatorContext)
Enter a parse tree produced by labelMatcherOperator().
Declaration
void EnterLabelMatcherOperator(PromQLParser.LabelMatcherOperatorContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LabelMatcherOperatorContext | context | The parse tree. |
EnterLabelName(PromQLParser.LabelNameContext)
Enter a parse tree produced by labelName().
Declaration
void EnterLabelName(PromQLParser.LabelNameContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LabelNameContext | context | The parse tree. |
EnterLabelNameList(PromQLParser.LabelNameListContext)
Enter a parse tree produced by labelNameList().
Declaration
void EnterLabelNameList(PromQLParser.LabelNameListContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LabelNameListContext | context | The parse tree. |
EnterLiteral(PromQLParser.LiteralContext)
Enter a parse tree produced by literal().
Declaration
void EnterLiteral(PromQLParser.LiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LiteralContext | context | The parse tree. |
EnterMatrixSelector(PromQLParser.MatrixSelectorContext)
Enter a parse tree produced by matrixSelector().
Declaration
void EnterMatrixSelector(PromQLParser.MatrixSelectorContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.MatrixSelectorContext | context | The parse tree. |
EnterMultOp(PromQLParser.MultOpContext)
Enter a parse tree produced by multOp().
Declaration
void EnterMultOp(PromQLParser.MultOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.MultOpContext | context | The parse tree. |
EnterOffset(PromQLParser.OffsetContext)
Enter a parse tree produced by offset().
Declaration
void EnterOffset(PromQLParser.OffsetContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.OffsetContext | context | The parse tree. |
EnterOn_(PromQLParser.On_Context)
Enter a parse tree produced by on_().
Declaration
void EnterOn_(PromQLParser.On_Context context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.On_Context | context | The parse tree. |
EnterOrOp(PromQLParser.OrOpContext)
Enter a parse tree produced by orOp().
Declaration
void EnterOrOp(PromQLParser.OrOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.OrOpContext | context | The parse tree. |
EnterParameter(PromQLParser.ParameterContext)
Enter a parse tree produced by parameter().
Declaration
void EnterParameter(PromQLParser.ParameterContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.ParameterContext | context | The parse tree. |
EnterParameterList(PromQLParser.ParameterListContext)
Enter a parse tree produced by parameterList().
Declaration
void EnterParameterList(PromQLParser.ParameterListContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.ParameterListContext | context | The parse tree. |
EnterParens(PromQLParser.ParensContext)
Enter a parse tree produced by parens().
Declaration
void EnterParens(PromQLParser.ParensContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.ParensContext | context | The parse tree. |
EnterPowOp(PromQLParser.PowOpContext)
Enter a parse tree produced by powOp().
Declaration
void EnterPowOp(PromQLParser.PowOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.PowOpContext | context | The parse tree. |
EnterUnaryOp(PromQLParser.UnaryOpContext)
Enter a parse tree produced by unaryOp().
Declaration
void EnterUnaryOp(PromQLParser.UnaryOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.UnaryOpContext | context | The parse tree. |
EnterVector(PromQLParser.VectorContext)
Enter a parse tree produced by vector().
Declaration
void EnterVector(PromQLParser.VectorContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.VectorContext | context | The parse tree. |
EnterVectorOperation(PromQLParser.VectorOperationContext)
Enter a parse tree produced by vectorOperation().
Declaration
void EnterVectorOperation(PromQLParser.VectorOperationContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.VectorOperationContext | context | The parse tree. |
EnterWithout(PromQLParser.WithoutContext)
Enter a parse tree produced by without().
Declaration
void EnterWithout(PromQLParser.WithoutContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.WithoutContext | context | The parse tree. |
ExitAddOp(PromQLParser.AddOpContext)
Exit a parse tree produced by addOp().
Declaration
void ExitAddOp(PromQLParser.AddOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.AddOpContext | context | The parse tree. |
ExitAggregation(PromQLParser.AggregationContext)
Exit a parse tree produced by aggregation().
Declaration
void ExitAggregation(PromQLParser.AggregationContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.AggregationContext | context | The parse tree. |
ExitAndUnlessOp(PromQLParser.AndUnlessOpContext)
Exit a parse tree produced by andUnlessOp().
Declaration
void ExitAndUnlessOp(PromQLParser.AndUnlessOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.AndUnlessOpContext | context | The parse tree. |
ExitBy(PromQLParser.ByContext)
Exit a parse tree produced by by().
Declaration
void ExitBy(PromQLParser.ByContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.ByContext | context | The parse tree. |
ExitCompareOp(PromQLParser.CompareOpContext)
Exit a parse tree produced by compareOp().
Declaration
void ExitCompareOp(PromQLParser.CompareOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.CompareOpContext | context | The parse tree. |
ExitExpression(PromQLParser.ExpressionContext)
Exit a parse tree produced by expression().
Declaration
void ExitExpression(PromQLParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.ExpressionContext | context | The parse tree. |
ExitFunction_(PromQLParser.Function_Context)
Exit a parse tree produced by function_().
Declaration
void ExitFunction_(PromQLParser.Function_Context context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.Function_Context | context | The parse tree. |
ExitGrouping(PromQLParser.GroupingContext)
Exit a parse tree produced by grouping().
Declaration
void ExitGrouping(PromQLParser.GroupingContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.GroupingContext | context | The parse tree. |
ExitGroupLeft(PromQLParser.GroupLeftContext)
Exit a parse tree produced by groupLeft().
Declaration
void ExitGroupLeft(PromQLParser.GroupLeftContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.GroupLeftContext | context | The parse tree. |
ExitGroupRight(PromQLParser.GroupRightContext)
Exit a parse tree produced by groupRight().
Declaration
void ExitGroupRight(PromQLParser.GroupRightContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.GroupRightContext | context | The parse tree. |
ExitIgnoring(PromQLParser.IgnoringContext)
Exit a parse tree produced by ignoring().
Declaration
void ExitIgnoring(PromQLParser.IgnoringContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.IgnoringContext | context | The parse tree. |
ExitInstantSelector(PromQLParser.InstantSelectorContext)
Exit a parse tree produced by instantSelector().
Declaration
void ExitInstantSelector(PromQLParser.InstantSelectorContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.InstantSelectorContext | context | The parse tree. |
ExitKeyword(PromQLParser.KeywordContext)
Exit a parse tree produced by keyword().
Declaration
void ExitKeyword(PromQLParser.KeywordContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.KeywordContext | context | The parse tree. |
ExitLabelMatcher(PromQLParser.LabelMatcherContext)
Exit a parse tree produced by labelMatcher().
Declaration
void ExitLabelMatcher(PromQLParser.LabelMatcherContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LabelMatcherContext | context | The parse tree. |
ExitLabelMatcherList(PromQLParser.LabelMatcherListContext)
Exit a parse tree produced by labelMatcherList().
Declaration
void ExitLabelMatcherList(PromQLParser.LabelMatcherListContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LabelMatcherListContext | context | The parse tree. |
ExitLabelMatcherOperator(PromQLParser.LabelMatcherOperatorContext)
Exit a parse tree produced by labelMatcherOperator().
Declaration
void ExitLabelMatcherOperator(PromQLParser.LabelMatcherOperatorContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LabelMatcherOperatorContext | context | The parse tree. |
ExitLabelName(PromQLParser.LabelNameContext)
Exit a parse tree produced by labelName().
Declaration
void ExitLabelName(PromQLParser.LabelNameContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LabelNameContext | context | The parse tree. |
ExitLabelNameList(PromQLParser.LabelNameListContext)
Exit a parse tree produced by labelNameList().
Declaration
void ExitLabelNameList(PromQLParser.LabelNameListContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LabelNameListContext | context | The parse tree. |
ExitLiteral(PromQLParser.LiteralContext)
Exit a parse tree produced by literal().
Declaration
void ExitLiteral(PromQLParser.LiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.LiteralContext | context | The parse tree. |
ExitMatrixSelector(PromQLParser.MatrixSelectorContext)
Exit a parse tree produced by matrixSelector().
Declaration
void ExitMatrixSelector(PromQLParser.MatrixSelectorContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.MatrixSelectorContext | context | The parse tree. |
ExitMultOp(PromQLParser.MultOpContext)
Exit a parse tree produced by multOp().
Declaration
void ExitMultOp(PromQLParser.MultOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.MultOpContext | context | The parse tree. |
ExitOffset(PromQLParser.OffsetContext)
Exit a parse tree produced by offset().
Declaration
void ExitOffset(PromQLParser.OffsetContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.OffsetContext | context | The parse tree. |
ExitOn_(PromQLParser.On_Context)
Exit a parse tree produced by on_().
Declaration
void ExitOn_(PromQLParser.On_Context context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.On_Context | context | The parse tree. |
ExitOrOp(PromQLParser.OrOpContext)
Exit a parse tree produced by orOp().
Declaration
void ExitOrOp(PromQLParser.OrOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.OrOpContext | context | The parse tree. |
ExitParameter(PromQLParser.ParameterContext)
Exit a parse tree produced by parameter().
Declaration
void ExitParameter(PromQLParser.ParameterContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.ParameterContext | context | The parse tree. |
ExitParameterList(PromQLParser.ParameterListContext)
Exit a parse tree produced by parameterList().
Declaration
void ExitParameterList(PromQLParser.ParameterListContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.ParameterListContext | context | The parse tree. |
ExitParens(PromQLParser.ParensContext)
Exit a parse tree produced by parens().
Declaration
void ExitParens(PromQLParser.ParensContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.ParensContext | context | The parse tree. |
ExitPowOp(PromQLParser.PowOpContext)
Exit a parse tree produced by powOp().
Declaration
void ExitPowOp(PromQLParser.PowOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.PowOpContext | context | The parse tree. |
ExitUnaryOp(PromQLParser.UnaryOpContext)
Exit a parse tree produced by unaryOp().
Declaration
void ExitUnaryOp(PromQLParser.UnaryOpContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.UnaryOpContext | context | The parse tree. |
ExitVector(PromQLParser.VectorContext)
Exit a parse tree produced by vector().
Declaration
void ExitVector(PromQLParser.VectorContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.VectorContext | context | The parse tree. |
ExitVectorOperation(PromQLParser.VectorOperationContext)
Exit a parse tree produced by vectorOperation().
Declaration
void ExitVectorOperation(PromQLParser.VectorOperationContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.VectorOperationContext | context | The parse tree. |
ExitWithout(PromQLParser.WithoutContext)
Exit a parse tree produced by without().
Declaration
void ExitWithout(PromQLParser.WithoutContext context)
Parameters
Type | Name | Description |
---|---|---|
PromQLParser.WithoutContext | context | The parse tree. |