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.STLCosthandleInterval(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, visitValueMethods 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
-
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:
visitExprin interfaceSTLVisitor<TemporalLogic.STLCost>- Overrides:
visitExprin 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:
visitAtomicin interfaceSTLVisitor<TemporalLogic.STLCost>- Overrides:
visitAtomicin classSTLBaseVisitor<TemporalLogic.STLCost>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-