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


class sdl92Lexer(Lexer):

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

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


252
253
254
255
256
257
258
259
260
        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
261
262
            )

263
264
265
266
267
268
269
270
271
        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
272
273
274
275
276
277
278
            )






279
280
    # $ANTLR start "T__222"
    def mT__222(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
281
282

        try:
283
            _type = T__222
Maxime Perrotin's avatar
Maxime Perrotin committed
284
285
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

300
    # $ANTLR end "T__222"
Maxime Perrotin's avatar
Maxime Perrotin committed
301
302
303



304
305
    # $ANTLR start "T__223"
    def mT__223(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
306
307

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

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



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

        finally:

            pass

325
    # $ANTLR end "T__223"
326
327
328



329
330
    # $ANTLR start "T__224"
    def mT__224(self, ):
331
332

        try:
333
            _type = T__224
Maxime Perrotin's avatar
Maxime Perrotin committed
334
335
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

350
    # $ANTLR end "T__224"
Maxime Perrotin's avatar
Maxime Perrotin committed
351
352
353



354
355
    # $ANTLR start "T__225"
    def mT__225(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
356
357

        try:
358
            _type = T__225
Maxime Perrotin's avatar
Maxime Perrotin committed
359
360
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

375
    # $ANTLR end "T__225"
Maxime Perrotin's avatar
Maxime Perrotin committed
376
377
378



379
380
    # $ANTLR start "T__226"
    def mT__226(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
381
382

        try:
383
            _type = T__226
Maxime Perrotin's avatar
Maxime Perrotin committed
384
385
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

400
    # $ANTLR end "T__226"
Maxime Perrotin's avatar
Maxime Perrotin committed
401
402
403



404
405
    # $ANTLR start "T__227"
    def mT__227(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
406
407

        try:
408
            _type = T__227
Maxime Perrotin's avatar
Maxime Perrotin committed
409
410
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

425
    # $ANTLR end "T__227"
Maxime Perrotin's avatar
Maxime Perrotin committed
426
427
428



429
430
    # $ANTLR start "T__228"
    def mT__228(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
431
432

        try:
433
            _type = T__228
Maxime Perrotin's avatar
Maxime Perrotin committed
434
435
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

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



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

        try:
            _type = ASSIG_OP
            _channel = DEFAULT_CHANNEL

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

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

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

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

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

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

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

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

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

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

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

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

767
768
            # sdl92.g:1453:17: ( K E E P )
            # sdl92.g:1453:25: K E E P
Maxime Perrotin's avatar
Maxime Perrotin committed
769
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
            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

795
796
            # 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
797
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
            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

829
830
            # 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
831
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
            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

861
862
            # 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
863
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
            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

890
891
            # 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
892
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
            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

923
924
            # 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
925
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
            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

954
955
            # 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
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
            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"



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

        try:
            _type = RETURNS
            _channel = DEFAULT_CHANNEL

984
985
            # sdl92.g:1460:17: ( R E T U R N S )
            # sdl92.g:1460:25: R E T U R N S
986
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

        finally: