sdl92Lexer.py 188 KB
Newer Older
1
# $ANTLR 3.1.3 Mar 18, 2009 10:09:25 sdl92.g 2014-06-19 11:20:30
Maxime Perrotin's avatar
Maxime Perrotin committed
2
3
4
5
6
7
8
9
10
11
12

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


# for convenience in actions
HIDDEN = BaseRecognizer.HIDDEN

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


class sdl92Lexer(Lexer):

    grammarFileName = "sdl92.g"
239
240
    antlr_version = version_str_to_tuple("3.1.3 Mar 18, 2009 10:09:25")
    antlr_version_str = "3.1.3 Mar 18, 2009 10:09:25"
Maxime Perrotin's avatar
Maxime Perrotin committed
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
270
271
272
273
274

    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
            )






275
276
    # $ANTLR start "T__211"
    def mT__211(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
277
278

        try:
279
            _type = T__211
Maxime Perrotin's avatar
Maxime Perrotin committed
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
            _channel = DEFAULT_CHANNEL

            # sdl92.g:7:8: ( ':' )
            # sdl92.g:7:10: ':'
            pass 
            self.match(58)



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

        finally:

            pass

296
    # $ANTLR end "T__211"
297
298
299



300
301
    # $ANTLR start "T__212"
    def mT__212(self, ):
302
303

        try:
304
            _type = T__212
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

321
    # $ANTLR end "T__212"
322
323
324



325
326
    # $ANTLR start "T__213"
    def mT__213(self, ):
327
328

        try:
329
            _type = T__213
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
            _channel = DEFAULT_CHANNEL

            # sdl92.g:9:8: ( 'VIA' )
            # sdl92.g:9:10: 'VIA'
            pass 
            self.match("VIA")



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

        finally:

            pass

346
    # $ANTLR end "T__213"
Maxime Perrotin's avatar
Maxime Perrotin committed
347
348
349



350
351
    # $ANTLR start "T__214"
    def mT__214(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
352
353

        try:
354
            _type = T__214
Maxime Perrotin's avatar
Maxime Perrotin committed
355
356
            _channel = DEFAULT_CHANNEL

357
358
            # sdl92.g:10:8: ( 'ALL' )
            # sdl92.g:10:10: 'ALL'
Maxime Perrotin's avatar
Maxime Perrotin committed
359
360
361
362
363
364
365
366
367
368
369
370
            pass 
            self.match("ALL")



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

        finally:

            pass

371
    # $ANTLR end "T__214"
Maxime Perrotin's avatar
Maxime Perrotin committed
372
373
374



375
376
    # $ANTLR start "T__215"
    def mT__215(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
377
378

        try:
379
            _type = T__215
Maxime Perrotin's avatar
Maxime Perrotin committed
380
381
            _channel = DEFAULT_CHANNEL

382
383
            # sdl92.g:11:8: ( '!' )
            # sdl92.g:11:10: '!'
Maxime Perrotin's avatar
Maxime Perrotin committed
384
385
386
387
388
389
390
391
392
393
394
395
            pass 
            self.match(33)



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

        finally:

            pass

396
    # $ANTLR end "T__215"
Maxime Perrotin's avatar
Maxime Perrotin committed
397
398
399



400
401
    # $ANTLR start "T__216"
    def mT__216(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
402
403

        try:
404
            _type = T__216
Maxime Perrotin's avatar
Maxime Perrotin committed
405
406
            _channel = DEFAULT_CHANNEL

407
408
            # sdl92.g:12:8: ( '(.' )
            # sdl92.g:12:10: '(.'
Maxime Perrotin's avatar
Maxime Perrotin committed
409
410
411
412
413
414
415
416
417
418
419
420
            pass 
            self.match("(.")



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

        finally:

            pass

421
    # $ANTLR end "T__216"
Maxime Perrotin's avatar
Maxime Perrotin committed
422
423
424



425
426
    # $ANTLR start "T__217"
    def mT__217(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
427
428

        try:
429
            _type = T__217
Maxime Perrotin's avatar
Maxime Perrotin committed
430
431
            _channel = DEFAULT_CHANNEL

432
433
            # sdl92.g:13:8: ( '.)' )
            # sdl92.g:13:10: '.)'
Maxime Perrotin's avatar
Maxime Perrotin committed
434
435
436
437
438
439
440
441
442
443
444
445
            pass 
            self.match(".)")



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

        finally:

            pass

446
    # $ANTLR end "T__217"
Maxime Perrotin's avatar
Maxime Perrotin committed
447
448
449



450
451
    # $ANTLR start "T__218"
    def mT__218(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
452
453

        try:
454
            _type = T__218
Maxime Perrotin's avatar
Maxime Perrotin committed
455
456
            _channel = DEFAULT_CHANNEL

457
458
            # sdl92.g:14:8: ( 'ERROR' )
            # sdl92.g:14:10: 'ERROR'
Maxime Perrotin's avatar
Maxime Perrotin committed
459
460
461
462
463
464
465
466
467
468
469
470
            pass 
            self.match("ERROR")



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

        finally:

            pass

471
    # $ANTLR end "T__218"
Maxime Perrotin's avatar
Maxime Perrotin committed
472
473
474



475
476
    # $ANTLR start "T__219"
    def mT__219(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
477
478

        try:
479
            _type = T__219
Maxime Perrotin's avatar
Maxime Perrotin committed
480
481
            _channel = DEFAULT_CHANNEL

482
483
            # sdl92.g:15:8: ( 'ACTIVE' )
            # sdl92.g:15:10: 'ACTIVE'
Maxime Perrotin's avatar
Maxime Perrotin committed
484
485
486
487
488
489
490
491
492
493
494
495
            pass 
            self.match("ACTIVE")



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

        finally:

            pass

496
    # $ANTLR end "T__219"
Maxime Perrotin's avatar
Maxime Perrotin committed
497
498
499



500
501
    # $ANTLR start "T__220"
    def mT__220(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
502
503

        try:
504
            _type = T__220
Maxime Perrotin's avatar
Maxime Perrotin committed
505
506
            _channel = DEFAULT_CHANNEL

507
508
            # sdl92.g:16:8: ( 'ANY' )
            # sdl92.g:16:10: 'ANY'
Maxime Perrotin's avatar
Maxime Perrotin committed
509
510
511
512
513
514
515
516
517
518
519
520
            pass 
            self.match("ANY")



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

        finally:

            pass

521
    # $ANTLR end "T__220"
Maxime Perrotin's avatar
Maxime Perrotin committed
522
523
524



525
526
    # $ANTLR start "T__221"
    def mT__221(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
527
528

        try:
529
            _type = T__221
Maxime Perrotin's avatar
Maxime Perrotin committed
530
531
            _channel = DEFAULT_CHANNEL

532
533
            # sdl92.g:17:8: ( 'IMPORT' )
            # sdl92.g:17:10: 'IMPORT'
Maxime Perrotin's avatar
Maxime Perrotin committed
534
535
536
537
538
539
540
541
542
543
544
545
            pass 
            self.match("IMPORT")



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

        finally:

            pass

546
    # $ANTLR end "T__221"
Maxime Perrotin's avatar
Maxime Perrotin committed
547
548
549



550
551
    # $ANTLR start "T__222"
    def mT__222(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
552
553

        try:
554
            _type = T__222
Maxime Perrotin's avatar
Maxime Perrotin committed
555
556
            _channel = DEFAULT_CHANNEL

557
558
            # sdl92.g:18:8: ( 'VIEW' )
            # sdl92.g:18:10: 'VIEW'
Maxime Perrotin's avatar
Maxime Perrotin committed
559
560
561
562
563
564
565
566
567
568
569
570
            pass 
            self.match("VIEW")



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

        finally:

            pass

571
    # $ANTLR end "T__222"
Maxime Perrotin's avatar
Maxime Perrotin committed
572
573
574



575
576
    # $ANTLR start "T__223"
    def mT__223(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
577
578

        try:
579
            _type = T__223
Maxime Perrotin's avatar
Maxime Perrotin committed
580
581
            _channel = DEFAULT_CHANNEL

582
583
            # sdl92.g:19:8: ( '/* CIF' )
            # sdl92.g:19:10: '/* CIF'
Maxime Perrotin's avatar
Maxime Perrotin committed
584
585
586
587
588
589
590
591
592
593
594
595
            pass 
            self.match("/* CIF")



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

        finally:

            pass

596
    # $ANTLR end "T__223"
Maxime Perrotin's avatar
Maxime Perrotin committed
597
598
599



600
601
    # $ANTLR start "T__224"
    def mT__224(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
602
603

        try:
604
            _type = T__224
Maxime Perrotin's avatar
Maxime Perrotin committed
605
606
            _channel = DEFAULT_CHANNEL

607
608
            # sdl92.g:20:8: ( '*/' )
            # sdl92.g:20:10: '*/'
Maxime Perrotin's avatar
Maxime Perrotin committed
609
610
611
612
613
614
615
616
617
618
619
620
            pass 
            self.match("*/")



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

        finally:

            pass

621
    # $ANTLR end "T__224"
Maxime Perrotin's avatar
Maxime Perrotin committed
622
623
624
625
626
627
628
629
630
631



    # $ANTLR start "BitStringLiteral"
    def mBitStringLiteral(self, ):

        try:
            _type = BitStringLiteral
            _channel = DEFAULT_CHANNEL

632
633
            # sdl92.g:844:9: ( '\"' ( '0' | '1' | ' ' | '\\t' | '\\r' | '\\n' )* '\"B' )
            # sdl92.g:844:17: '\"' ( '0' | '1' | ' ' | '\\t' | '\\r' | '\\n' )* '\"B'
Maxime Perrotin's avatar
Maxime Perrotin committed
634
635
            pass 
            self.match(34)
636
            # sdl92.g:844:21: ( '0' | '1' | ' ' | '\\t' | '\\r' | '\\n' )*
Maxime Perrotin's avatar
Maxime Perrotin committed
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
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
679
680
            while True: #loop1
                alt1 = 2
                LA1_0 = self.input.LA(1)

                if ((9 <= LA1_0 <= 10) or LA1_0 == 13 or LA1_0 == 32 or (48 <= LA1_0 <= 49)) :
                    alt1 = 1


                if alt1 == 1:
                    # sdl92.g:
                    pass 
                    if (9 <= self.input.LA(1) <= 10) or self.input.LA(1) == 13 or self.input.LA(1) == 32 or (48 <= self.input.LA(1) <= 49):
                        self.input.consume()
                    else:
                        mse = MismatchedSetException(None, self.input)
                        self.recover(mse)
                        raise mse



                else:
                    break #loop1
            self.match("\"B")



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

        finally:

            pass

    # $ANTLR end "BitStringLiteral"



    # $ANTLR start "OctetStringLiteral"
    def mOctetStringLiteral(self, ):

        try:
            _type = OctetStringLiteral
            _channel = DEFAULT_CHANNEL

681
682
            # sdl92.g:848:9: ( '\"' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | ' ' | '\\t' | '\\r' | '\\n' )* '\"H' )
            # sdl92.g:848:17: '\"' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | ' ' | '\\t' | '\\r' | '\\n' )* '\"H'
Maxime Perrotin's avatar
Maxime Perrotin committed
683
684
            pass 
            self.match(34)
685
            # sdl92.g:848:21: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | ' ' | '\\t' | '\\r' | '\\n' )*
Maxime Perrotin's avatar
Maxime Perrotin committed
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
            while True: #loop2
                alt2 = 2
                LA2_0 = self.input.LA(1)

                if ((9 <= LA2_0 <= 10) or LA2_0 == 13 or LA2_0 == 32 or (48 <= LA2_0 <= 57) or (65 <= LA2_0 <= 70) or (97 <= LA2_0 <= 102)) :
                    alt2 = 1


                if alt2 == 1:
                    # sdl92.g:
                    pass 
                    if (9 <= self.input.LA(1) <= 10) or self.input.LA(1) == 13 or self.input.LA(1) == 32 or (48 <= self.input.LA(1) <= 57) or (65 <= self.input.LA(1) <= 70) or (97 <= self.input.LA(1) <= 102):
                        self.input.consume()
                    else:
                        mse = MismatchedSetException(None, self.input)
                        self.recover(mse)
                        raise mse



                else:
                    break #loop2
            self.match("\"H")



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

        finally:

            pass

    # $ANTLR end "OctetStringLiteral"



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

        try:
            _type = ASSIG_OP
            _channel = DEFAULT_CHANNEL

730
731
            # sdl92.g:1154:17: ( ':=' )
            # sdl92.g:1154:25: ':='
Maxime Perrotin's avatar
Maxime Perrotin committed
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
            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

755
756
            # sdl92.g:1155:17: ( '{' )
            # sdl92.g:1155:25: '{'
Maxime Perrotin's avatar
Maxime Perrotin committed
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
            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

780
781
            # sdl92.g:1156:17: ( '}' )
            # sdl92.g:1156:25: '}'
Maxime Perrotin's avatar
Maxime Perrotin committed
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
            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

805
806
            # sdl92.g:1157:17: ( '(' )
            # sdl92.g:1157:25: '('
Maxime Perrotin's avatar
Maxime Perrotin committed
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.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

830
831
            # sdl92.g:1158:17: ( ')' )
            # sdl92.g:1158:25: ')'
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
            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

855
856
            # sdl92.g:1159:17: ( ',' )
            # sdl92.g:1159:25: ','
Maxime Perrotin's avatar
Maxime Perrotin committed
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
            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

880
881
            # sdl92.g:1160:17: ( ';' )
            # sdl92.g:1160:25: ';'
Maxime Perrotin's avatar
Maxime Perrotin committed
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
            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

905
906
            # sdl92.g:1161:17: ( '-' )
            # sdl92.g:1161:25: '-'
Maxime Perrotin's avatar
Maxime Perrotin committed
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
            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

930
931
            # sdl92.g:1162:17: ( A N Y )
            # sdl92.g:1162:25: A N Y
Maxime Perrotin's avatar
Maxime Perrotin committed
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
            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

957
958
            # sdl92.g:1163:17: ( '*' )
            # sdl92.g:1163:25: '*'
Maxime Perrotin's avatar
Maxime Perrotin committed
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
            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

982
983
            # sdl92.g:1164:17: ( D C L )
            # sdl92.g:1164:25: D C L
Maxime Perrotin's avatar
Maxime Perrotin committed
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
            pass 
            self.mD()
            self.mC()
            self.mL()



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

        finally:

            pass

    # $ANTLR end "DCL"


For faster browsing, not all history is shown. View entire blame