Class STLBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
STLVisitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
STLVisitorImpl
STLVisitor,
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 bySTLParser.atomic().Visit a parse tree produced bySTLParser.binaryOperator().Visit a parse tree produced bySTLParser.binaryTemporalOperator().Visit a parse tree produced bySTLParser.comparisonOperator().Visit a parse tree produced bySTLParser.expr().Visit a parse tree produced bySTLParser.interval().Visit a parse tree produced bySTLParser.unaryOperator().Visit a parse tree produced bySTLParser.unaryTemporalOperator().Visit a parse tree produced bySTLParser.value().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
-
STLBaseVisitor
public STLBaseVisitor()
-
-
Method Details
-
visitExpr
Visit a parse tree produced bySTLParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprin interfaceSTLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtomic
Visit a parse tree produced bySTLParser.atomic().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAtomicin interfaceSTLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryOperator
Visit a parse tree produced bySTLParser.unaryOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryOperatorin interfaceSTLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryTemporalOperator
Visit a parse tree produced bySTLParser.unaryTemporalOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnaryTemporalOperatorin interfaceSTLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryOperator
Visit a parse tree produced bySTLParser.binaryOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryOperatorin interfaceSTLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryTemporalOperator
Visit a parse tree produced bySTLParser.binaryTemporalOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBinaryTemporalOperatorin interfaceSTLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparisonOperator
Visit a parse tree produced bySTLParser.comparisonOperator().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitComparisonOperatorin interfaceSTLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValue
Visit a parse tree produced bySTLParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitValuein interfaceSTLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterval
Visit a parse tree produced bySTLParser.interval().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntervalin interfaceSTLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-