Package net.maswag.falcaun
Class STLVisitorImpl
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<TemporalLogic.STLCost>
- All Implemented Interfaces:
STLVisitor<TemporalLogic.STLCost>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<TemporalLogic.STLCost>
STLVisitorImpl class.
- Author:
- Masaki Waga <masakiwaga@gmail.com>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate TemporalLogic.STLCost
handleInterval
(TemporalOp<List<Double>> subFml, STLParser.IntervalContext ctx) Visit a parse tree produced bySTLParser.atomic()
.Visit a parse tree produced bySTLParser.expr()
.Methods inherited from class net.maswag.falcaun.STLBaseVisitor
visitBinaryOperator, visitBinaryTemporalOperator, visitComparisonOperator, visitInterval, visitUnaryOperator, visitUnaryTemporalOperator, visitValue
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
-
Field Details
-
inputMapper
-
outputMapper
-
largest
-
-
Constructor Details
-
STLVisitorImpl
public STLVisitorImpl()
-
-
Method Details
-
handleInterval
private TemporalLogic.STLCost handleInterval(TemporalOp<List<Double>> subFml, STLParser.IntervalContext ctx) -
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<TemporalLogic.STLCost>
- Overrides:
visitExpr
in classSTLBaseVisitor<TemporalLogic.STLCost>
- 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<TemporalLogic.STLCost>
- Overrides:
visitAtomic
in classSTLBaseVisitor<TemporalLogic.STLCost>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-