Class MQEParserBaseVisitor<T>

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
org.apache.skywalking.mqe.rt.grammar.MQEParserBaseVisitor<T>
Type Parameters:
T - The return type of the visit operation. Use Void for operations with no return type.
All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>, MQEParserVisitor<T>

public class MQEParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements MQEParserVisitor<T>
This class provides an empty implementation of MQEParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
  • Constructor Details

    • MQEParserBaseVisitor

      public MQEParserBaseVisitor()
  • Method Details

    • visitRoot

      public T visitRoot(MQEParser.RootContext ctx)
      Visit a parse tree produced by MQEParser.root().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitRoot in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFunction1OP

      public T visitFunction1OP(MQEParser.Function1OPContext ctx)
      Visit a parse tree produced by the function1OP labeled alternative in MQEParser.expression().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFunction1OP in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFunction0OP

      public T visitFunction0OP(MQEParser.Function0OPContext ctx)
      Visit a parse tree produced by the function0OP labeled alternative in MQEParser.expression().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFunction0OP in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTopNOP

      public T visitTopNOP(MQEParser.TopNOPContext ctx)
      Visit a parse tree produced by the topNOP labeled alternative in MQEParser.expression().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitTopNOP in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAggregationOp

      public T visitAggregationOp(MQEParser.AggregationOpContext ctx)
      Visit a parse tree produced by the aggregationOp labeled alternative in MQEParser.expression().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAggregationOp in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitExprNode

      public T visitExprNode(MQEParser.ExprNodeContext ctx)
      Visit a parse tree produced by the exprNode labeled alternative in MQEParser.expression().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitExprNode in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMulDivModOp

      public T visitMulDivModOp(MQEParser.MulDivModOpContext ctx)
      Visit a parse tree produced by the mulDivModOp labeled alternative in MQEParser.expression().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMulDivModOp in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitRelablesOP

      public T visitRelablesOP(MQEParser.RelablesOPContext ctx)
      Visit a parse tree produced by the relablesOP labeled alternative in MQEParser.expression().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitRelablesOP in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitCompareOp

      public T visitCompareOp(MQEParser.CompareOpContext ctx)
      Visit a parse tree produced by the compareOp labeled alternative in MQEParser.expression().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitCompareOp in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAddSubOp

      public T visitAddSubOp(MQEParser.AddSubOpContext ctx)
      Visit a parse tree produced by the addSubOp labeled alternative in MQEParser.expression().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAddSubOp in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitExpressionNode

      public T visitExpressionNode(MQEParser.ExpressionNodeContext ctx)
      Visit a parse tree produced by MQEParser.expressionNode().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitExpressionNode in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAddSub

      public T visitAddSub(MQEParser.AddSubContext ctx)
      Visit a parse tree produced by MQEParser.addSub().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAddSub in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMulDivMod

      public T visitMulDivMod(MQEParser.MulDivModContext ctx)
      Visit a parse tree produced by MQEParser.mulDivMod().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMulDivMod in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitCompare

      public T visitCompare(MQEParser.CompareContext ctx)
      Visit a parse tree produced by MQEParser.compare().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitCompare in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMetricName

      public T visitMetricName(MQEParser.MetricNameContext ctx)
      Visit a parse tree produced by MQEParser.metricName().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMetricName in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMetric

      public T visitMetric(MQEParser.MetricContext ctx)
      Visit a parse tree produced by MQEParser.metric().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMetric in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitLabelName

      public T visitLabelName(MQEParser.LabelNameContext ctx)
      Visit a parse tree produced by MQEParser.labelName().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitLabelName in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitLabelValue

      public T visitLabelValue(MQEParser.LabelValueContext ctx)
      Visit a parse tree produced by MQEParser.labelValue().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitLabelValue in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitLabel

      public T visitLabel(MQEParser.LabelContext ctx)
      Visit a parse tree produced by MQEParser.label().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitLabel in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitScalar

      public T visitScalar(MQEParser.ScalarContext ctx)
      Visit a parse tree produced by MQEParser.scalar().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitScalar in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAggregation

      public T visitAggregation(MQEParser.AggregationContext ctx)
      Visit a parse tree produced by MQEParser.aggregation().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAggregation in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFunction0

      public T visitFunction0(MQEParser.Function0Context ctx)
      Visit a parse tree produced by MQEParser.function0().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFunction0 in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFunction1

      public T visitFunction1(MQEParser.Function1Context ctx)
      Visit a parse tree produced by MQEParser.function1().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFunction1 in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTopN

      public T visitTopN(MQEParser.TopNContext ctx)
      Visit a parse tree produced by MQEParser.topN().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitTopN in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitRelabels

      public T visitRelabels(MQEParser.RelabelsContext ctx)
      Visit a parse tree produced by MQEParser.relabels().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitRelabels in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitParameter

      public T visitParameter(MQEParser.ParameterContext ctx)
      Visit a parse tree produced by MQEParser.parameter().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitParameter in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitOrder

      public T visitOrder(MQEParser.OrderContext ctx)
      Visit a parse tree produced by MQEParser.order().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitOrder in interface MQEParserVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result