Class MQEParserBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,MQEParserVisitor<T>
MQEParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byMQEParser.addSub().Visit a parse tree produced by theaddSubOplabeled alternative inMQEParser.expression().Visit a parse tree produced byMQEParser.aggregation().Visit a parse tree produced by theaggregationOplabeled alternative inMQEParser.expression().Visit a parse tree produced byMQEParser.compare().Visit a parse tree produced by thecompareOplabeled alternative inMQEParser.expression().Visit a parse tree produced byMQEParser.expressionNode().Visit a parse tree produced by theexprNodelabeled alternative inMQEParser.expression().Visit a parse tree produced byMQEParser.function0().Visit a parse tree produced by thefunction0OPlabeled alternative inMQEParser.expression().Visit a parse tree produced byMQEParser.function1().Visit a parse tree produced by thefunction1OPlabeled alternative inMQEParser.expression().Visit a parse tree produced byMQEParser.label().Visit a parse tree produced byMQEParser.labelName().Visit a parse tree produced byMQEParser.labelValue().Visit a parse tree produced byMQEParser.metric().Visit a parse tree produced byMQEParser.metricName().Visit a parse tree produced byMQEParser.mulDivMod().Visit a parse tree produced by themulDivModOplabeled alternative inMQEParser.expression().Visit a parse tree produced byMQEParser.order().Visit a parse tree produced byMQEParser.parameter().Visit a parse tree produced byMQEParser.relabels().Visit a parse tree produced by therelablesOPlabeled alternative inMQEParser.expression().Visit a parse tree produced byMQEParser.root().Visit a parse tree produced byMQEParser.scalar().Visit a parse tree produced byMQEParser.topN().Visit a parse tree produced by thetopNOPlabeled alternative inMQEParser.expression().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
MQEParserBaseVisitor
public MQEParserBaseVisitor()
-
-
Method Details
-
visitRoot
Visit a parse tree produced byMQEParser.root().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRootin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction1OP
Visit a parse tree produced by thefunction1OPlabeled alternative inMQEParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunction1OPin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction0OP
Visit a parse tree produced by thefunction0OPlabeled alternative inMQEParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunction0OPin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTopNOP
Visit a parse tree produced by thetopNOPlabeled alternative inMQEParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTopNOPin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAggregationOp
Visit a parse tree produced by theaggregationOplabeled alternative inMQEParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAggregationOpin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprNode
Visit a parse tree produced by theexprNodelabeled alternative inMQEParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprNodein interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMulDivModOp
Visit a parse tree produced by themulDivModOplabeled alternative inMQEParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMulDivModOpin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelablesOP
Visit a parse tree produced by therelablesOPlabeled alternative inMQEParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelablesOPin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompareOp
Visit a parse tree produced by thecompareOplabeled alternative inMQEParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompareOpin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAddSubOp
Visit a parse tree produced by theaddSubOplabeled alternative inMQEParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAddSubOpin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionNode
Visit a parse tree produced byMQEParser.expressionNode().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionNodein interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAddSub
Visit a parse tree produced byMQEParser.addSub().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAddSubin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMulDivMod
Visit a parse tree produced byMQEParser.mulDivMod().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMulDivModin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompare
Visit a parse tree produced byMQEParser.compare().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparein interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMetricName
Visit a parse tree produced byMQEParser.metricName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMetricNamein interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMetric
Visit a parse tree produced byMQEParser.metric().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMetricin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabelName
Visit a parse tree produced byMQEParser.labelName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLabelNamein interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabelValue
Visit a parse tree produced byMQEParser.labelValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLabelValuein interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLabel
Visit a parse tree produced byMQEParser.label().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLabelin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitScalar
Visit a parse tree produced byMQEParser.scalar().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitScalarin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAggregation
Visit a parse tree produced byMQEParser.aggregation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAggregationin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction0
Visit a parse tree produced byMQEParser.function0().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunction0in interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction1
Visit a parse tree produced byMQEParser.function1().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunction1in interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTopN
Visit a parse tree produced byMQEParser.topN().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTopNin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelabels
Visit a parse tree produced byMQEParser.relabels().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRelabelsin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameter
Visit a parse tree produced byMQEParser.parameter().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParameterin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrder
Visit a parse tree produced byMQEParser.order().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrderin interfaceMQEParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-