File: ANTLRv3Lexer.h

package info (click to toggle)
mysql-workbench 6.3.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 113,932 kB
  • ctags: 87,814
  • sloc: ansic: 955,521; cpp: 427,465; python: 59,728; yacc: 59,129; xml: 54,204; sql: 7,091; objc: 965; makefile: 638; sh: 613; java: 237; perl: 30; ruby: 6; php: 1
file content (698 lines) | stat: -rw-r--r-- 18,523 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
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
502
503
504
505
506
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
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
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
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
/** \file
 *  This C header file was generated by $ANTLR version 3.4
 *
 *     -  From the grammar source file : ANTLRv3.g
 *     -                            On : 2016-01-26 14:40:45
 *     -                 for the lexer : ANTLRv3LexerLexer
 *
 * Editing it, at least manually, is not wise.
 *
 * C language generator and runtime by Jim Idle, jimi|hereisanat|idle|dotgoeshere|ws.
 *
 *
 * The lexer 
ANTLRv3Lexer

has the callable functions (rules) shown below,
 * which will invoke the code for the associated rule in the source grammar
 * assuming that the input stream is pointing to a token/text stream that could begin
 * this rule.
 *
 * For instance if you call the first (topmost) rule in a parser grammar, you will
 * get the results of a full parse, but calling a rule half way through the grammar will
 * allow you to pass part of a full token stream to the parser, such as for syntax checking
 * in editors and so on.
 *
 * The parser entry points are called indirectly (by function pointer to function) via
 * a parser context typedef pANTLRv3Lexer, which is returned from a call to ANTLRv3LexerNew().
 *
 * As this is a generated lexer, it is unlikely you will call it 'manually'. However
 * the methods are provided anyway.
 *
 * The methods in pANTLRv3Lexer are  as follows:
 *
 *  - 
 void
      pANTLRv3Lexer->AT_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->BANG_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->FRAGMENT_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->LABEL_ASSIGN_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->LIST_LABEL_ASSIGN_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->RANGE_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->RET_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->REWRITE_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->ROOT_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->SCOPE_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->TREE_BEGIN_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__73(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__74(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__75(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__76(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__77(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__78(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__79(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__80(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__81(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__82(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__83(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__84(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__85(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__86(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__87(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__88(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__89(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__90(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__91(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__92(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__93(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__94(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__95(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->T__96(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->DOT_SYM(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->OPTIONS_SYM(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->TOKENS_SYM(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->SRC_SYM(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->FINALLY_SYM(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->CATCH_SYM(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->SL_COMMENT(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->ML_COMMENT(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->CHAR_LITERAL(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->STRING_LITERAL(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->LITERAL_CHAR(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->DOUBLE_QUOTE_STRING_LITERAL(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->DOUBLE_ANGLE_STRING_LITERAL(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->ESC(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->XDIGIT(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->INT(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->ARG_ACTION(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->NESTED_ARG_ACTION(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->ACTION(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->NESTED_ACTION(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->ACTION_CHAR_LITERAL(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->ACTION_STRING_LITERAL(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->ACTION_ESC(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->OPTIONS(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->TOKENS(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->SRC(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->TOKEN_REF(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->RULE_REF(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->WS(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->WS_LOOP(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->DOC_COMMENT_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->SEMPRED_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->GATED_SEMPRED_V3TOK(pANTLRv3Lexer)
 *  - 
 void
      pANTLRv3Lexer->Tokens(pANTLRv3Lexer)
 *
 * The return type for any particular rule is of course determined by the source
 * grammar file.
 */
// [The "BSD license"]
// Copyright (c) 2005-2009 Jim Idle, Temporal Wave LLC
// http://www.temporal-wave.com
// http://www.linkedin.com/in/jimidle
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyright
//    notice, this list of conditions and the following disclaimer.
// 2. Redistributions in binary form must reproduce the above copyright
//    notice, this list of conditions and the following disclaimer in the
//    documentation and/or other materials provided with the distribution.
// 3. The name of the author may not be used to endorse or promote products
//    derived from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
// NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#ifndef	_ANTLRv3Lexer_H
#define _ANTLRv3Lexer_H
/* =============================================================================
 * Standard antlr3 C runtime definitions
 */
#include    <antlr3.h>

/* End of standard antlr 3 runtime definitions
 * =============================================================================
 */

#ifdef __cplusplus
extern "C" {
#endif

// Forward declare the context typedef so that we can use it before it is
// properly defined. Delegators and delegates (from import statements) are
// interdependent and their context structures contain pointers to each other
// C only allows such things to be declared if you pre-declare the typedef.
//
typedef struct ANTLRv3Lexer_Ctx_struct ANTLRv3Lexer, * pANTLRv3Lexer;



#ifndef _WIN32
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wparentheses"
#ifdef __APPLE__
// Comparison of unsigned expression >= 0 is always true.
#pragma GCC diagnostic ignored "-Wtautological-compare"
#else
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 6 )
#pragma GCC diagnostic ignored "-Wtype-limits"
#endif
#endif
#else
#pragma warning(disable:4296) // Condition is always true.
#endif


#ifdef	ANTLR3_WINDOWS
// Disable: Unreferenced parameter,							- Rules with parameters that are not used
//          constant conditional,							- ANTLR realizes that a prediction is always true (synpred usually)
//          initialized but unused variable					- tree rewrite variables declared but not needed
//          Unreferenced local variable						- lexer rule declares but does not always use _type
//          potentially unitialized variable used			- retval always returned from a rule
//			unreferenced local function has been removed	- susually getTokenNames or freeScope, they can go without warnigns
//
// These are only really displayed at warning level /W4 but that is the code ideal I am aiming at
// and the codegen must generate some of these warnings by necessity, apart from 4100, which is
// usually generated when a parser rule is given a parameter that it does not use. Mostly though
// this is a matter of orthogonality hence I disable that one.
//
#pragma warning( disable : 4100 )
#pragma warning( disable : 4101 )
#pragma warning( disable : 4127 )
#pragma warning( disable : 4189 )
#pragma warning( disable : 4505 )
#pragma warning( disable : 4701 )
#endif

/** Context tracking structure for 
ANTLRv3Lexer

 */
struct ANTLRv3Lexer_Ctx_struct
{
    /** Built in ANTLR3 context tracker contains all the generic elements
     *  required for context tracking.
     */
    pANTLR3_LEXER    pLexer;

     void
     (*mAT_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mBANG_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mFRAGMENT_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mLABEL_ASSIGN_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mLIST_LABEL_ASSIGN_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mRANGE_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mRET_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mREWRITE_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mROOT_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mSCOPE_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mTREE_BEGIN_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__73)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__74)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__75)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__76)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__77)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__78)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__79)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__80)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__81)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__82)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__83)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__84)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__85)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__86)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__87)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__88)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__89)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__90)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__91)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__92)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__93)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__94)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__95)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mT__96)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mDOT_SYM)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mOPTIONS_SYM)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mTOKENS_SYM)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mSRC_SYM)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mFINALLY_SYM)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mCATCH_SYM)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mSL_COMMENT)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mML_COMMENT)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mCHAR_LITERAL)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mSTRING_LITERAL)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mLITERAL_CHAR)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mDOUBLE_QUOTE_STRING_LITERAL)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mDOUBLE_ANGLE_STRING_LITERAL)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mESC)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mXDIGIT)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mINT)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mARG_ACTION)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mNESTED_ARG_ACTION)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mACTION)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mNESTED_ACTION)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mACTION_CHAR_LITERAL)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mACTION_STRING_LITERAL)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mACTION_ESC)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mOPTIONS)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mTOKENS)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mSRC)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mTOKEN_REF)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mRULE_REF)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mWS)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mWS_LOOP)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mDOC_COMMENT_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mSEMPRED_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mGATED_SEMPRED_V3TOK)	(struct ANTLRv3Lexer_Ctx_struct * ctx);

     void
     (*mTokens)	(struct ANTLRv3Lexer_Ctx_struct * ctx);
    const char * (*getGrammarFileName)();
    void            (*reset)  (struct ANTLRv3Lexer_Ctx_struct * ctx);
    void	    (*free)   (struct ANTLRv3Lexer_Ctx_struct * ctx);
};

// Function protoypes for the constructor functions that external translation units
// such as delegators and delegates may wish to call.
//
ANTLR3_API pANTLRv3Lexer ANTLRv3LexerNew         (
pANTLR3_INPUT_STREAM
 instream);
ANTLR3_API pANTLRv3Lexer ANTLRv3LexerNewSSD      (
pANTLR3_INPUT_STREAM
 instream, pANTLR3_RECOGNIZER_SHARED_STATE state);

/** Symbolic definitions of all the tokens that the 
lexer
 will work with.
 * \{
 *
 * Antlr will define EOF, but we can't use that as it it is too common in
 * in C header files and that would be confusing. There is no way to filter this out at the moment
 * so we just undef it here for now. That isn't the value we get back from C recognizers
 * anyway. We are looking for ANTLR3_TOKEN_EOF.
 */
#ifdef	EOF
#undef	EOF
#endif
#ifdef	Tokens
#undef	Tokens
#endif
#define EOF      -1
#define T__73      73
#define T__74      74
#define T__75      75
#define T__76      76
#define T__77      77
#define T__78      78
#define T__79      79
#define T__80      80
#define T__81      81
#define T__82      82
#define T__83      83
#define T__84      84
#define T__85      85
#define T__86      86
#define T__87      87
#define T__88      88
#define T__89      89
#define T__90      90
#define T__91      91
#define T__92      92
#define T__93      93
#define T__94      94
#define T__95      95
#define T__96      96
#define ACTION      4
#define ACTION_CHAR_LITERAL      5
#define ACTION_ESC      6
#define ACTION_STRING_LITERAL      7
#define ALT_V3TOK      8
#define ARGLIST_V3TOK      9
#define ARG_ACTION      10
#define ARG_V3TOK      11
#define AT_V3TOK      12
#define BACKTRACK_SEMPRED_V3TOK      13
#define BANG_V3TOK      14
#define BLOCK_V3TOK      15
#define CATCH_SYM      16
#define CHAR_LITERAL      17
#define CHAR_RANGE_V3TOK      18
#define CLOSURE_V3TOK      19
#define COMBINED_GRAMMAR_V3TOK      20
#define DOC_COMMENT_V3TOK      21
#define DOT_SYM      22
#define DOUBLE_ANGLE_STRING_LITERAL      23
#define DOUBLE_QUOTE_STRING_LITERAL      24
#define EOA_V3TOK      25
#define EOB_V3TOK      26
#define EOR_V3TOK      27
#define EPSILON_V3TOK      28
#define ESC      29
#define FINALLY_SYM      30
#define FRAGMENT_V3TOK      31
#define GATED_SEMPRED_V3TOK      32
#define ID_V3TOK      33
#define INT      34
#define LABEL_ASSIGN_V3TOK      35
#define LABEL_V3TOK      36
#define LEXER_GRAMMAR_V3TOK      37
#define LEXER_V3TOK      38
#define LIST_LABEL_ASSIGN_V3TOK      39
#define LITERAL_CHAR      40
#define ML_COMMENT      41
#define NESTED_ACTION      42
#define NESTED_ARG_ACTION      43
#define OPTIONAL_V3TOK      44
#define OPTIONS      45
#define OPTIONS_SYM      46
#define PARSER_GRAMMAR_V3TOK      47
#define PARSER_V3TOK      48
#define POSITIVE_CLOSURE_V3TOK      49
#define RANGE_V3TOK      50
#define RET_V3TOK      51
#define REWRITE_V3TOK      52
#define ROOT_V3TOK      53
#define RULE_REF      54
#define RULE_V3TOK      55
#define SCOPE_V3TOK      56
#define SEMPRED_V3TOK      57
#define SL_COMMENT      58
#define SRC      59
#define SRC_SYM      60
#define STRING_LITERAL      61
#define SYNPRED_V3TOK      62
#define SYN_SEMPRED_V3TOK      63
#define TEMPLATE_V3TOK      64
#define TOKENS      65
#define TOKENS_SYM      66
#define TOKEN_REF      67
#define TREE_BEGIN_V3TOK      68
#define TREE_GRAMMAR_V3TOK      69
#define WS      70
#define WS_LOOP      71
#define XDIGIT      72
#ifdef	EOF
#undef	EOF
#define	EOF	ANTLR3_TOKEN_EOF
#endif

#ifndef TOKENSOURCE
#define TOKENSOURCE(lxr) lxr->pLexer->rec->state->tokSource
#endif

/* End of token definitions for ANTLRv3Lexer
 * =============================================================================
 */
/** } */

#ifdef __cplusplus
}
#endif

#endif

/* END - Note:Keep extra line feed to satisfy UNIX systems */