Class STLBaseVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for 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, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
visitExpr
in 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:
visitAtomic
in 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:
visitUnaryOperator
in 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:
visitUnaryTemporalOperator
in 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:
visitBinaryOperator
in 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:
visitBinaryTemporalOperator
in 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:
visitComparisonOperator
in 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:
visitValue
in 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:
visitInterval
in interfaceSTLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-