sdl92Lexer.py 186 KB
Newer Older
1
# $ANTLR 3.1.3 Mar 17, 2009 19:23:44 sdl92.g 2014-10-19 08:49:52
Maxime Perrotin's avatar
Maxime Perrotin committed
2
3
4
5
6
7
8
9
10
11

import sys
from antlr3 import *
from antlr3.compat import set, frozenset


# for convenience in actions
HIDDEN = BaseRecognizer.HIDDEN

# token types
12
13
14
15
16
17
18
19
20
21
NUMBER_OF_INSTANCES=60
COMMENT2=210
MANTISSA=167
ROUTE=79
MOD=159
GROUND=44
PARAM=65
NOT=161
SEQOF=82
TEXTAREA_CONTENT=103
Maxime Perrotin's avatar
Maxime Perrotin committed
22
EOF=-1
dbarbera's avatar
dbarbera committed
23
ACTION=4
24
25
26
27
28
29
IMPORT=171
CREATE=148
FPAR=43
NEXTSTATE=59
RETURN=78
THIS=149
dbarbera's avatar
dbarbera committed
30
CHANNEL=13
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
VIAPATH=113
ENDCONNECTION=126
EXPORT=32
EQ=142
INFORMAL_TEXT=49
GEODE=175
D=184
E=187
F=194
GE=147
G=195
A=181
IMPLIES=152
B=203
C=185
L=186
M=191
N=182
O=196
TERMINATOR=100
H=197
I=193
ELSE=27
J=204
K=188
U=200
T=198
W=202
STOP=91
V=201
INT=124
Q=211
P=189
S=192
VALUE=109
R=190
Y=183
X=199
FI=35
Z=212
MINUS_INFINITY=166
WS=209
OUT=132
NONE=133
INPUT_NONE=52
CONSTANT=22
GT=144
CALL=138
END=177
FLOATING_LABEL=41
81
T__215=215
82
IFTHENELSE=47
83
T__216=216
84
85
T__213=213
T__214=214
86
T__219=219
87
88
T__217=217
T__218=218
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
INPUT=51
ENDSUBSTRUCTURE=131
FLOAT=40
SUBSTRUCTURE=130
ASTERISK=129
PAREN=68
INOUT=50
STR=206
STIMULUS=90
SELECTOR=81
THEN=104
ENDDECISION=140
OPEN_RANGE=62
SIGNAL=85
ENDSYSTEM=114
PLUS=155
dbarbera's avatar
dbarbera committed
105
CHOICE=14
106
107
TASK_BODY=99
PARAMS=67
dbarbera's avatar
dbarbera committed
108
CLOSED_RANGE=16
109
110
111
112
113
114
115
116
117
118
119
STATE=88
STATELIST=89
TO=106
ASSIG_OP=178
SIGNALROUTE=119
ENDSYNTYPE=30
SORT=87
SET=84
TEXT=101
SEMI=127
TEXTAREA=102
dbarbera's avatar
dbarbera committed
120
121
BLOCK=12
CIF=15
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
START=125
DECISION=25
DIV=158
PROCESS=73
STRING=92
INPUTLIST=53
EXTERNAL=34
LT=145
EXPONENT=169
TRANSITION=107
ENDBLOCK=118
RESET=77
ENDNEWTYPE=29
SIGNAL_LIST=86
ENDTEXT=31
CONNECTION=21
SYSTEM=97
CONNECT=20
L_PAREN=135
PROCEDURE_CALL=71
BASE=168
dbarbera's avatar
dbarbera committed
143
COMMENT=17
144
145
SYNONYM=94
ENDALTERNATIVE=139
dbarbera's avatar
dbarbera committed
146
ARRAY=8
147
148
149
150
151
152
153
154
ACTIVE=170
ENDFOR=151
FIELD_NAME=37
OCTSTR=61
VIEW=172
EMPTYSTR=28
ENDCHANNEL=115
NULL=164
dbarbera's avatar
dbarbera committed
155
ANSWER=7
156
157
158
159
160
161
162
163
164
165
CONDITIONAL=19
PRIMARY=69
TASK=98
REFERENCED=121
ALPHA=207
SEQUENCE=83
VARIABLE=110
PRIORITY=134
SPECIFIC=174
OR=153
dbarbera's avatar
dbarbera committed
166
COMPOSITE_STATE=18
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
FIELD=36
USE=108
FROM=116
ENDPROCEDURE=123
FALSE=163
OUTPUT=63
SYNONYM_LIST=95
APPEND=157
L_BRACKET=179
DIGITS=26
HYPERLINK=45
NEWTYPE=58
Exponent=208
FOR=42
ENDSTATE=128
PROCEDURE_NAME=72
CONSTANTS=23
AND=120
ID=150
FLOAT2=39
IF=46
IN=48
PROVIDED=74
COMMA=137
dbarbera's avatar
dbarbera committed
191
ALL=5
192
193
194
195
ASNFILENAME=176
DOT=205
EXPRESSION=33
WITH=117
dbarbera's avatar
dbarbera committed
196
BITSTR=11
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
XOR=154
DASH=156
ENDPROCESS=122
DCL=24
VIA=112
RANGE=76
STRUCT=93
LITERAL=56
SAVE=80
FIELDS=38
REM=160
TRUE=162
JOIN=54
PROCEDURE=70
R_BRACKET=180
R_PAREN=136
OUTPUT_BODY=64
NEQ=143
ANY=141
QUESTION=75
LABEL=55
PLUS_INFINITY=165
PARAMNAMES=66
dbarbera's avatar
dbarbera committed
220
ASN1=9
221
222
223
KEEP=173
NEG=57
VARIABLES=111
dbarbera's avatar
dbarbera committed
224
225
ASSIGN=10
ALTERNATIVE=6
226
227
228
SYNTYPE=96
TIMER=105
LE=146
Maxime Perrotin's avatar
Maxime Perrotin committed
229
230
231
232
233


