-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathDIDParserListener.py
255 lines (171 loc) · 7.23 KB
/
DIDParserListener.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# Generated from DIDParser.g4 by ANTLR 4.9.3
from antlr4 import *
if __name__ is not None and "." in __name__:
from .DIDParser import DIDParser
else:
from DIDParser import DIDParser
# This class defines a complete listener for a parse tree produced by DIDParser.
class DIDParserListener(ParseTreeListener):
# Enter a parse tree produced by DIDParser#program.
def enterProgram(self, ctx:DIDParser.ProgramContext):
pass
# Exit a parse tree produced by DIDParser#program.
def exitProgram(self, ctx:DIDParser.ProgramContext):
pass
# Enter a parse tree produced by DIDParser#defination.
def enterDefination(self, ctx:DIDParser.DefinationContext):
pass
# Exit a parse tree produced by DIDParser#defination.
def exitDefination(self, ctx:DIDParser.DefinationContext):
pass
# Enter a parse tree produced by DIDParser#actor.
def enterActor(self, ctx:DIDParser.ActorContext):
pass
# Exit a parse tree produced by DIDParser#actor.
def exitActor(self, ctx:DIDParser.ActorContext):
pass
# Enter a parse tree produced by DIDParser#actortype.
def enterActortype(self, ctx:DIDParser.ActortypeContext):
pass
# Exit a parse tree produced by DIDParser#actortype.
def exitActortype(self, ctx:DIDParser.ActortypeContext):
pass
# Enter a parse tree produced by DIDParser#Name.
def enterName(self, ctx:DIDParser.NameContext):
pass
# Exit a parse tree produced by DIDParser#Name.
def exitName(self, ctx:DIDParser.NameContext):
pass
# Enter a parse tree produced by DIDParser#Primitive.
def enterPrimitive(self, ctx:DIDParser.PrimitiveContext):
pass
# Exit a parse tree produced by DIDParser#Primitive.
def exitPrimitive(self, ctx:DIDParser.PrimitiveContext):
pass
# Enter a parse tree produced by DIDParser#Component.
def enterComponent(self, ctx:DIDParser.ComponentContext):
pass
# Exit a parse tree produced by DIDParser#Component.
def exitComponent(self, ctx:DIDParser.ComponentContext):
pass
# Enter a parse tree produced by DIDParser#comptype.
def enterComptype(self, ctx:DIDParser.ComptypeContext):
pass
# Exit a parse tree produced by DIDParser#comptype.
def exitComptype(self, ctx:DIDParser.ComptypeContext):
pass
# Enter a parse tree produced by DIDParser#Option.
def enterOption(self, ctx:DIDParser.OptionContext):
pass
# Exit a parse tree produced by DIDParser#Option.
def exitOption(self, ctx:DIDParser.OptionContext):
pass
# Enter a parse tree produced by DIDParser#Vector.
def enterVector(self, ctx:DIDParser.VectorContext):
pass
# Exit a parse tree produced by DIDParser#Vector.
def exitVector(self, ctx:DIDParser.VectorContext):
pass
# Enter a parse tree produced by DIDParser#EmptyRecord.
def enterEmptyRecord(self, ctx:DIDParser.EmptyRecordContext):
pass
# Exit a parse tree produced by DIDParser#EmptyRecord.
def exitEmptyRecord(self, ctx:DIDParser.EmptyRecordContext):
pass
# Enter a parse tree produced by DIDParser#Record.
def enterRecord(self, ctx:DIDParser.RecordContext):
pass
# Exit a parse tree produced by DIDParser#Record.
def exitRecord(self, ctx:DIDParser.RecordContext):
pass
# Enter a parse tree produced by DIDParser#EmptyVariant.
def enterEmptyVariant(self, ctx:DIDParser.EmptyVariantContext):
pass
# Exit a parse tree produced by DIDParser#EmptyVariant.
def exitEmptyVariant(self, ctx:DIDParser.EmptyVariantContext):
pass
# Enter a parse tree produced by DIDParser#Variant.
def enterVariant(self, ctx:DIDParser.VariantContext):
pass
# Exit a parse tree produced by DIDParser#Variant.
def exitVariant(self, ctx:DIDParser.VariantContext):
pass
# Enter a parse tree produced by DIDParser#RecordKV.
def enterRecordKV(self, ctx:DIDParser.RecordKVContext):
pass
# Exit a parse tree produced by DIDParser#RecordKV.
def exitRecordKV(self, ctx:DIDParser.RecordKVContext):
pass
# Enter a parse tree produced by DIDParser#RecordData.
def enterRecordData(self, ctx:DIDParser.RecordDataContext):
pass
# Exit a parse tree produced by DIDParser#RecordData.
def exitRecordData(self, ctx:DIDParser.RecordDataContext):
pass
# Enter a parse tree produced by DIDParser#VariantKV.
def enterVariantKV(self, ctx:DIDParser.VariantKVContext):
pass
# Exit a parse tree produced by DIDParser#VariantKV.
def exitVariantKV(self, ctx:DIDParser.VariantKVContext):
pass
# Enter a parse tree produced by DIDParser#VariantName.
def enterVariantName(self, ctx:DIDParser.VariantNameContext):
pass
# Exit a parse tree produced by DIDParser#VariantName.
def exitVariantName(self, ctx:DIDParser.VariantNameContext):
pass
# Enter a parse tree produced by DIDParser#reftype.
def enterReftype(self, ctx:DIDParser.ReftypeContext):
pass
# Exit a parse tree produced by DIDParser#reftype.
def exitReftype(self, ctx:DIDParser.ReftypeContext):
pass
# Enter a parse tree produced by DIDParser#functype.
def enterFunctype(self, ctx:DIDParser.FunctypeContext):
pass
# Exit a parse tree produced by DIDParser#functype.
def exitFunctype(self, ctx:DIDParser.FunctypeContext):
pass
# Enter a parse tree produced by DIDParser#EmptyTuple.
def enterEmptyTuple(self, ctx:DIDParser.EmptyTupleContext):
pass
# Exit a parse tree produced by DIDParser#EmptyTuple.
def exitEmptyTuple(self, ctx:DIDParser.EmptyTupleContext):
pass
# Enter a parse tree produced by DIDParser#Tuple.
def enterTuple(self, ctx:DIDParser.TupleContext):
pass
# Exit a parse tree produced by DIDParser#Tuple.
def exitTuple(self, ctx:DIDParser.TupleContext):
pass
# Enter a parse tree produced by DIDParser#argtypes.
def enterArgtypes(self, ctx:DIDParser.ArgtypesContext):
pass
# Exit a parse tree produced by DIDParser#argtypes.
def exitArgtypes(self, ctx:DIDParser.ArgtypesContext):
pass
# Enter a parse tree produced by DIDParser#Query.
def enterQuery(self, ctx:DIDParser.QueryContext):
pass
# Exit a parse tree produced by DIDParser#Query.
def exitQuery(self, ctx:DIDParser.QueryContext):
pass
# Enter a parse tree produced by DIDParser#CompositeQuery.
def enterCompositeQuery(self, ctx:DIDParser.CompositeQueryContext):
pass
# Exit a parse tree produced by DIDParser#CompositeQuery.
def exitCompositeQuery(self, ctx:DIDParser.CompositeQueryContext):
pass
# Enter a parse tree produced by DIDParser#Oneway.
def enterOneway(self, ctx:DIDParser.OnewayContext):
pass
# Exit a parse tree produced by DIDParser#Oneway.
def exitOneway(self, ctx:DIDParser.OnewayContext):
pass
# Enter a parse tree produced by DIDParser#methodtype.
def enterMethodtype(self, ctx:DIDParser.MethodtypeContext):
pass
# Exit a parse tree produced by DIDParser#methodtype.
def exitMethodtype(self, ctx:DIDParser.MethodtypeContext):
pass
del DIDParser