forked from hi-paris/agent-theory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLTLVisitor.py
73 lines (45 loc) · 2.16 KB
/
LTLVisitor.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Generated from LTL.g4 by ANTLR 4.8
from antlr4 import *
if __name__ is not None and "." in __name__:
from .LTLParser import LTLParser
else:
from LTLParser import LTLParser
# This class defines a complete generic visitor for a parse tree produced by LTLParser.
class LTLVisitor(ParseTreeVisitor):
# Visit a parse tree produced by LTLParser#Evaluation.
def visitEvaluation(self, ctx:LTLParser.EvaluationContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by LTLParser#Disjunction.
def visitDisjunction(self, ctx:LTLParser.DisjunctionContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by LTLParser#Implies.
def visitImplies(self, ctx:LTLParser.ImpliesContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by LTLParser#Negation.
def visitNegation(self, ctx:LTLParser.NegationContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by LTLParser#Next.
def visitNext(self, ctx:LTLParser.NextContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by LTLParser#Eventually.
def visitEventually(self, ctx:LTLParser.EventuallyContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by LTLParser#Conjunction.
def visitConjunction(self, ctx:LTLParser.ConjunctionContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by LTLParser#Grouping.
def visitGrouping(self, ctx:LTLParser.GroupingContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by LTLParser#Always.
def visitAlways(self, ctx:LTLParser.AlwaysContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by LTLParser#Release.
def visitRelease(self, ctx:LTLParser.ReleaseContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by LTLParser#Until.
def visitUntil(self, ctx:LTLParser.UntilContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by LTLParser#atomExpr.
def visitAtomExpr(self, ctx:LTLParser.AtomExprContext):
return self.visitChildren(ctx)
del LTLParser