class sdl92Lexer(Lexer):

    grammarFileName = "sdl92.g"
Maxime Perrotin's avatar
Maxime Perrotin committed
234
235
    antlr_version = version_str_to_tuple("3.1.3 Mar 17, 2009 19:23:44")
    antlr_version_str = "3.1.3 Mar 17, 2009 19:23:44"
Maxime Perrotin's avatar
Maxime Perrotin committed
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269

    def __init__(self, input=None, state=None):
        if state is None:
            state = RecognizerSharedState()
        super(sdl92Lexer, self).__init__(input, state)


        self.dfa13 = self.DFA13(
            self, 13,
            eot = self.DFA13_eot,
            eof = self.DFA13_eof,
            min = self.DFA13_min,
            max = self.DFA13_max,
            accept = self.DFA13_accept,
            special = self.DFA13_special,
            transition = self.DFA13_transition
            )

        self.dfa20 = self.DFA20(
            self, 20,
            eot = self.DFA20_eot,
            eof = self.DFA20_eof,
            min = self.DFA20_min,
            max = self.DFA20_max,
            accept = self.DFA20_accept,
            special = self.DFA20_special,
            transition = self.DFA20_transition
            )






270
271
    # $ANTLR start "T__213"
    def mT__213(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
272
273

        try:
274
            _type = T__213
Maxime Perrotin's avatar
Maxime Perrotin committed
275
276
            _channel = DEFAULT_CHANNEL

277
278
            # sdl92.g:7:8: ( ':' )
            # sdl92.g:7:10: ':'
Maxime Perrotin's avatar
Maxime Perrotin committed
279
            pass 
280
            self.match(58)
Maxime Perrotin's avatar
Maxime Perrotin committed
281
282
283
284
285
286
287
288
289
290



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

291
    # $ANTLR end "T__213"
Maxime Perrotin's avatar
Maxime Perrotin committed
292
293
294



295
296
    # $ANTLR start "T__214"
    def mT__214(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
297
298

        try:
299
            _type = T__214
Maxime Perrotin's avatar
Maxime Perrotin committed
300
301
            _channel = DEFAULT_CHANNEL

302
303
            # sdl92.g:8:8: ( '!' )
            # sdl92.g:8:10: '!'
Maxime Perrotin's avatar
Maxime Perrotin committed
304
305
306
307
308
309
310
311
312
313
314
315
            pass 
            self.match(33)



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

316
    # $ANTLR end "T__214"
Maxime Perrotin's avatar
Maxime Perrotin committed
317
318
319



320
321
    # $ANTLR start "T__215"
    def mT__215(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
322
323

        try:
324
            _type = T__215
Maxime Perrotin's avatar
Maxime Perrotin committed
325
326
            _channel = DEFAULT_CHANNEL

327
328
            # sdl92.g:9:8: ( '(.' )
            # sdl92.g:9:10: '(.'
Maxime Perrotin's avatar
Maxime Perrotin committed
329
330
331
332
333
334
335
336
337
338
339
340
            pass 
            self.match("(.")



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

341
    # $ANTLR end "T__215"
Maxime Perrotin's avatar
Maxime Perrotin committed
342
343
344



345
346
    # $ANTLR start "T__216"
    def mT__216(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
347
348

        try:
349
            _type = T__216
Maxime Perrotin's avatar
Maxime Perrotin committed
350
351
            _channel = DEFAULT_CHANNEL

352
353
            # sdl92.g:10:8: ( '.)' )
            # sdl92.g:10:10: '.)'
Maxime Perrotin's avatar
Maxime Perrotin committed
354
355
356
357
358
359
360
361
362
363
364
365
            pass 
            self.match(".)")



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

366
    # $ANTLR end "T__216"
Maxime Perrotin's avatar
Maxime Perrotin committed
367
368
369



370
371
    # $ANTLR start "T__217"
    def mT__217(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
372
373

        try:
374
            _type = T__217
Maxime Perrotin's avatar
Maxime Perrotin committed
375
376
            _channel = DEFAULT_CHANNEL

377
378
            # sdl92.g:11:8: ( 'ERROR' )
            # sdl92.g:11:10: 'ERROR'
Maxime Perrotin's avatar
Maxime Perrotin committed
379
380
381
382
383
384
385
386
387
388
389
390
            pass 
            self.match("ERROR")



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

391
    # $ANTLR end "T__217"
Maxime Perrotin's avatar
Maxime Perrotin committed
392
393
394



395
396
    # $ANTLR start "T__218"
    def mT__218(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
397
398

        try:
399
            _type = T__218
Maxime Perrotin's avatar
Maxime Perrotin committed
400
401
            _channel = DEFAULT_CHANNEL

402
403
            # sdl92.g:12:8: ( '/* CIF' )
            # sdl92.g:12:10: '/* CIF'
Maxime Perrotin's avatar
Maxime Perrotin committed
404
            pass 
405
            self.match("/* CIF")
Maxime Perrotin's avatar
Maxime Perrotin committed
406
407
408
409
410
411
412
413
414
415



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

416
    # $ANTLR end "T__218"
Maxime Perrotin's avatar
Maxime Perrotin committed
417
418
419



420
421
    # $ANTLR start "T__219"
    def mT__219(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
422
423

        try:
424
            _type = T__219
Maxime Perrotin's avatar
Maxime Perrotin committed
425
426
            _channel = DEFAULT_CHANNEL

dbarbera's avatar
dbarbera committed
427
428
            # sdl92.g:13:8: ( '*/' )
            # sdl92.g:13:10: '*/'
Maxime Perrotin's avatar
Maxime Perrotin committed
429
430
431
432
433
434
435
436
437
438
439
440
            pass 
            self.match("*/")



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

441
    # $ANTLR end "T__219"
Maxime Perrotin's avatar
Maxime Perrotin committed
442
443
444
445
446
447
448
449
450
451



    # $ANTLR start "ASSIG_OP"
    def mASSIG_OP(self, ):

        try:
            _type = ASSIG_OP
            _channel = DEFAULT_CHANNEL

452
453
            # sdl92.g:1152:17: ( ':=' )
            # sdl92.g:1152:25: ':='
Maxime Perrotin's avatar
Maxime Perrotin committed
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
            pass 
            self.match(":=")



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "ASSIG_OP"



    # $ANTLR start "L_BRACKET"
    def mL_BRACKET(self, ):

        try:
            _type = L_BRACKET
            _channel = DEFAULT_CHANNEL

477
478
            # sdl92.g:1153:17: ( '{' )
            # sdl92.g:1153:25: '{'
Maxime Perrotin's avatar
Maxime Perrotin committed
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
            pass 
            self.match(123)



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "L_BRACKET"



    # $ANTLR start "R_BRACKET"
    def mR_BRACKET(self, ):

        try:
            _type = R_BRACKET
            _channel = DEFAULT_CHANNEL

502
503
            # sdl92.g:1154:17: ( '}' )
            # sdl92.g:1154:25: '}'
Maxime Perrotin's avatar
Maxime Perrotin committed
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
            pass 
            self.match(125)



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "R_BRACKET"



    # $ANTLR start "L_PAREN"
    def mL_PAREN(self, ):

        try:
            _type = L_PAREN
            _channel = DEFAULT_CHANNEL

527
528
            # sdl92.g:1155:17: ( '(' )
            # sdl92.g:1155:25: '('
Maxime Perrotin's avatar
Maxime Perrotin committed
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
            pass 
            self.match(40)



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "L_PAREN"



    # $ANTLR start "R_PAREN"
    def mR_PAREN(self, ):

        try:
            _type = R_PAREN
            _channel = DEFAULT_CHANNEL

552
553
            # sdl92.g:1156:17: ( ')' )
            # sdl92.g:1156:25: ')'
Maxime Perrotin's avatar
Maxime Perrotin committed
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
            pass 
            self.match(41)



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "R_PAREN"



    # $ANTLR start "COMMA"
    def mCOMMA(self, ):

        try:
            _type = COMMA
            _channel = DEFAULT_CHANNEL

577
578
            # sdl92.g:1157:17: ( ',' )
            # sdl92.g:1157:25: ','
Maxime Perrotin's avatar
Maxime Perrotin committed
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
            pass 
            self.match(44)



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "COMMA"



    # $ANTLR start "SEMI"
    def mSEMI(self, ):

        try:
            _type = SEMI
            _channel = DEFAULT_CHANNEL

602
603
            # sdl92.g:1158:17: ( ';' )
            # sdl92.g:1158:25: ';'
Maxime Perrotin's avatar
Maxime Perrotin committed
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
            pass 
            self.match(59)



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "SEMI"



    # $ANTLR start "DASH"
    def mDASH(self, ):

        try:
            _type = DASH
            _channel = DEFAULT_CHANNEL

627
628
            # sdl92.g:1159:17: ( '-' )
            # sdl92.g:1159:25: '-'
Maxime Perrotin's avatar
Maxime Perrotin committed
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
            pass 
            self.match(45)



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "DASH"



    # $ANTLR start "ANY"
    def mANY(self, ):

        try:
            _type = ANY
            _channel = DEFAULT_CHANNEL

652
653
            # sdl92.g:1160:17: ( A N Y )
            # sdl92.g:1160:25: A N Y
Maxime Perrotin's avatar
Maxime Perrotin committed
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
            pass 
            self.mA()
            self.mN()
            self.mY()



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "ANY"



    # $ANTLR start "ASTERISK"
    def mASTERISK(self, ):

        try:
            _type = ASTERISK
            _channel = DEFAULT_CHANNEL

679
680
            # sdl92.g:1161:17: ( '*' )
            # sdl92.g:1161:25: '*'
Maxime Perrotin's avatar
Maxime Perrotin committed
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
            pass 
            self.match(42)



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "ASTERISK"



    # $ANTLR start "DCL"
    def mDCL(self, ):

        try:
            _type = DCL
            _channel = DEFAULT_CHANNEL

704
705
            # sdl92.g:1162:17: ( D C L )
            # sdl92.g:1162:25: D C L
Maxime Perrotin's avatar
Maxime Perrotin committed
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
            pass 
            self.mD()
            self.mC()
            self.mL()



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "DCL"



    # $ANTLR start "END"
    def mEND(self, ):

        try:
            _type = END
            _channel = DEFAULT_CHANNEL

731
732
            # sdl92.g:1163:17: ( E N D )
            # sdl92.g:1163:25: E N D
Maxime Perrotin's avatar
Maxime Perrotin committed
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
            pass 
            self.mE()
            self.mN()
            self.mD()



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "END"



    # $ANTLR start "KEEP"
    def mKEEP(self, ):

        try:
            _type = KEEP
            _channel = DEFAULT_CHANNEL

758
759
            # sdl92.g:1164:17: ( K E E P )
            # sdl92.g:1164:25: K E E P
Maxime Perrotin's avatar
Maxime Perrotin committed
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
            pass 
            self.mK()
            self.mE()
            self.mE()
            self.mP()



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "KEEP"



    # $ANTLR start "PARAMNAMES"
    def mPARAMNAMES(self, ):

        try:
            _type = PARAMNAMES
            _channel = DEFAULT_CHANNEL

786
787
            # sdl92.g:1165:17: ( P A R A M N A M E S )
            # sdl92.g:1165:25: P A R A M N A M E S
Maxime Perrotin's avatar
Maxime Perrotin committed
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
            pass 
            self.mP()
            self.mA()
            self.mR()
            self.mA()
            self.mM()
            self.mN()
            self.mA()
            self.mM()
            self.mE()
            self.mS()



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "PARAMNAMES"



    # $ANTLR start "SPECIFIC"
    def mSPECIFIC(self, ):

        try:
            _type = SPECIFIC
            _channel = DEFAULT_CHANNEL

820
821
            # sdl92.g:1166:17: ( S P E C I F I C )
            # sdl92.g:1166:25: S P E C I F I C
Maxime Perrotin's avatar
Maxime Perrotin committed
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
            pass 
            self.mS()
            self.mP()
            self.mE()
            self.mC()
            self.mI()
            self.mF()
            self.mI()
            self.mC()



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "SPECIFIC"



    # $ANTLR start "GEODE"
    def mGEODE(self, ):

        try:
            _type = GEODE
            _channel = DEFAULT_CHANNEL

852
853
            # sdl92.g:1167:17: ( G E O D E )
            # sdl92.g:1167:25: G E O D E
Maxime Perrotin's avatar
Maxime Perrotin committed
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
            pass 
            self.mG()
            self.mE()
            self.mO()
            self.mD()
            self.mE()



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "GEODE"



    # $ANTLR start "HYPERLINK"
    def mHYPERLINK(self, ):

        try:
            _type = HYPERLINK
            _channel = DEFAULT_CHANNEL

881
882
            # sdl92.g:1168:17: ( H Y P E R L I N K )
            # sdl92.g:1168:25: H Y P E R L I N K
Maxime Perrotin's avatar
Maxime Perrotin committed
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
            pass 
            self.mH()
            self.mY()
            self.mP()
            self.mE()
            self.mR()
            self.mL()
            self.mI()
            self.mN()
            self.mK()



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "HYPERLINK"



    # $ANTLR start "ENDTEXT"
    def mENDTEXT(self, ):

        try:
            _type = ENDTEXT
            _channel = DEFAULT_CHANNEL

914
915
            # sdl92.g:1169:17: ( E N D T E X T )
            # sdl92.g:1169:25: E N D T E X T
Maxime Perrotin's avatar
Maxime Perrotin committed
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
            pass 
            self.mE()
            self.mN()
            self.mD()
            self.mT()
            self.mE()
            self.mX()
            self.mT()



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "ENDTEXT"



    # $ANTLR start "RETURN"
    def mRETURN(self, ):

        try:
            _type = RETURN
            _channel = DEFAULT_CHANNEL

945
946
            # sdl92.g:1170:17: ( R E T U R N )
            # sdl92.g:1170:25: R E T U R N
Maxime Perrotin's avatar
Maxime Perrotin committed
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
            pass 
            self.mR()
            self.mE()
            self.mT()
            self.mU()
            self.mR()
            self.mN()



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "RETURN"



    # $ANTLR start "TIMER"
    def mTIMER(self, ):

        try:
            _type = TIMER
            _channel = DEFAULT_CHANNEL

975
976
            # sdl92.g:1171:17: ( T I M E R )
            # sdl92.g:1171:25: T I M E R
Maxime Perrotin's avatar
Maxime Perrotin committed
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
            pass 
            self.mT()
            self.mI()
            self.mM()
            self.mE()
            self.mR()



            self._state.type = _type
            self._state.channel = _channel

        finally:

            pass

    # $ANTLR end "TIMER"



    # $ANTLR start "PROCESS"
    def mPROCESS(self, ):

        try: