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


class sdl92Lexer(Lexer):

    grammarFileName = "sdl92.g"
Maxime Perrotin's avatar
Maxime Perrotin committed
235
236
    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
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
270

    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
            )






271
272
    # $ANTLR start "T__214"
    def mT__214(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
273
274

        try:
275
            _type = T__214
Maxime Perrotin's avatar
Maxime Perrotin committed
276
277
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

292
    # $ANTLR end "T__214"
Maxime Perrotin's avatar
Maxime Perrotin committed
293
294
295



296
297
    # $ANTLR start "T__215"
    def mT__215(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
298
299

        try:
300
            _type = T__215
Maxime Perrotin's avatar
Maxime Perrotin committed
301
302
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

317
    # $ANTLR end "T__215"
Maxime Perrotin's avatar
Maxime Perrotin committed
318
319
320



321
322
    # $ANTLR start "T__216"
    def mT__216(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
323
324

        try:
325
            _type = T__216
Maxime Perrotin's avatar
Maxime Perrotin committed
326
327
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

342
    # $ANTLR end "T__216"
Maxime Perrotin's avatar
Maxime Perrotin committed
343
344
345



346
347
    # $ANTLR start "T__217"
    def mT__217(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
348
349

        try:
350
            _type = T__217
Maxime Perrotin's avatar
Maxime Perrotin committed
351
352
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

367
    # $ANTLR end "T__217"
Maxime Perrotin's avatar
Maxime Perrotin committed
368
369
370



371
372
    # $ANTLR start "T__218"
    def mT__218(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
373
374

        try:
375
            _type = T__218
Maxime Perrotin's avatar
Maxime Perrotin committed
376
377
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

392
    # $ANTLR end "T__218"
Maxime Perrotin's avatar
Maxime Perrotin committed
393
394
395



396
397
    # $ANTLR start "T__219"
    def mT__219(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
398
399

        try:
400
            _type = T__219
Maxime Perrotin's avatar
Maxime Perrotin committed
401
402
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

417
    # $ANTLR end "T__219"
Maxime Perrotin's avatar
Maxime Perrotin committed
418
419
420



421
422
    # $ANTLR start "T__220"
    def mT__220(self, ):
Maxime Perrotin's avatar
Maxime Perrotin committed
423
424

        try:
425
            _type = T__220
Maxime Perrotin's avatar
Maxime Perrotin committed
426
427
            _channel = DEFAULT_CHANNEL

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



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

        finally:

            pass

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



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

        try:
            _type = BitStringLiteral
            _channel = DEFAULT_CHANNEL

dbarbera's avatar
dbarbera committed
453
454
            # sdl92.g:858:9: ( '\"' ( '0' | '1' | ' ' | '\\t' | '\\r' | '\\n' )* '\"B' )
            # sdl92.g:858:17: '\"' ( '0' | '1' | ' ' | '\\t' | '\\r' | '\\n' )* '\"B'
Maxime Perrotin's avatar
Maxime Perrotin committed
455
456
            pass 
            self.match(34)
dbarbera's avatar
dbarbera committed
457
            # sdl92.g:858:21: ( '0' | '1' | ' ' | '\\t' | '\\r' | '\\n' )*
Maxime Perrotin's avatar
Maxime Perrotin committed
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
            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

dbarbera's avatar
dbarbera committed
502
503
            # sdl92.g:862:9: ( '\"' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | ' ' | '\\t' | '\\r' | '\\n' )* '\"H' )
            # sdl92.g:862:17: '\"' ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | ' ' | '\\t' | '\\r' | '\\n' )* '\"H'
Maxime Perrotin's avatar
Maxime Perrotin committed
504
505
            pass 
            self.match(34)
dbarbera's avatar
dbarbera committed
506
            # sdl92.g:862:21: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' | ' ' | '\\t' | '\\r' | '\\n' )*
Maxime Perrotin's avatar
Maxime Perrotin committed
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
            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

dbarbera's avatar
dbarbera committed
551
552
            # sdl92.g:1162:17: ( ':=' )
            # sdl92.g:1162:25: ':='
Maxime Perrotin's avatar
Maxime Perrotin committed
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
            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

dbarbera's avatar
dbarbera committed
576
577
            # sdl92.g:1163:17: ( '{' )
            # sdl92.g:1163:25: '{'
Maxime Perrotin's avatar
Maxime Perrotin committed
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
            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

dbarbera's avatar
dbarbera committed
601
602
            # sdl92.g:1164:17: ( '}' )
            # sdl92.g:1164:25: '}'
Maxime Perrotin's avatar
Maxime Perrotin committed
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
            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

dbarbera's avatar
dbarbera committed
626
627
            # sdl92.g:1165:17: ( '(' )
            # sdl92.g:1165:25: '('
Maxime Perrotin's avatar
Maxime Perrotin committed
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
            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

dbarbera's avatar
dbarbera committed
651
652
            # sdl92.g:1166:17: ( ')' )
            # sdl92.g:1166:25: ')'
Maxime Perrotin's avatar
Maxime Perrotin committed
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
            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

dbarbera's avatar
dbarbera committed
676
677
            # sdl92.g:1167:17: ( ',' )
            # sdl92.g:1167:25: ','
Maxime Perrotin's avatar
Maxime Perrotin committed
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
            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

dbarbera's avatar
dbarbera committed
701
702
            # sdl92.g:1168:17: ( ';' )
            # sdl92.g:1168:25: ';'
Maxime Perrotin's avatar
Maxime Perrotin committed
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
            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

dbarbera's avatar
dbarbera committed
726
727
            # sdl92.g:1169:17: ( '-' )
            # sdl92.g:1169:25: '-'
Maxime Perrotin's avatar
Maxime Perrotin committed
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
            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

dbarbera's avatar
dbarbera committed
751
752
            # sdl92.g:1170:17: ( A N Y )
            # sdl92.g:1170:25: A N Y
Maxime Perrotin's avatar
Maxime Perrotin committed
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
            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

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

dbarbera's avatar
dbarbera committed
803
804
            # sdl92.g:1172:17: ( D C L )
            # sdl92.g:1172:25: D C L
Maxime Perrotin's avatar
Maxime Perrotin committed
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.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

dbarbera's avatar
dbarbera committed
830
831
            # sdl92.g:1173:17: ( E N D )
            # sdl92.g:1173:25: E N D
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
            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

dbarbera's avatar
dbarbera committed
857
858
            # sdl92.g:1174:17: ( K E E P )
            # sdl92.g:1174:25: K E E P
Maxime Perrotin's avatar
Maxime Perrotin committed
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
            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

dbarbera's avatar
dbarbera committed
885
886
            # sdl92.g:1175:17: ( P A R A M N A M E S )
            # sdl92.g:1175:25: P A R A M N A M E S
Maxime Perrotin's avatar
Maxime Perrotin committed
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
914
915
916
917
918
            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

dbarbera's avatar
dbarbera committed
919
920
            # sdl92.g:1176:17: ( S P E C I F I C )
            # sdl92.g:1176:25: S P E C I F I C
Maxime Perrotin's avatar
Maxime Perrotin committed
921
922
923
924
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
            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

dbarbera's avatar
dbarbera committed
951
952
            # sdl92.g:1177:17: ( G E O D E )
            # sdl92.g:1177:25: G E O D E
Maxime Perrotin's avatar
Maxime Perrotin committed
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
            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

dbarbera's avatar
dbarbera committed
980
981
            # sdl92.g:1178:17: ( H Y P E R L I N K )
            # sdl92.g:1178:25: H Y P E R L I N K
Maxime Perrotin's avatar
Maxime Perrotin committed
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
            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
For faster browsing, not all history is shown. View entire blame