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


class sdl92Lexer(Lexer):

    grammarFileName = "sdl92.g"
Maxime Perrotin's avatar
Maxime Perrotin committed
244
245
    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
246
247
248
249
250
251
252

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


253
254
255
256
257
258
259
260
261
        self.dfa11 = self.DFA11(
            self, 11,
            eot = self.DFA11_eot,
            eof = self.DFA11_eof,
            min = self.DFA11_min,
            max = self.DFA11_max,
            accept = self.DFA11_accept,
            special = self.DFA11_special,
            transition = self.DFA11_transition
Maxime Perrotin's avatar
Maxime Perrotin committed
262
263
            )

264
265
266
267
268
269
270
271
272
        self.dfa18 = self.DFA18(
            self, 18,
            eot = self.DFA18_eot,
            eof = self.DFA18_eof,
            min = self.DFA18_min,
            max = self.DFA18_max,
            accept = self.DFA18_accept,
            special = self.DFA18_special,
            transition = self.DFA18_transition
Maxime Perrotin's avatar
Maxime Perrotin committed
273
274
275
276
277
278
279
            )






280
281
    # $ANTLR start "T__223"
    def mT__223(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
282
283

        try:
284
            _type = T__223
Maxime Perrotin's avatar
Maxime Perrotin committed
285
286
            _channel = DEFAULT_CHANNEL

287
288
            # sdl92.g:7:8: ( ':' )
            # sdl92.g:7:10: ':'
Maxime Perrotin's avatar
Maxime Perrotin committed
289
            pass 
290
            self.match(58)
Maxime Perrotin's avatar
Maxime Perrotin committed
291
292
293
294
295
296
297
298
299
300



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

        finally:

            pass

301
    # $ANTLR end "T__223"
Maxime Perrotin's avatar
Maxime Perrotin committed
302
303
304



305
306
    # $ANTLR start "T__224"
    def mT__224(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
307
308

        try:
309
            _type = T__224
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
            _channel = DEFAULT_CHANNEL

            # sdl92.g:8:8: ( '->' )
            # sdl92.g:8:10: '->'
            pass 
            self.match("->")



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

        finally:

            pass

326
    # $ANTLR end "T__224"
327
328
329



330
331
    # $ANTLR start "T__225"
    def mT__225(self, ):
332
333

        try:
334
            _type = T__225
Maxime Perrotin's avatar
Maxime Perrotin committed
335
336
            _channel = DEFAULT_CHANNEL

337
338
            # sdl92.g:9:8: ( '!' )
            # sdl92.g:9:10: '!'
Maxime Perrotin's avatar
Maxime Perrotin committed
339
340
341
342
343
344
345
346
347
348
349
350
            pass 
            self.match(33)



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

        finally:

            pass

351
    # $ANTLR end "T__225"
Maxime Perrotin's avatar
Maxime Perrotin committed
352
353
354



355
356
    # $ANTLR start "T__226"
    def mT__226(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
357
358

        try:
359
            _type = T__226
Maxime Perrotin's avatar
Maxime Perrotin committed
360
361
            _channel = DEFAULT_CHANNEL

362
363
            # sdl92.g:10:8: ( '(.' )
            # sdl92.g:10:10: '(.'
Maxime Perrotin's avatar
Maxime Perrotin committed
364
365
366
367
368
369
370
371
372
373
374
375
            pass 
            self.match("(.")



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

        finally:

            pass

376
    # $ANTLR end "T__226"
Maxime Perrotin's avatar
Maxime Perrotin committed
377
378
379



380
381
    # $ANTLR start "T__227"
    def mT__227(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
382
383

        try:
384
            _type = T__227
Maxime Perrotin's avatar
Maxime Perrotin committed
385
386
            _channel = DEFAULT_CHANNEL

387
388
            # sdl92.g:11:8: ( '.)' )
            # sdl92.g:11:10: '.)'
Maxime Perrotin's avatar
Maxime Perrotin committed
389
390
391
392
393
394
395
396
397
398
399
400
            pass 
            self.match(".)")



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

        finally:

            pass

401
    # $ANTLR end "T__227"
Maxime Perrotin's avatar
Maxime Perrotin committed
402
403
404



405
406
    # $ANTLR start "T__228"
    def mT__228(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
407
408

        try:
409
            _type = T__228
Maxime Perrotin's avatar
Maxime Perrotin committed
410
411
            _channel = DEFAULT_CHANNEL

412
413
            # sdl92.g:12:8: ( '/* CIF' )
            # sdl92.g:12:10: '/* CIF'
Maxime Perrotin's avatar
Maxime Perrotin committed
414
            pass 
415
            self.match("/* CIF")
Maxime Perrotin's avatar
Maxime Perrotin committed
416
417
418
419
420
421
422
423
424
425



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

        finally:

            pass

426
    # $ANTLR end "T__228"
Maxime Perrotin's avatar
Maxime Perrotin committed
427
428
429



430
431
    # $ANTLR start "T__229"
    def mT__229(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
432
433

        try:
434
            _type = T__229
Maxime Perrotin's avatar
Maxime Perrotin committed
435
436
            _channel = DEFAULT_CHANNEL

437
438
            # sdl92.g:13:8: ( '*/' )
            # sdl92.g:13:10: '*/'
Maxime Perrotin's avatar
Maxime Perrotin committed
439
440
441
442
443
444
445
446
447
448
449
450
            pass 
            self.match("*/")



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

        finally:

            pass

451
    # $ANTLR end "T__229"
Maxime Perrotin's avatar
Maxime Perrotin committed
452
453
454
455
456
457
458
459
460
461



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

        try:
            _type = ASSIG_OP
            _channel = DEFAULT_CHANNEL

462
463
            # sdl92.g:1441:17: ( ':=' )
            # sdl92.g:1441:25: ':='
Maxime Perrotin's avatar
Maxime Perrotin committed
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
            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

487
488
            # sdl92.g:1442:17: ( '{' )
            # sdl92.g:1442:25: '{'
Maxime Perrotin's avatar
Maxime Perrotin committed
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
            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

512
513
            # sdl92.g:1443:17: ( '}' )
            # sdl92.g:1443:25: '}'
Maxime Perrotin's avatar
Maxime Perrotin committed
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
            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

537
538
            # sdl92.g:1444:17: ( '(' )
            # sdl92.g:1444:25: '('
Maxime Perrotin's avatar
Maxime Perrotin committed
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
            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

562
563
            # sdl92.g:1445:17: ( ')' )
            # sdl92.g:1445:25: ')'
Maxime Perrotin's avatar
Maxime Perrotin committed
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
            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

587
588
            # sdl92.g:1446:17: ( ',' )
            # sdl92.g:1446:25: ','
Maxime Perrotin's avatar
Maxime Perrotin committed
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
            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

612
613
            # sdl92.g:1447:17: ( ';' )
            # sdl92.g:1447:25: ';'
Maxime Perrotin's avatar
Maxime Perrotin committed
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
            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

637
638
            # sdl92.g:1448:17: ( '-' )
            # sdl92.g:1448:25: '-'
Maxime Perrotin's avatar
Maxime Perrotin committed
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
            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

662
663
            # sdl92.g:1449:17: ( A N Y )
            # sdl92.g:1449:25: A N Y
Maxime Perrotin's avatar
Maxime Perrotin committed
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
            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

689
690
            # sdl92.g:1450:17: ( '*' )
            # sdl92.g:1450:25: '*'
Maxime Perrotin's avatar
Maxime Perrotin committed
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
            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

714
715
            # sdl92.g:1451:17: ( D C L )
            # sdl92.g:1451:25: D C L
Maxime Perrotin's avatar
Maxime Perrotin committed
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
            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

741
742
            # sdl92.g:1452:17: ( E N D )
            # sdl92.g:1452:25: E N D
Maxime Perrotin's avatar
Maxime Perrotin committed
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
            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

768
769
            # sdl92.g:1453:17: ( K E E P )
            # sdl92.g:1453:25: K E E P
Maxime Perrotin's avatar
Maxime Perrotin committed
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
            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

796
797
            # sdl92.g:1454:17: ( P A R A M N A M E S )
            # sdl92.g:1454:25: P A R A M N A M E S
Maxime Perrotin's avatar
Maxime Perrotin committed
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
            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

830
831
            # sdl92.g:1455:17: ( S P E C I F I C )
            # sdl92.g:1455:25: S P E C I F I C
Maxime Perrotin's avatar
Maxime Perrotin committed
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
            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

862
863
            # sdl92.g:1456:17: ( G E O D E )
            # sdl92.g:1456:25: G E O D E
Maxime Perrotin's avatar
Maxime Perrotin committed
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
            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

891
892
            # sdl92.g:1457:17: ( H Y P E R L I N K )
            # sdl92.g:1457:25: H Y P E R L I N K
Maxime Perrotin's avatar
Maxime Perrotin committed
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
            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

924
925
            # sdl92.g:1458:17: ( E N D T E X T )
            # sdl92.g:1458:25: E N D T E X T
Maxime Perrotin's avatar
Maxime Perrotin committed
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
            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

955
956
            # sdl92.g:1459:17: ( R E T U R N )
            # sdl92.g:1459:25: R E T U R N
Maxime Perrotin's avatar
Maxime Perrotin committed
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
            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"



978
979
980
981
982
983
984
    # $ANTLR start "RETURNS"
    def mRETURNS(self, ):

        try:
            _type = RETURNS
            _channel = DEFAULT_CHANNEL

985
986
            # sdl92.g:1460:17: ( R E T U R N S )
            # sdl92.g:1460:25: R E T U R N S
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
            pass 
            self.mR()
            self.mE()
            self.mT()
            self.mU()
            self.mR()
            self.mN()
            self.mS()



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