pyfcstm 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyfcstm/__init__.py +0 -0
- pyfcstm/__main__.py +4 -0
- pyfcstm/config/__init__.py +0 -0
- pyfcstm/config/meta.py +20 -0
- pyfcstm/dsl/__init__.py +6 -0
- pyfcstm/dsl/error.py +226 -0
- pyfcstm/dsl/grammar/Grammar.g4 +190 -0
- pyfcstm/dsl/grammar/Grammar.interp +168 -0
- pyfcstm/dsl/grammar/Grammar.tokens +118 -0
- pyfcstm/dsl/grammar/GrammarLexer.interp +214 -0
- pyfcstm/dsl/grammar/GrammarLexer.py +523 -0
- pyfcstm/dsl/grammar/GrammarLexer.tokens +118 -0
- pyfcstm/dsl/grammar/GrammarListener.py +521 -0
- pyfcstm/dsl/grammar/GrammarParser.py +4373 -0
- pyfcstm/dsl/grammar/__init__.py +3 -0
- pyfcstm/dsl/listener.py +440 -0
- pyfcstm/dsl/node.py +1581 -0
- pyfcstm/dsl/parse.py +155 -0
- pyfcstm/entry/__init__.py +1 -0
- pyfcstm/entry/base.py +126 -0
- pyfcstm/entry/cli.py +12 -0
- pyfcstm/entry/dispatch.py +46 -0
- pyfcstm/entry/generate.py +83 -0
- pyfcstm/entry/plantuml.py +67 -0
- pyfcstm/model/__init__.py +3 -0
- pyfcstm/model/base.py +51 -0
- pyfcstm/model/expr.py +764 -0
- pyfcstm/model/model.py +1392 -0
- pyfcstm/render/__init__.py +3 -0
- pyfcstm/render/env.py +36 -0
- pyfcstm/render/expr.py +180 -0
- pyfcstm/render/func.py +77 -0
- pyfcstm/render/render.py +279 -0
- pyfcstm/utils/__init__.py +6 -0
- pyfcstm/utils/binary.py +38 -0
- pyfcstm/utils/doc.py +64 -0
- pyfcstm/utils/jinja2.py +121 -0
- pyfcstm/utils/json.py +125 -0
- pyfcstm/utils/text.py +91 -0
- pyfcstm/utils/validate.py +102 -0
- pyfcstm-0.0.1.dist-info/LICENSE +165 -0
- pyfcstm-0.0.1.dist-info/METADATA +205 -0
- pyfcstm-0.0.1.dist-info/RECORD +46 -0
- pyfcstm-0.0.1.dist-info/WHEEL +5 -0
- pyfcstm-0.0.1.dist-info/entry_points.txt +2 -0
- pyfcstm-0.0.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,521 @@
|
|
1
|
+
# Generated from ./pyfcstm/dsl/grammar/Grammar.g4 by ANTLR 4.9.3
|
2
|
+
from antlr4 import *
|
3
|
+
|
4
|
+
if __name__ is not None and "." in __name__:
|
5
|
+
from .GrammarParser import GrammarParser
|
6
|
+
else:
|
7
|
+
from GrammarParser import GrammarParser
|
8
|
+
|
9
|
+
|
10
|
+
# This class defines a complete listener for a parse tree produced by GrammarParser.
|
11
|
+
class GrammarListener(ParseTreeListener):
|
12
|
+
# Enter a parse tree produced by GrammarParser#condition.
|
13
|
+
def enterCondition(self, ctx: GrammarParser.ConditionContext):
|
14
|
+
pass
|
15
|
+
|
16
|
+
# Exit a parse tree produced by GrammarParser#condition.
|
17
|
+
def exitCondition(self, ctx: GrammarParser.ConditionContext):
|
18
|
+
pass
|
19
|
+
|
20
|
+
# Enter a parse tree produced by GrammarParser#state_machine_dsl.
|
21
|
+
def enterState_machine_dsl(self, ctx: GrammarParser.State_machine_dslContext):
|
22
|
+
pass
|
23
|
+
|
24
|
+
# Exit a parse tree produced by GrammarParser#state_machine_dsl.
|
25
|
+
def exitState_machine_dsl(self, ctx: GrammarParser.State_machine_dslContext):
|
26
|
+
pass
|
27
|
+
|
28
|
+
# Enter a parse tree produced by GrammarParser#def_assignment.
|
29
|
+
def enterDef_assignment(self, ctx: GrammarParser.Def_assignmentContext):
|
30
|
+
pass
|
31
|
+
|
32
|
+
# Exit a parse tree produced by GrammarParser#def_assignment.
|
33
|
+
def exitDef_assignment(self, ctx: GrammarParser.Def_assignmentContext):
|
34
|
+
pass
|
35
|
+
|
36
|
+
# Enter a parse tree produced by GrammarParser#leafStateDefinition.
|
37
|
+
def enterLeafStateDefinition(self, ctx: GrammarParser.LeafStateDefinitionContext):
|
38
|
+
pass
|
39
|
+
|
40
|
+
# Exit a parse tree produced by GrammarParser#leafStateDefinition.
|
41
|
+
def exitLeafStateDefinition(self, ctx: GrammarParser.LeafStateDefinitionContext):
|
42
|
+
pass
|
43
|
+
|
44
|
+
# Enter a parse tree produced by GrammarParser#compositeStateDefinition.
|
45
|
+
def enterCompositeStateDefinition(
|
46
|
+
self, ctx: GrammarParser.CompositeStateDefinitionContext
|
47
|
+
):
|
48
|
+
pass
|
49
|
+
|
50
|
+
# Exit a parse tree produced by GrammarParser#compositeStateDefinition.
|
51
|
+
def exitCompositeStateDefinition(
|
52
|
+
self, ctx: GrammarParser.CompositeStateDefinitionContext
|
53
|
+
):
|
54
|
+
pass
|
55
|
+
|
56
|
+
# Enter a parse tree produced by GrammarParser#entryTransitionDefinition.
|
57
|
+
def enterEntryTransitionDefinition(
|
58
|
+
self, ctx: GrammarParser.EntryTransitionDefinitionContext
|
59
|
+
):
|
60
|
+
pass
|
61
|
+
|
62
|
+
# Exit a parse tree produced by GrammarParser#entryTransitionDefinition.
|
63
|
+
def exitEntryTransitionDefinition(
|
64
|
+
self, ctx: GrammarParser.EntryTransitionDefinitionContext
|
65
|
+
):
|
66
|
+
pass
|
67
|
+
|
68
|
+
# Enter a parse tree produced by GrammarParser#normalTransitionDefinition.
|
69
|
+
def enterNormalTransitionDefinition(
|
70
|
+
self, ctx: GrammarParser.NormalTransitionDefinitionContext
|
71
|
+
):
|
72
|
+
pass
|
73
|
+
|
74
|
+
# Exit a parse tree produced by GrammarParser#normalTransitionDefinition.
|
75
|
+
def exitNormalTransitionDefinition(
|
76
|
+
self, ctx: GrammarParser.NormalTransitionDefinitionContext
|
77
|
+
):
|
78
|
+
pass
|
79
|
+
|
80
|
+
# Enter a parse tree produced by GrammarParser#exitTransitionDefinition.
|
81
|
+
def enterExitTransitionDefinition(
|
82
|
+
self, ctx: GrammarParser.ExitTransitionDefinitionContext
|
83
|
+
):
|
84
|
+
pass
|
85
|
+
|
86
|
+
# Exit a parse tree produced by GrammarParser#exitTransitionDefinition.
|
87
|
+
def exitExitTransitionDefinition(
|
88
|
+
self, ctx: GrammarParser.ExitTransitionDefinitionContext
|
89
|
+
):
|
90
|
+
pass
|
91
|
+
|
92
|
+
# Enter a parse tree produced by GrammarParser#normalForceTransitionDefinition.
|
93
|
+
def enterNormalForceTransitionDefinition(
|
94
|
+
self, ctx: GrammarParser.NormalForceTransitionDefinitionContext
|
95
|
+
):
|
96
|
+
pass
|
97
|
+
|
98
|
+
# Exit a parse tree produced by GrammarParser#normalForceTransitionDefinition.
|
99
|
+
def exitNormalForceTransitionDefinition(
|
100
|
+
self, ctx: GrammarParser.NormalForceTransitionDefinitionContext
|
101
|
+
):
|
102
|
+
pass
|
103
|
+
|
104
|
+
# Enter a parse tree produced by GrammarParser#exitForceTransitionDefinition.
|
105
|
+
def enterExitForceTransitionDefinition(
|
106
|
+
self, ctx: GrammarParser.ExitForceTransitionDefinitionContext
|
107
|
+
):
|
108
|
+
pass
|
109
|
+
|
110
|
+
# Exit a parse tree produced by GrammarParser#exitForceTransitionDefinition.
|
111
|
+
def exitExitForceTransitionDefinition(
|
112
|
+
self, ctx: GrammarParser.ExitForceTransitionDefinitionContext
|
113
|
+
):
|
114
|
+
pass
|
115
|
+
|
116
|
+
# Enter a parse tree produced by GrammarParser#normalAllForceTransitionDefinition.
|
117
|
+
def enterNormalAllForceTransitionDefinition(
|
118
|
+
self, ctx: GrammarParser.NormalAllForceTransitionDefinitionContext
|
119
|
+
):
|
120
|
+
pass
|
121
|
+
|
122
|
+
# Exit a parse tree produced by GrammarParser#normalAllForceTransitionDefinition.
|
123
|
+
def exitNormalAllForceTransitionDefinition(
|
124
|
+
self, ctx: GrammarParser.NormalAllForceTransitionDefinitionContext
|
125
|
+
):
|
126
|
+
pass
|
127
|
+
|
128
|
+
# Enter a parse tree produced by GrammarParser#exitAllForceTransitionDefinition.
|
129
|
+
def enterExitAllForceTransitionDefinition(
|
130
|
+
self, ctx: GrammarParser.ExitAllForceTransitionDefinitionContext
|
131
|
+
):
|
132
|
+
pass
|
133
|
+
|
134
|
+
# Exit a parse tree produced by GrammarParser#exitAllForceTransitionDefinition.
|
135
|
+
def exitExitAllForceTransitionDefinition(
|
136
|
+
self, ctx: GrammarParser.ExitAllForceTransitionDefinitionContext
|
137
|
+
):
|
138
|
+
pass
|
139
|
+
|
140
|
+
# Enter a parse tree produced by GrammarParser#enterOperations.
|
141
|
+
def enterEnterOperations(self, ctx: GrammarParser.EnterOperationsContext):
|
142
|
+
pass
|
143
|
+
|
144
|
+
# Exit a parse tree produced by GrammarParser#enterOperations.
|
145
|
+
def exitEnterOperations(self, ctx: GrammarParser.EnterOperationsContext):
|
146
|
+
pass
|
147
|
+
|
148
|
+
# Enter a parse tree produced by GrammarParser#enterAbstractFunc.
|
149
|
+
def enterEnterAbstractFunc(self, ctx: GrammarParser.EnterAbstractFuncContext):
|
150
|
+
pass
|
151
|
+
|
152
|
+
# Exit a parse tree produced by GrammarParser#enterAbstractFunc.
|
153
|
+
def exitEnterAbstractFunc(self, ctx: GrammarParser.EnterAbstractFuncContext):
|
154
|
+
pass
|
155
|
+
|
156
|
+
# Enter a parse tree produced by GrammarParser#exitOperations.
|
157
|
+
def enterExitOperations(self, ctx: GrammarParser.ExitOperationsContext):
|
158
|
+
pass
|
159
|
+
|
160
|
+
# Exit a parse tree produced by GrammarParser#exitOperations.
|
161
|
+
def exitExitOperations(self, ctx: GrammarParser.ExitOperationsContext):
|
162
|
+
pass
|
163
|
+
|
164
|
+
# Enter a parse tree produced by GrammarParser#exitAbstractFunc.
|
165
|
+
def enterExitAbstractFunc(self, ctx: GrammarParser.ExitAbstractFuncContext):
|
166
|
+
pass
|
167
|
+
|
168
|
+
# Exit a parse tree produced by GrammarParser#exitAbstractFunc.
|
169
|
+
def exitExitAbstractFunc(self, ctx: GrammarParser.ExitAbstractFuncContext):
|
170
|
+
pass
|
171
|
+
|
172
|
+
# Enter a parse tree produced by GrammarParser#duringOperations.
|
173
|
+
def enterDuringOperations(self, ctx: GrammarParser.DuringOperationsContext):
|
174
|
+
pass
|
175
|
+
|
176
|
+
# Exit a parse tree produced by GrammarParser#duringOperations.
|
177
|
+
def exitDuringOperations(self, ctx: GrammarParser.DuringOperationsContext):
|
178
|
+
pass
|
179
|
+
|
180
|
+
# Enter a parse tree produced by GrammarParser#duringAbstractFunc.
|
181
|
+
def enterDuringAbstractFunc(self, ctx: GrammarParser.DuringAbstractFuncContext):
|
182
|
+
pass
|
183
|
+
|
184
|
+
# Exit a parse tree produced by GrammarParser#duringAbstractFunc.
|
185
|
+
def exitDuringAbstractFunc(self, ctx: GrammarParser.DuringAbstractFuncContext):
|
186
|
+
pass
|
187
|
+
|
188
|
+
# Enter a parse tree produced by GrammarParser#duringAspectOperations.
|
189
|
+
def enterDuringAspectOperations(
|
190
|
+
self, ctx: GrammarParser.DuringAspectOperationsContext
|
191
|
+
):
|
192
|
+
pass
|
193
|
+
|
194
|
+
# Exit a parse tree produced by GrammarParser#duringAspectOperations.
|
195
|
+
def exitDuringAspectOperations(
|
196
|
+
self, ctx: GrammarParser.DuringAspectOperationsContext
|
197
|
+
):
|
198
|
+
pass
|
199
|
+
|
200
|
+
# Enter a parse tree produced by GrammarParser#duringAspectAbstractFunc.
|
201
|
+
def enterDuringAspectAbstractFunc(
|
202
|
+
self, ctx: GrammarParser.DuringAspectAbstractFuncContext
|
203
|
+
):
|
204
|
+
pass
|
205
|
+
|
206
|
+
# Exit a parse tree produced by GrammarParser#duringAspectAbstractFunc.
|
207
|
+
def exitDuringAspectAbstractFunc(
|
208
|
+
self, ctx: GrammarParser.DuringAspectAbstractFuncContext
|
209
|
+
):
|
210
|
+
pass
|
211
|
+
|
212
|
+
# Enter a parse tree produced by GrammarParser#operation_assignment.
|
213
|
+
def enterOperation_assignment(self, ctx: GrammarParser.Operation_assignmentContext):
|
214
|
+
pass
|
215
|
+
|
216
|
+
# Exit a parse tree produced by GrammarParser#operation_assignment.
|
217
|
+
def exitOperation_assignment(self, ctx: GrammarParser.Operation_assignmentContext):
|
218
|
+
pass
|
219
|
+
|
220
|
+
# Enter a parse tree produced by GrammarParser#operational_statement.
|
221
|
+
def enterOperational_statement(
|
222
|
+
self, ctx: GrammarParser.Operational_statementContext
|
223
|
+
):
|
224
|
+
pass
|
225
|
+
|
226
|
+
# Exit a parse tree produced by GrammarParser#operational_statement.
|
227
|
+
def exitOperational_statement(
|
228
|
+
self, ctx: GrammarParser.Operational_statementContext
|
229
|
+
):
|
230
|
+
pass
|
231
|
+
|
232
|
+
# Enter a parse tree produced by GrammarParser#state_inner_statement.
|
233
|
+
def enterState_inner_statement(
|
234
|
+
self, ctx: GrammarParser.State_inner_statementContext
|
235
|
+
):
|
236
|
+
pass
|
237
|
+
|
238
|
+
# Exit a parse tree produced by GrammarParser#state_inner_statement.
|
239
|
+
def exitState_inner_statement(
|
240
|
+
self, ctx: GrammarParser.State_inner_statementContext
|
241
|
+
):
|
242
|
+
pass
|
243
|
+
|
244
|
+
# Enter a parse tree produced by GrammarParser#operation_program.
|
245
|
+
def enterOperation_program(self, ctx: GrammarParser.Operation_programContext):
|
246
|
+
pass
|
247
|
+
|
248
|
+
# Exit a parse tree produced by GrammarParser#operation_program.
|
249
|
+
def exitOperation_program(self, ctx: GrammarParser.Operation_programContext):
|
250
|
+
pass
|
251
|
+
|
252
|
+
# Enter a parse tree produced by GrammarParser#preamble_program.
|
253
|
+
def enterPreamble_program(self, ctx: GrammarParser.Preamble_programContext):
|
254
|
+
pass
|
255
|
+
|
256
|
+
# Exit a parse tree produced by GrammarParser#preamble_program.
|
257
|
+
def exitPreamble_program(self, ctx: GrammarParser.Preamble_programContext):
|
258
|
+
pass
|
259
|
+
|
260
|
+
# Enter a parse tree produced by GrammarParser#preamble_statement.
|
261
|
+
def enterPreamble_statement(self, ctx: GrammarParser.Preamble_statementContext):
|
262
|
+
pass
|
263
|
+
|
264
|
+
# Exit a parse tree produced by GrammarParser#preamble_statement.
|
265
|
+
def exitPreamble_statement(self, ctx: GrammarParser.Preamble_statementContext):
|
266
|
+
pass
|
267
|
+
|
268
|
+
# Enter a parse tree produced by GrammarParser#initial_assignment.
|
269
|
+
def enterInitial_assignment(self, ctx: GrammarParser.Initial_assignmentContext):
|
270
|
+
pass
|
271
|
+
|
272
|
+
# Exit a parse tree produced by GrammarParser#initial_assignment.
|
273
|
+
def exitInitial_assignment(self, ctx: GrammarParser.Initial_assignmentContext):
|
274
|
+
pass
|
275
|
+
|
276
|
+
# Enter a parse tree produced by GrammarParser#constant_definition.
|
277
|
+
def enterConstant_definition(self, ctx: GrammarParser.Constant_definitionContext):
|
278
|
+
pass
|
279
|
+
|
280
|
+
# Exit a parse tree produced by GrammarParser#constant_definition.
|
281
|
+
def exitConstant_definition(self, ctx: GrammarParser.Constant_definitionContext):
|
282
|
+
pass
|
283
|
+
|
284
|
+
# Enter a parse tree produced by GrammarParser#operational_assignment.
|
285
|
+
def enterOperational_assignment(
|
286
|
+
self, ctx: GrammarParser.Operational_assignmentContext
|
287
|
+
):
|
288
|
+
pass
|
289
|
+
|
290
|
+
# Exit a parse tree produced by GrammarParser#operational_assignment.
|
291
|
+
def exitOperational_assignment(
|
292
|
+
self, ctx: GrammarParser.Operational_assignmentContext
|
293
|
+
):
|
294
|
+
pass
|
295
|
+
|
296
|
+
# Enter a parse tree produced by GrammarParser#generic_expression.
|
297
|
+
def enterGeneric_expression(self, ctx: GrammarParser.Generic_expressionContext):
|
298
|
+
pass
|
299
|
+
|
300
|
+
# Exit a parse tree produced by GrammarParser#generic_expression.
|
301
|
+
def exitGeneric_expression(self, ctx: GrammarParser.Generic_expressionContext):
|
302
|
+
pass
|
303
|
+
|
304
|
+
# Enter a parse tree produced by GrammarParser#funcExprInit.
|
305
|
+
def enterFuncExprInit(self, ctx: GrammarParser.FuncExprInitContext):
|
306
|
+
pass
|
307
|
+
|
308
|
+
# Exit a parse tree produced by GrammarParser#funcExprInit.
|
309
|
+
def exitFuncExprInit(self, ctx: GrammarParser.FuncExprInitContext):
|
310
|
+
pass
|
311
|
+
|
312
|
+
# Enter a parse tree produced by GrammarParser#unaryExprInit.
|
313
|
+
def enterUnaryExprInit(self, ctx: GrammarParser.UnaryExprInitContext):
|
314
|
+
pass
|
315
|
+
|
316
|
+
# Exit a parse tree produced by GrammarParser#unaryExprInit.
|
317
|
+
def exitUnaryExprInit(self, ctx: GrammarParser.UnaryExprInitContext):
|
318
|
+
pass
|
319
|
+
|
320
|
+
# Enter a parse tree produced by GrammarParser#binaryExprInit.
|
321
|
+
def enterBinaryExprInit(self, ctx: GrammarParser.BinaryExprInitContext):
|
322
|
+
pass
|
323
|
+
|
324
|
+
# Exit a parse tree produced by GrammarParser#binaryExprInit.
|
325
|
+
def exitBinaryExprInit(self, ctx: GrammarParser.BinaryExprInitContext):
|
326
|
+
pass
|
327
|
+
|
328
|
+
# Enter a parse tree produced by GrammarParser#literalExprInit.
|
329
|
+
def enterLiteralExprInit(self, ctx: GrammarParser.LiteralExprInitContext):
|
330
|
+
pass
|
331
|
+
|
332
|
+
# Exit a parse tree produced by GrammarParser#literalExprInit.
|
333
|
+
def exitLiteralExprInit(self, ctx: GrammarParser.LiteralExprInitContext):
|
334
|
+
pass
|
335
|
+
|
336
|
+
# Enter a parse tree produced by GrammarParser#mathConstExprInit.
|
337
|
+
def enterMathConstExprInit(self, ctx: GrammarParser.MathConstExprInitContext):
|
338
|
+
pass
|
339
|
+
|
340
|
+
# Exit a parse tree produced by GrammarParser#mathConstExprInit.
|
341
|
+
def exitMathConstExprInit(self, ctx: GrammarParser.MathConstExprInitContext):
|
342
|
+
pass
|
343
|
+
|
344
|
+
# Enter a parse tree produced by GrammarParser#parenExprInit.
|
345
|
+
def enterParenExprInit(self, ctx: GrammarParser.ParenExprInitContext):
|
346
|
+
pass
|
347
|
+
|
348
|
+
# Exit a parse tree produced by GrammarParser#parenExprInit.
|
349
|
+
def exitParenExprInit(self, ctx: GrammarParser.ParenExprInitContext):
|
350
|
+
pass
|
351
|
+
|
352
|
+
# Enter a parse tree produced by GrammarParser#unaryExprNum.
|
353
|
+
def enterUnaryExprNum(self, ctx: GrammarParser.UnaryExprNumContext):
|
354
|
+
pass
|
355
|
+
|
356
|
+
# Exit a parse tree produced by GrammarParser#unaryExprNum.
|
357
|
+
def exitUnaryExprNum(self, ctx: GrammarParser.UnaryExprNumContext):
|
358
|
+
pass
|
359
|
+
|
360
|
+
# Enter a parse tree produced by GrammarParser#funcExprNum.
|
361
|
+
def enterFuncExprNum(self, ctx: GrammarParser.FuncExprNumContext):
|
362
|
+
pass
|
363
|
+
|
364
|
+
# Exit a parse tree produced by GrammarParser#funcExprNum.
|
365
|
+
def exitFuncExprNum(self, ctx: GrammarParser.FuncExprNumContext):
|
366
|
+
pass
|
367
|
+
|
368
|
+
# Enter a parse tree produced by GrammarParser#conditionalCStyleExprNum.
|
369
|
+
def enterConditionalCStyleExprNum(
|
370
|
+
self, ctx: GrammarParser.ConditionalCStyleExprNumContext
|
371
|
+
):
|
372
|
+
pass
|
373
|
+
|
374
|
+
# Exit a parse tree produced by GrammarParser#conditionalCStyleExprNum.
|
375
|
+
def exitConditionalCStyleExprNum(
|
376
|
+
self, ctx: GrammarParser.ConditionalCStyleExprNumContext
|
377
|
+
):
|
378
|
+
pass
|
379
|
+
|
380
|
+
# Enter a parse tree produced by GrammarParser#binaryExprNum.
|
381
|
+
def enterBinaryExprNum(self, ctx: GrammarParser.BinaryExprNumContext):
|
382
|
+
pass
|
383
|
+
|
384
|
+
# Exit a parse tree produced by GrammarParser#binaryExprNum.
|
385
|
+
def exitBinaryExprNum(self, ctx: GrammarParser.BinaryExprNumContext):
|
386
|
+
pass
|
387
|
+
|
388
|
+
# Enter a parse tree produced by GrammarParser#literalExprNum.
|
389
|
+
def enterLiteralExprNum(self, ctx: GrammarParser.LiteralExprNumContext):
|
390
|
+
pass
|
391
|
+
|
392
|
+
# Exit a parse tree produced by GrammarParser#literalExprNum.
|
393
|
+
def exitLiteralExprNum(self, ctx: GrammarParser.LiteralExprNumContext):
|
394
|
+
pass
|
395
|
+
|
396
|
+
# Enter a parse tree produced by GrammarParser#mathConstExprNum.
|
397
|
+
def enterMathConstExprNum(self, ctx: GrammarParser.MathConstExprNumContext):
|
398
|
+
pass
|
399
|
+
|
400
|
+
# Exit a parse tree produced by GrammarParser#mathConstExprNum.
|
401
|
+
def exitMathConstExprNum(self, ctx: GrammarParser.MathConstExprNumContext):
|
402
|
+
pass
|
403
|
+
|
404
|
+
# Enter a parse tree produced by GrammarParser#parenExprNum.
|
405
|
+
def enterParenExprNum(self, ctx: GrammarParser.ParenExprNumContext):
|
406
|
+
pass
|
407
|
+
|
408
|
+
# Exit a parse tree produced by GrammarParser#parenExprNum.
|
409
|
+
def exitParenExprNum(self, ctx: GrammarParser.ParenExprNumContext):
|
410
|
+
pass
|
411
|
+
|
412
|
+
# Enter a parse tree produced by GrammarParser#idExprNum.
|
413
|
+
def enterIdExprNum(self, ctx: GrammarParser.IdExprNumContext):
|
414
|
+
pass
|
415
|
+
|
416
|
+
# Exit a parse tree produced by GrammarParser#idExprNum.
|
417
|
+
def exitIdExprNum(self, ctx: GrammarParser.IdExprNumContext):
|
418
|
+
pass
|
419
|
+
|
420
|
+
# Enter a parse tree produced by GrammarParser#binaryExprFromCondCond.
|
421
|
+
def enterBinaryExprFromCondCond(
|
422
|
+
self, ctx: GrammarParser.BinaryExprFromCondCondContext
|
423
|
+
):
|
424
|
+
pass
|
425
|
+
|
426
|
+
# Exit a parse tree produced by GrammarParser#binaryExprFromCondCond.
|
427
|
+
def exitBinaryExprFromCondCond(
|
428
|
+
self, ctx: GrammarParser.BinaryExprFromCondCondContext
|
429
|
+
):
|
430
|
+
pass
|
431
|
+
|
432
|
+
# Enter a parse tree produced by GrammarParser#binaryExprCond.
|
433
|
+
def enterBinaryExprCond(self, ctx: GrammarParser.BinaryExprCondContext):
|
434
|
+
pass
|
435
|
+
|
436
|
+
# Exit a parse tree produced by GrammarParser#binaryExprCond.
|
437
|
+
def exitBinaryExprCond(self, ctx: GrammarParser.BinaryExprCondContext):
|
438
|
+
pass
|
439
|
+
|
440
|
+
# Enter a parse tree produced by GrammarParser#binaryExprFromNumCond.
|
441
|
+
def enterBinaryExprFromNumCond(
|
442
|
+
self, ctx: GrammarParser.BinaryExprFromNumCondContext
|
443
|
+
):
|
444
|
+
pass
|
445
|
+
|
446
|
+
# Exit a parse tree produced by GrammarParser#binaryExprFromNumCond.
|
447
|
+
def exitBinaryExprFromNumCond(
|
448
|
+
self, ctx: GrammarParser.BinaryExprFromNumCondContext
|
449
|
+
):
|
450
|
+
pass
|
451
|
+
|
452
|
+
# Enter a parse tree produced by GrammarParser#unaryExprCond.
|
453
|
+
def enterUnaryExprCond(self, ctx: GrammarParser.UnaryExprCondContext):
|
454
|
+
pass
|
455
|
+
|
456
|
+
# Exit a parse tree produced by GrammarParser#unaryExprCond.
|
457
|
+
def exitUnaryExprCond(self, ctx: GrammarParser.UnaryExprCondContext):
|
458
|
+
pass
|
459
|
+
|
460
|
+
# Enter a parse tree produced by GrammarParser#parenExprCond.
|
461
|
+
def enterParenExprCond(self, ctx: GrammarParser.ParenExprCondContext):
|
462
|
+
pass
|
463
|
+
|
464
|
+
# Exit a parse tree produced by GrammarParser#parenExprCond.
|
465
|
+
def exitParenExprCond(self, ctx: GrammarParser.ParenExprCondContext):
|
466
|
+
pass
|
467
|
+
|
468
|
+
# Enter a parse tree produced by GrammarParser#literalExprCond.
|
469
|
+
def enterLiteralExprCond(self, ctx: GrammarParser.LiteralExprCondContext):
|
470
|
+
pass
|
471
|
+
|
472
|
+
# Exit a parse tree produced by GrammarParser#literalExprCond.
|
473
|
+
def exitLiteralExprCond(self, ctx: GrammarParser.LiteralExprCondContext):
|
474
|
+
pass
|
475
|
+
|
476
|
+
# Enter a parse tree produced by GrammarParser#conditionalCStyleCondNum.
|
477
|
+
def enterConditionalCStyleCondNum(
|
478
|
+
self, ctx: GrammarParser.ConditionalCStyleCondNumContext
|
479
|
+
):
|
480
|
+
pass
|
481
|
+
|
482
|
+
# Exit a parse tree produced by GrammarParser#conditionalCStyleCondNum.
|
483
|
+
def exitConditionalCStyleCondNum(
|
484
|
+
self, ctx: GrammarParser.ConditionalCStyleCondNumContext
|
485
|
+
):
|
486
|
+
pass
|
487
|
+
|
488
|
+
# Enter a parse tree produced by GrammarParser#num_literal.
|
489
|
+
def enterNum_literal(self, ctx: GrammarParser.Num_literalContext):
|
490
|
+
pass
|
491
|
+
|
492
|
+
# Exit a parse tree produced by GrammarParser#num_literal.
|
493
|
+
def exitNum_literal(self, ctx: GrammarParser.Num_literalContext):
|
494
|
+
pass
|
495
|
+
|
496
|
+
# Enter a parse tree produced by GrammarParser#bool_literal.
|
497
|
+
def enterBool_literal(self, ctx: GrammarParser.Bool_literalContext):
|
498
|
+
pass
|
499
|
+
|
500
|
+
# Exit a parse tree produced by GrammarParser#bool_literal.
|
501
|
+
def exitBool_literal(self, ctx: GrammarParser.Bool_literalContext):
|
502
|
+
pass
|
503
|
+
|
504
|
+
# Enter a parse tree produced by GrammarParser#math_const.
|
505
|
+
def enterMath_const(self, ctx: GrammarParser.Math_constContext):
|
506
|
+
pass
|
507
|
+
|
508
|
+
# Exit a parse tree produced by GrammarParser#math_const.
|
509
|
+
def exitMath_const(self, ctx: GrammarParser.Math_constContext):
|
510
|
+
pass
|
511
|
+
|
512
|
+
# Enter a parse tree produced by GrammarParser#chain_id.
|
513
|
+
def enterChain_id(self, ctx: GrammarParser.Chain_idContext):
|
514
|
+
pass
|
515
|
+
|
516
|
+
# Exit a parse tree produced by GrammarParser#chain_id.
|
517
|
+
def exitChain_id(self, ctx: GrammarParser.Chain_idContext):
|
518
|
+
pass
|
519
|
+
|
520
|
+
|
521
|
+
del GrammarParser
|