1 // $ANTLR 3.5.2 org/eclipse/tracecompass/ctf/parser/CTFLexer.g 2015-08-06 19:37:53
3 /*******************************************************************************
4 * Copyright (c) 2010, 2015 Ericsson, Ecole Polytechnique de Montréal and others
6 * All rights reserved. This program and the accompanying materials are
7 * made available under the terms of the Eclipse Public License v1.0 which
8 * accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
12 * Matthew Khouzam - Initial API and implementation
13 * Simon Marchi - Initial API and implementation
14 * Etienne Bergeron - Update to Antlr 3.5 syntax
15 *******************************************************************************/
17 package org
.eclipse
.tracecompass
.ctf
.parser
;
20 import org
.antlr
.runtime
.*;
21 import java
.util
.Stack
;
22 import java
.util
.List
;
23 import java
.util
.ArrayList
;
25 @SuppressWarnings("all")
26 public class CTFLexer
extends Lexer
{
27 public static final int EOF
=-1;
28 public static final int ALIGNTOK
=4;
29 public static final int ARROW
=5;
30 public static final int ASSIGNMENT
=6;
31 public static final int BACKSLASH
=7;
32 public static final int BOOLTOK
=8;
33 public static final int CHARACTER_LITERAL
=9;
34 public static final int CHARTOK
=10;
35 public static final int CHAR_CONTENT
=11;
36 public static final int CLOCKTOK
=12;
37 public static final int CLOSEBRAC
=13;
38 public static final int COLON
=14;
39 public static final int COMMENT
=15;
40 public static final int COMMENT_CLOSE
=16;
41 public static final int COMMENT_OPEN
=17;
42 public static final int COMPLEXTOK
=18;
43 public static final int CONSTTOK
=19;
44 public static final int DECIMAL_LITERAL
=20;
45 public static final int DIGIT
=21;
46 public static final int DOT
=22;
47 public static final int DOUBLEQUOTE
=23;
48 public static final int DOUBLETOK
=24;
49 public static final int ELIPSES
=25;
50 public static final int ENUMTOK
=26;
51 public static final int ENVTOK
=27;
52 public static final int ESCAPE_SEQUENCE
=28;
53 public static final int EVENTTOK
=29;
54 public static final int FLOATINGPOINTTOK
=30;
55 public static final int FLOATTOK
=31;
56 public static final int GT
=32;
57 public static final int HEXADECIMAL_ESCAPE
=33;
58 public static final int HEX_DIGIT
=34;
59 public static final int HEX_LITERAL
=35;
60 public static final int HEX_PREFIX
=36;
61 public static final int IDENTIFIER
=37;
62 public static final int IMAGINARYTOK
=38;
63 public static final int INFINITYTOK
=39;
64 public static final int INTEGERTOK
=40;
65 public static final int INTEGER_TYPES_SUFFIX
=41;
66 public static final int INTTOK
=42;
67 public static final int LCURL
=43;
68 public static final int LINE_COMMENT
=44;
69 public static final int LONGTOK
=45;
70 public static final int LPAREN
=46;
71 public static final int LT
=47;
72 public static final int NANNUMBERTOK
=48;
73 public static final int NINFINITYTOK
=49;
74 public static final int NONDIGIT
=50;
75 public static final int NONZERO_DIGIT
=51;
76 public static final int OCTAL_ESCAPE
=52;
77 public static final int OCTAL_LITERAL
=53;
78 public static final int OCT_DIGIT
=54;
79 public static final int OCT_PREFIX
=55;
80 public static final int OPENBRAC
=56;
81 public static final int POINTER
=57;
82 public static final int RCURL
=58;
83 public static final int RPAREN
=59;
84 public static final int SEPARATOR
=60;
85 public static final int SHORTTOK
=61;
86 public static final int SIGN
=62;
87 public static final int SIGNEDTOK
=63;
88 public static final int SINGLEQUOTE
=64;
89 public static final int STREAMTOK
=65;
90 public static final int STRINGPREFIX
=66;
91 public static final int STRINGTOK
=67;
92 public static final int STRING_CONTENT
=68;
93 public static final int STRING_LITERAL
=69;
94 public static final int STRUCTTOK
=70;
95 public static final int TERM
=71;
96 public static final int TRACETOK
=72;
97 public static final int TYPEALIASTOK
=73;
98 public static final int TYPEDEFTOK
=74;
99 public static final int TYPE_ASSIGNMENT
=75;
100 public static final int UNICODE_ESCAPE
=76;
101 public static final int UNSIGNEDTOK
=77;
102 public static final int VARIANTTOK
=78;
103 public static final int VOIDTOK
=79;
104 public static final int WS
=80;
108 public Lexer
[] getDelegates() {
109 return new Lexer
[] {};
113 public CTFLexer(CharStream input
) {
114 this(input
, new RecognizerSharedState());
116 public CTFLexer(CharStream input
, RecognizerSharedState state
) {
119 @Override public String
getGrammarFileName() { return "org/eclipse/tracecompass/ctf/parser/CTFLexer.g"; }
121 // $ANTLR start "ALIGNTOK"
122 public final void mALIGNTOK() throws RecognitionException
{
124 int _type
= ALIGNTOK
;
125 int _channel
= DEFAULT_TOKEN_CHANNEL
;
126 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:32:18: ( 'align' )
127 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:32:20: 'align'
134 state
.channel
= _channel
;
137 // do for sure before leaving
140 // $ANTLR end "ALIGNTOK"
142 // $ANTLR start "CONSTTOK"
143 public final void mCONSTTOK() throws RecognitionException
{
145 int _type
= CONSTTOK
;
146 int _channel
= DEFAULT_TOKEN_CHANNEL
;
147 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:33:18: ( 'const' )
148 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:33:20: 'const'
155 state
.channel
= _channel
;
158 // do for sure before leaving
161 // $ANTLR end "CONSTTOK"
163 // $ANTLR start "CHARTOK"
164 public final void mCHARTOK() throws RecognitionException
{
167 int _channel
= DEFAULT_TOKEN_CHANNEL
;
168 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:34:18: ( 'char' )
169 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:34:20: 'char'
176 state
.channel
= _channel
;
179 // do for sure before leaving
182 // $ANTLR end "CHARTOK"
184 // $ANTLR start "DOUBLETOK"
185 public final void mDOUBLETOK() throws RecognitionException
{
187 int _type
= DOUBLETOK
;
188 int _channel
= DEFAULT_TOKEN_CHANNEL
;
189 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:35:18: ( 'double' )
190 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:35:20: 'double'
197 state
.channel
= _channel
;
200 // do for sure before leaving
203 // $ANTLR end "DOUBLETOK"
205 // $ANTLR start "ENUMTOK"
206 public final void mENUMTOK() throws RecognitionException
{
209 int _channel
= DEFAULT_TOKEN_CHANNEL
;
210 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:36:18: ( 'enum' )
211 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:36:20: 'enum'
218 state
.channel
= _channel
;
221 // do for sure before leaving
224 // $ANTLR end "ENUMTOK"
226 // $ANTLR start "EVENTTOK"
227 public final void mEVENTTOK() throws RecognitionException
{
229 int _type
= EVENTTOK
;
230 int _channel
= DEFAULT_TOKEN_CHANNEL
;
231 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:37:18: ( 'event' )
232 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:37:20: 'event'
239 state
.channel
= _channel
;
242 // do for sure before leaving
245 // $ANTLR end "EVENTTOK"
247 // $ANTLR start "FLOATINGPOINTTOK"
248 public final void mFLOATINGPOINTTOK() throws RecognitionException
{
250 int _type
= FLOATINGPOINTTOK
;
251 int _channel
= DEFAULT_TOKEN_CHANNEL
;
252 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:38:18: ( 'floating_point' )
253 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:38:20: 'floating_point'
255 match("floating_point");
260 state
.channel
= _channel
;
263 // do for sure before leaving
266 // $ANTLR end "FLOATINGPOINTTOK"
268 // $ANTLR start "FLOATTOK"
269 public final void mFLOATTOK() throws RecognitionException
{
271 int _type
= FLOATTOK
;
272 int _channel
= DEFAULT_TOKEN_CHANNEL
;
273 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:39:18: ( 'float' )
274 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:39:20: 'float'
281 state
.channel
= _channel
;
284 // do for sure before leaving
287 // $ANTLR end "FLOATTOK"
289 // $ANTLR start "INTEGERTOK"
290 public final void mINTEGERTOK() throws RecognitionException
{
292 int _type
= INTEGERTOK
;
293 int _channel
= DEFAULT_TOKEN_CHANNEL
;
294 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:40:18: ( 'integer' )
295 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:40:20: 'integer'
302 state
.channel
= _channel
;
305 // do for sure before leaving
308 // $ANTLR end "INTEGERTOK"
310 // $ANTLR start "INTTOK"
311 public final void mINTTOK() throws RecognitionException
{
314 int _channel
= DEFAULT_TOKEN_CHANNEL
;
315 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:41:18: ( 'int' )
316 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:41:20: 'int'
323 state
.channel
= _channel
;
326 // do for sure before leaving
329 // $ANTLR end "INTTOK"
331 // $ANTLR start "LONGTOK"
332 public final void mLONGTOK() throws RecognitionException
{
335 int _channel
= DEFAULT_TOKEN_CHANNEL
;
336 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:42:18: ( 'long' )
337 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:42:20: 'long'
344 state
.channel
= _channel
;
347 // do for sure before leaving
350 // $ANTLR end "LONGTOK"
352 // $ANTLR start "SHORTTOK"
353 public final void mSHORTTOK() throws RecognitionException
{
355 int _type
= SHORTTOK
;
356 int _channel
= DEFAULT_TOKEN_CHANNEL
;
357 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:43:18: ( 'short' )
358 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:43:20: 'short'
365 state
.channel
= _channel
;
368 // do for sure before leaving
371 // $ANTLR end "SHORTTOK"
373 // $ANTLR start "SIGNEDTOK"
374 public final void mSIGNEDTOK() throws RecognitionException
{
376 int _type
= SIGNEDTOK
;
377 int _channel
= DEFAULT_TOKEN_CHANNEL
;
378 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:44:18: ( 'signed' )
379 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:44:20: 'signed'
386 state
.channel
= _channel
;
389 // do for sure before leaving
392 // $ANTLR end "SIGNEDTOK"
394 // $ANTLR start "STREAMTOK"
395 public final void mSTREAMTOK() throws RecognitionException
{
397 int _type
= STREAMTOK
;
398 int _channel
= DEFAULT_TOKEN_CHANNEL
;
399 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:45:18: ( 'stream' )
400 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:45:20: 'stream'
407 state
.channel
= _channel
;
410 // do for sure before leaving
413 // $ANTLR end "STREAMTOK"
415 // $ANTLR start "STRINGTOK"
416 public final void mSTRINGTOK() throws RecognitionException
{
418 int _type
= STRINGTOK
;
419 int _channel
= DEFAULT_TOKEN_CHANNEL
;
420 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:46:18: ( 'string' )
421 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:46:20: 'string'
428 state
.channel
= _channel
;
431 // do for sure before leaving
434 // $ANTLR end "STRINGTOK"
436 // $ANTLR start "STRUCTTOK"
437 public final void mSTRUCTTOK() throws RecognitionException
{
439 int _type
= STRUCTTOK
;
440 int _channel
= DEFAULT_TOKEN_CHANNEL
;
441 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:47:18: ( 'struct' )
442 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:47:20: 'struct'
449 state
.channel
= _channel
;
452 // do for sure before leaving
455 // $ANTLR end "STRUCTTOK"
457 // $ANTLR start "TRACETOK"
458 public final void mTRACETOK() throws RecognitionException
{
460 int _type
= TRACETOK
;
461 int _channel
= DEFAULT_TOKEN_CHANNEL
;
462 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:48:18: ( 'trace' )
463 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:48:20: 'trace'
470 state
.channel
= _channel
;
473 // do for sure before leaving
476 // $ANTLR end "TRACETOK"
478 // $ANTLR start "TYPEALIASTOK"
479 public final void mTYPEALIASTOK() throws RecognitionException
{
481 int _type
= TYPEALIASTOK
;
482 int _channel
= DEFAULT_TOKEN_CHANNEL
;
483 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:49:18: ( 'typealias' )
484 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:49:20: 'typealias'
491 state
.channel
= _channel
;
494 // do for sure before leaving
497 // $ANTLR end "TYPEALIASTOK"
499 // $ANTLR start "TYPEDEFTOK"
500 public final void mTYPEDEFTOK() throws RecognitionException
{
502 int _type
= TYPEDEFTOK
;
503 int _channel
= DEFAULT_TOKEN_CHANNEL
;
504 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:50:18: ( 'typedef' )
505 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:50:20: 'typedef'
512 state
.channel
= _channel
;
515 // do for sure before leaving
518 // $ANTLR end "TYPEDEFTOK"
520 // $ANTLR start "UNSIGNEDTOK"
521 public final void mUNSIGNEDTOK() throws RecognitionException
{
523 int _type
= UNSIGNEDTOK
;
524 int _channel
= DEFAULT_TOKEN_CHANNEL
;
525 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:51:18: ( 'unsigned' )
526 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:51:20: 'unsigned'
533 state
.channel
= _channel
;
536 // do for sure before leaving
539 // $ANTLR end "UNSIGNEDTOK"
541 // $ANTLR start "VARIANTTOK"
542 public final void mVARIANTTOK() throws RecognitionException
{
544 int _type
= VARIANTTOK
;
545 int _channel
= DEFAULT_TOKEN_CHANNEL
;
546 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:52:18: ( 'variant' )
547 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:52:20: 'variant'
554 state
.channel
= _channel
;
557 // do for sure before leaving
560 // $ANTLR end "VARIANTTOK"
562 // $ANTLR start "VOIDTOK"
563 public final void mVOIDTOK() throws RecognitionException
{
566 int _channel
= DEFAULT_TOKEN_CHANNEL
;
567 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:53:18: ( 'void' )
568 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:53:20: 'void'
575 state
.channel
= _channel
;
578 // do for sure before leaving
581 // $ANTLR end "VOIDTOK"
583 // $ANTLR start "BOOLTOK"
584 public final void mBOOLTOK() throws RecognitionException
{
587 int _channel
= DEFAULT_TOKEN_CHANNEL
;
588 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:54:18: ( '_Bool' )
589 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:54:20: '_Bool'
596 state
.channel
= _channel
;
599 // do for sure before leaving
602 // $ANTLR end "BOOLTOK"
604 // $ANTLR start "COMPLEXTOK"
605 public final void mCOMPLEXTOK() throws RecognitionException
{
607 int _type
= COMPLEXTOK
;
608 int _channel
= DEFAULT_TOKEN_CHANNEL
;
609 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:55:18: ( '_Complex' )
610 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:55:20: '_Complex'
617 state
.channel
= _channel
;
620 // do for sure before leaving
623 // $ANTLR end "COMPLEXTOK"
625 // $ANTLR start "IMAGINARYTOK"
626 public final void mIMAGINARYTOK() throws RecognitionException
{
628 int _type
= IMAGINARYTOK
;
629 int _channel
= DEFAULT_TOKEN_CHANNEL
;
630 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:56:18: ( '_Imaginary' )
631 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:56:20: '_Imaginary'
638 state
.channel
= _channel
;
641 // do for sure before leaving
644 // $ANTLR end "IMAGINARYTOK"
646 // $ANTLR start "ENVTOK"
647 public final void mENVTOK() throws RecognitionException
{
650 int _channel
= DEFAULT_TOKEN_CHANNEL
;
651 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:57:18: ( 'env' )
652 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:57:20: 'env'
659 state
.channel
= _channel
;
662 // do for sure before leaving
665 // $ANTLR end "ENVTOK"
667 // $ANTLR start "CLOCKTOK"
668 public final void mCLOCKTOK() throws RecognitionException
{
670 int _type
= CLOCKTOK
;
671 int _channel
= DEFAULT_TOKEN_CHANNEL
;
672 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:58:18: ( 'clock' )
673 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:58:20: 'clock'
680 state
.channel
= _channel
;
683 // do for sure before leaving
686 // $ANTLR end "CLOCKTOK"
688 // $ANTLR start "NANNUMBERTOK"
689 public final void mNANNUMBERTOK() throws RecognitionException
{
691 int _type
= NANNUMBERTOK
;
692 int _channel
= DEFAULT_TOKEN_CHANNEL
;
693 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:65:15: ( 'NaN' )
694 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:65:17: 'NaN'
701 state
.channel
= _channel
;
704 // do for sure before leaving
707 // $ANTLR end "NANNUMBERTOK"
709 // $ANTLR start "INFINITYTOK"
710 public final void mINFINITYTOK() throws RecognitionException
{
712 int _type
= INFINITYTOK
;
713 int _channel
= DEFAULT_TOKEN_CHANNEL
;
714 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:66:15: ( '+inf' )
715 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:66:17: '+inf'
722 state
.channel
= _channel
;
725 // do for sure before leaving
728 // $ANTLR end "INFINITYTOK"
730 // $ANTLR start "NINFINITYTOK"
731 public final void mNINFINITYTOK() throws RecognitionException
{
733 int _type
= NINFINITYTOK
;
734 int _channel
= DEFAULT_TOKEN_CHANNEL
;
735 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:67:15: ( '-inf' )
736 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:67:17: '-inf'
743 state
.channel
= _channel
;
746 // do for sure before leaving
749 // $ANTLR end "NINFINITYTOK"
751 // $ANTLR start "SEPARATOR"
752 public final void mSEPARATOR() throws RecognitionException
{
754 int _type
= SEPARATOR
;
755 int _channel
= DEFAULT_TOKEN_CHANNEL
;
756 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:72:20: ( ',' )
757 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:72:22: ','
763 state
.channel
= _channel
;
766 // do for sure before leaving
769 // $ANTLR end "SEPARATOR"
771 // $ANTLR start "COLON"
772 public final void mCOLON() throws RecognitionException
{
775 int _channel
= DEFAULT_TOKEN_CHANNEL
;
776 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:73:20: ( ':' )
777 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:73:22: ':'
783 state
.channel
= _channel
;
786 // do for sure before leaving
789 // $ANTLR end "COLON"
791 // $ANTLR start "ELIPSES"
792 public final void mELIPSES() throws RecognitionException
{
795 int _channel
= DEFAULT_TOKEN_CHANNEL
;
796 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:74:20: ( '...' )
797 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:74:22: '...'
804 state
.channel
= _channel
;
807 // do for sure before leaving
810 // $ANTLR end "ELIPSES"
812 // $ANTLR start "ASSIGNMENT"
813 public final void mASSIGNMENT() throws RecognitionException
{
815 int _type
= ASSIGNMENT
;
816 int _channel
= DEFAULT_TOKEN_CHANNEL
;
817 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:75:20: ( '=' )
818 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:75:22: '='
824 state
.channel
= _channel
;
827 // do for sure before leaving
830 // $ANTLR end "ASSIGNMENT"
832 // $ANTLR start "TYPE_ASSIGNMENT"
833 public final void mTYPE_ASSIGNMENT() throws RecognitionException
{
835 int _type
= TYPE_ASSIGNMENT
;
836 int _channel
= DEFAULT_TOKEN_CHANNEL
;
837 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:76:20: ( ':=' )
838 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:76:22: ':='
845 state
.channel
= _channel
;
848 // do for sure before leaving
851 // $ANTLR end "TYPE_ASSIGNMENT"
854 public final void mLT() throws RecognitionException
{
857 int _channel
= DEFAULT_TOKEN_CHANNEL
;
858 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:77:20: ( '<' )
859 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:77:22: '<'
865 state
.channel
= _channel
;
868 // do for sure before leaving
874 public final void mGT() throws RecognitionException
{
877 int _channel
= DEFAULT_TOKEN_CHANNEL
;
878 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:78:20: ( '>' )
879 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:78:22: '>'
885 state
.channel
= _channel
;
888 // do for sure before leaving
893 // $ANTLR start "OPENBRAC"
894 public final void mOPENBRAC() throws RecognitionException
{
896 int _type
= OPENBRAC
;
897 int _channel
= DEFAULT_TOKEN_CHANNEL
;
898 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:79:20: ( '[' )
899 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:79:22: '['
905 state
.channel
= _channel
;
908 // do for sure before leaving
911 // $ANTLR end "OPENBRAC"
913 // $ANTLR start "CLOSEBRAC"
914 public final void mCLOSEBRAC() throws RecognitionException
{
916 int _type
= CLOSEBRAC
;
917 int _channel
= DEFAULT_TOKEN_CHANNEL
;
918 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:80:20: ( ']' )
919 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:80:22: ']'
925 state
.channel
= _channel
;
928 // do for sure before leaving
931 // $ANTLR end "CLOSEBRAC"
933 // $ANTLR start "LPAREN"
934 public final void mLPAREN() throws RecognitionException
{
937 int _channel
= DEFAULT_TOKEN_CHANNEL
;
938 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:81:20: ( '(' )
939 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:81:22: '('
945 state
.channel
= _channel
;
948 // do for sure before leaving
951 // $ANTLR end "LPAREN"
953 // $ANTLR start "RPAREN"
954 public final void mRPAREN() throws RecognitionException
{
957 int _channel
= DEFAULT_TOKEN_CHANNEL
;
958 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:82:20: ( ')' )
959 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:82:22: ')'
965 state
.channel
= _channel
;
968 // do for sure before leaving
971 // $ANTLR end "RPAREN"
973 // $ANTLR start "LCURL"
974 public final void mLCURL() throws RecognitionException
{
977 int _channel
= DEFAULT_TOKEN_CHANNEL
;
978 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:83:20: ( '{' )
979 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:83:22: '{'
985 state
.channel
= _channel
;
988 // do for sure before leaving
991 // $ANTLR end "LCURL"
993 // $ANTLR start "RCURL"
994 public final void mRCURL() throws RecognitionException
{
997 int _channel
= DEFAULT_TOKEN_CHANNEL
;
998 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:84:20: ( '}' )
999 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:84:22: '}'
1005 state
.channel
= _channel
;
1008 // do for sure before leaving
1011 // $ANTLR end "RCURL"
1013 // $ANTLR start "TERM"
1014 public final void mTERM() throws RecognitionException
{
1017 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1018 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:85:20: ( ';' )
1019 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:85:22: ';'
1025 state
.channel
= _channel
;
1028 // do for sure before leaving
1031 // $ANTLR end "TERM"
1033 // $ANTLR start "POINTER"
1034 public final void mPOINTER() throws RecognitionException
{
1036 int _type
= POINTER
;
1037 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1038 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:86:20: ( '*' )
1039 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:86:22: '*'
1045 state
.channel
= _channel
;
1048 // do for sure before leaving
1051 // $ANTLR end "POINTER"
1053 // $ANTLR start "SIGN"
1054 public final void mSIGN() throws RecognitionException
{
1057 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1058 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:87:20: ( '+' | '-' )
1059 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1061 if ( input
.LA(1)=='+'||input
.LA(1)=='-' ) {
1065 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1072 state
.channel
= _channel
;
1075 // do for sure before leaving
1078 // $ANTLR end "SIGN"
1080 // $ANTLR start "ARROW"
1081 public final void mARROW() throws RecognitionException
{
1084 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1085 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:88:20: ( '->' )
1086 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:88:22: '->'
1093 state
.channel
= _channel
;
1096 // do for sure before leaving
1099 // $ANTLR end "ARROW"
1101 // $ANTLR start "DOT"
1102 public final void mDOT() throws RecognitionException
{
1105 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1106 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:89:20: ( '.' )
1107 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:89:22: '.'
1113 state
.channel
= _channel
;
1116 // do for sure before leaving
1121 // $ANTLR start "BACKSLASH"
1122 public final void mBACKSLASH() throws RecognitionException
{
1124 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:90:20: ( '\\\\' )
1125 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:90:22: '\\\\'
1132 // do for sure before leaving
1135 // $ANTLR end "BACKSLASH"
1137 // $ANTLR start "DIGIT"
1138 public final void mDIGIT() throws RecognitionException
{
1140 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:93:16: ( '0' .. '9' )
1141 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1143 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '9') ) {
1147 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1155 // do for sure before leaving
1158 // $ANTLR end "DIGIT"
1160 // $ANTLR start "OCT_DIGIT"
1161 public final void mOCT_DIGIT() throws RecognitionException
{
1163 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:94:20: ( '0' .. '7' )
1164 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1166 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
1170 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1178 // do for sure before leaving
1181 // $ANTLR end "OCT_DIGIT"
1183 // $ANTLR start "OCT_PREFIX"
1184 public final void mOCT_PREFIX() throws RecognitionException
{
1186 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:95:21: ( '0' )
1187 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:95:23: '0'
1194 // do for sure before leaving
1197 // $ANTLR end "OCT_PREFIX"
1199 // $ANTLR start "NONZERO_DIGIT"
1200 public final void mNONZERO_DIGIT() throws RecognitionException
{
1202 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:96:24: ( '1' .. '9' )
1203 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1205 if ( (input
.LA(1) >= '1' && input
.LA(1) <= '9') ) {
1209 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1217 // do for sure before leaving
1220 // $ANTLR end "NONZERO_DIGIT"
1222 // $ANTLR start "HEX_DIGIT"
1223 public final void mHEX_DIGIT() throws RecognitionException
{
1225 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:97:20: ( DIGIT | ( 'a' .. 'f' ) | ( 'A' .. 'F' ) )
1226 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1228 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '9')||(input
.LA(1) >= 'A' && input
.LA(1) <= 'F')||(input
.LA(1) >= 'a' && input
.LA(1) <= 'f') ) {
1232 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1240 // do for sure before leaving
1243 // $ANTLR end "HEX_DIGIT"
1245 // $ANTLR start "HEX_PREFIX"
1246 public final void mHEX_PREFIX() throws RecognitionException
{
1248 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:98:21: ( '0' ( 'x' | 'X' ) )
1249 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:98:23: '0' ( 'x' | 'X' )
1252 if ( input
.LA(1)=='X'||input
.LA(1)=='x' ) {
1256 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1264 // do for sure before leaving
1267 // $ANTLR end "HEX_PREFIX"
1269 // $ANTLR start "OCTAL_LITERAL"
1270 public final void mOCTAL_LITERAL() throws RecognitionException
{
1272 int _type
= OCTAL_LITERAL
;
1273 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1274 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:103:15: ( OCT_PREFIX ( OCT_DIGIT )+ ( INTEGER_TYPES_SUFFIX )? )
1275 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:103:17: OCT_PREFIX ( OCT_DIGIT )+ ( INTEGER_TYPES_SUFFIX )?
1279 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:103:28: ( OCT_DIGIT )+
1284 int LA1_0
= input
.LA(1);
1285 if ( ((LA1_0
>= '0' && LA1_0
<= '7')) ) {
1291 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1293 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
1297 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1305 if ( cnt1
>= 1 ) break loop1
;
1306 EarlyExitException eee
= new EarlyExitException(1, input
);
1312 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:103:41: ( INTEGER_TYPES_SUFFIX )?
1314 int LA2_0
= input
.LA(1);
1315 if ( (LA2_0
=='L'||LA2_0
=='U'||LA2_0
=='l'||LA2_0
=='u') ) {
1320 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:103:41: INTEGER_TYPES_SUFFIX
1322 mINTEGER_TYPES_SUFFIX();
1332 state
.channel
= _channel
;
1335 // do for sure before leaving
1338 // $ANTLR end "OCTAL_LITERAL"
1340 // $ANTLR start "DECIMAL_LITERAL"
1341 public final void mDECIMAL_LITERAL() throws RecognitionException
{
1343 int _type
= DECIMAL_LITERAL
;
1344 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1345 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:104:17: ( ( DIGIT )+ ( INTEGER_TYPES_SUFFIX )? )
1346 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:104:19: ( DIGIT )+ ( INTEGER_TYPES_SUFFIX )?
1348 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:104:19: ( DIGIT )+
1353 int LA3_0
= input
.LA(1);
1354 if ( ((LA3_0
>= '0' && LA3_0
<= '9')) ) {
1360 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1362 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '9') ) {
1366 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1374 if ( cnt3
>= 1 ) break loop3
;
1375 EarlyExitException eee
= new EarlyExitException(3, input
);
1381 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:104:26: ( INTEGER_TYPES_SUFFIX )?
1383 int LA4_0
= input
.LA(1);
1384 if ( (LA4_0
=='L'||LA4_0
=='U'||LA4_0
=='l'||LA4_0
=='u') ) {
1389 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:104:26: INTEGER_TYPES_SUFFIX
1391 mINTEGER_TYPES_SUFFIX();
1401 state
.channel
= _channel
;
1404 // do for sure before leaving
1407 // $ANTLR end "DECIMAL_LITERAL"
1409 // $ANTLR start "HEX_LITERAL"
1410 public final void mHEX_LITERAL() throws RecognitionException
{
1412 int _type
= HEX_LITERAL
;
1413 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1414 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:105:13: ( HEX_PREFIX ( HEX_DIGIT )+ ( INTEGER_TYPES_SUFFIX )? )
1415 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:105:15: HEX_PREFIX ( HEX_DIGIT )+ ( INTEGER_TYPES_SUFFIX )?
1419 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:105:26: ( HEX_DIGIT )+
1424 int LA5_0
= input
.LA(1);
1425 if ( ((LA5_0
>= '0' && LA5_0
<= '9')||(LA5_0
>= 'A' && LA5_0
<= 'F')||(LA5_0
>= 'a' && LA5_0
<= 'f')) ) {
1431 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1433 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '9')||(input
.LA(1) >= 'A' && input
.LA(1) <= 'F')||(input
.LA(1) >= 'a' && input
.LA(1) <= 'f') ) {
1437 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1445 if ( cnt5
>= 1 ) break loop5
;
1446 EarlyExitException eee
= new EarlyExitException(5, input
);
1452 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:105:37: ( INTEGER_TYPES_SUFFIX )?
1454 int LA6_0
= input
.LA(1);
1455 if ( (LA6_0
=='L'||LA6_0
=='U'||LA6_0
=='l'||LA6_0
=='u') ) {
1460 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:105:37: INTEGER_TYPES_SUFFIX
1462 mINTEGER_TYPES_SUFFIX();
1472 state
.channel
= _channel
;
1475 // do for sure before leaving
1478 // $ANTLR end "HEX_LITERAL"
1480 // $ANTLR start "INTEGER_TYPES_SUFFIX"
1481 public final void mINTEGER_TYPES_SUFFIX() throws RecognitionException
{
1483 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:113:3: ( ( 'l' ( 'l' )? | 'L' ( 'L' )? ) | ( 'u' | 'U' ) | ( 'u' | 'U' ) ( 'l' ( 'l' )? | 'L' ( 'L' )? ) | ( 'l' ( 'l' )? | 'L' ( 'L' )? ) ( 'u' | 'U' ) )
1485 switch ( input
.LA(1) ) {
1488 switch ( input
.LA(2) ) {
1491 int LA16_4
= input
.LA(3);
1492 if ( (LA16_4
=='U'||LA16_4
=='u') ) {
1515 switch ( input
.LA(2) ) {
1518 int LA16_7
= input
.LA(3);
1519 if ( (LA16_7
=='U'||LA16_7
=='u') ) {
1543 int LA16_3
= input
.LA(2);
1544 if ( (LA16_3
=='L'||LA16_3
=='l') ) {
1555 NoViableAltException nvae
=
1556 new NoViableAltException("", 16, 0, input
);
1561 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:113:5: ( 'l' ( 'l' )? | 'L' ( 'L' )? )
1563 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:113:5: ( 'l' ( 'l' )? | 'L' ( 'L' )? )
1565 int LA9_0
= input
.LA(1);
1566 if ( (LA9_0
=='l') ) {
1569 else if ( (LA9_0
=='L') ) {
1574 NoViableAltException nvae
=
1575 new NoViableAltException("", 9, 0, input
);
1581 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:113:6: 'l' ( 'l' )?
1584 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:113:10: ( 'l' )?
1586 int LA7_0
= input
.LA(1);
1587 if ( (LA7_0
=='l') ) {
1592 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:113:11: 'l'
1603 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:113:19: 'L' ( 'L' )?
1606 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:113:23: ( 'L' )?
1608 int LA8_0
= input
.LA(1);
1609 if ( (LA8_0
=='L') ) {
1614 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:113:24: 'L'
1630 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:114:5: ( 'u' | 'U' )
1632 if ( input
.LA(1)=='U'||input
.LA(1)=='u' ) {
1636 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1643 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:115:5: ( 'u' | 'U' ) ( 'l' ( 'l' )? | 'L' ( 'L' )? )
1645 if ( input
.LA(1)=='U'||input
.LA(1)=='u' ) {
1649 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1653 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:115:17: ( 'l' ( 'l' )? | 'L' ( 'L' )? )
1655 int LA12_0
= input
.LA(1);
1656 if ( (LA12_0
=='l') ) {
1659 else if ( (LA12_0
=='L') ) {
1664 NoViableAltException nvae
=
1665 new NoViableAltException("", 12, 0, input
);
1671 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:115:18: 'l' ( 'l' )?
1674 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:115:22: ( 'l' )?
1676 int LA10_0
= input
.LA(1);
1677 if ( (LA10_0
=='l') ) {
1682 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:115:23: 'l'
1693 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:115:31: 'L' ( 'L' )?
1696 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:115:35: ( 'L' )?
1698 int LA11_0
= input
.LA(1);
1699 if ( (LA11_0
=='L') ) {
1704 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:115:36: 'L'
1720 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:116:5: ( 'l' ( 'l' )? | 'L' ( 'L' )? ) ( 'u' | 'U' )
1722 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:116:5: ( 'l' ( 'l' )? | 'L' ( 'L' )? )
1724 int LA15_0
= input
.LA(1);
1725 if ( (LA15_0
=='l') ) {
1728 else if ( (LA15_0
=='L') ) {
1733 NoViableAltException nvae
=
1734 new NoViableAltException("", 15, 0, input
);
1740 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:116:6: 'l' ( 'l' )?
1743 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:116:10: ( 'l' )?
1745 int LA13_0
= input
.LA(1);
1746 if ( (LA13_0
=='l') ) {
1751 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:116:11: 'l'
1762 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:116:19: 'L' ( 'L' )?
1765 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:116:23: ( 'L' )?
1767 int LA14_0
= input
.LA(1);
1768 if ( (LA14_0
=='L') ) {
1773 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:116:24: 'L'
1786 if ( input
.LA(1)=='U'||input
.LA(1)=='u' ) {
1790 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1800 // do for sure before leaving
1803 // $ANTLR end "INTEGER_TYPES_SUFFIX"
1805 // $ANTLR start "ESCAPE_SEQUENCE"
1806 public final void mESCAPE_SEQUENCE() throws RecognitionException
{
1808 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:123:3: ( BACKSLASH ( '\\'' | '\"' | '?' | BACKSLASH | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' ) | OCTAL_ESCAPE | UNICODE_ESCAPE | HEXADECIMAL_ESCAPE )
1810 int LA17_0
= input
.LA(1);
1811 if ( (LA17_0
=='\\') ) {
1812 switch ( input
.LA(2) ) {
1852 int nvaeMark
= input
.mark();
1855 NoViableAltException nvae
=
1856 new NoViableAltException("", 17, 1, input
);
1859 input
.rewind(nvaeMark
);
1865 NoViableAltException nvae
=
1866 new NoViableAltException("", 17, 0, input
);
1872 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:123:5: BACKSLASH ( '\\'' | '\"' | '?' | BACKSLASH | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' )
1876 if ( input
.LA(1)=='\"'||input
.LA(1)=='\''||input
.LA(1)=='?'||input
.LA(1)=='\\'||(input
.LA(1) >= 'a' && input
.LA(1) <= 'b')||input
.LA(1)=='f'||input
.LA(1)=='n'||input
.LA(1)=='r'||input
.LA(1)=='t'||input
.LA(1)=='v' ) {
1880 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1887 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:124:5: OCTAL_ESCAPE
1894 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:125:5: UNICODE_ESCAPE
1901 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:126:5: HEXADECIMAL_ESCAPE
1903 mHEXADECIMAL_ESCAPE();
1911 // do for sure before leaving
1914 // $ANTLR end "ESCAPE_SEQUENCE"
1916 // $ANTLR start "OCTAL_ESCAPE"
1917 public final void mOCTAL_ESCAPE() throws RecognitionException
{
1919 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:133:3: ( BACKSLASH ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | BACKSLASH ( '0' .. '7' ) ( '0' .. '7' ) | BACKSLASH ( '0' .. '7' ) )
1921 int LA18_0
= input
.LA(1);
1922 if ( (LA18_0
=='\\') ) {
1923 int LA18_1
= input
.LA(2);
1924 if ( ((LA18_1
>= '0' && LA18_1
<= '3')) ) {
1925 int LA18_2
= input
.LA(3);
1926 if ( ((LA18_2
>= '0' && LA18_2
<= '7')) ) {
1927 int LA18_4
= input
.LA(4);
1928 if ( ((LA18_4
>= '0' && LA18_4
<= '7')) ) {
1943 else if ( ((LA18_1
>= '4' && LA18_1
<= '7')) ) {
1944 int LA18_3
= input
.LA(3);
1945 if ( ((LA18_3
>= '0' && LA18_3
<= '7')) ) {
1956 int nvaeMark
= input
.mark();
1959 NoViableAltException nvae
=
1960 new NoViableAltException("", 18, 1, input
);
1963 input
.rewind(nvaeMark
);
1970 NoViableAltException nvae
=
1971 new NoViableAltException("", 18, 0, input
);
1977 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:133:5: BACKSLASH ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
1981 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '3') ) {
1985 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1989 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
1993 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1997 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
2001 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2008 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:134:5: BACKSLASH ( '0' .. '7' ) ( '0' .. '7' )
2012 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
2016 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2020 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
2024 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2031 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:135:5: BACKSLASH ( '0' .. '7' )
2035 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
2039 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2049 // do for sure before leaving
2052 // $ANTLR end "OCTAL_ESCAPE"
2054 // $ANTLR start "HEXADECIMAL_ESCAPE"
2055 public final void mHEXADECIMAL_ESCAPE() throws RecognitionException
{
2057 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:141:29: ( BACKSLASH 'x' ( HEX_DIGIT )+ )
2058 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:141:31: BACKSLASH 'x' ( HEX_DIGIT )+
2063 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:141:45: ( HEX_DIGIT )+
2068 int LA19_0
= input
.LA(1);
2069 if ( ((LA19_0
>= '0' && LA19_0
<= '9')||(LA19_0
>= 'A' && LA19_0
<= 'F')||(LA19_0
>= 'a' && LA19_0
<= 'f')) ) {
2075 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2077 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '9')||(input
.LA(1) >= 'A' && input
.LA(1) <= 'F')||(input
.LA(1) >= 'a' && input
.LA(1) <= 'f') ) {
2081 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2089 if ( cnt19
>= 1 ) break loop19
;
2090 EarlyExitException eee
= new EarlyExitException(19, input
);
2100 // do for sure before leaving
2103 // $ANTLR end "HEXADECIMAL_ESCAPE"
2105 // $ANTLR start "UNICODE_ESCAPE"
2106 public final void mUNICODE_ESCAPE() throws RecognitionException
{
2108 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:147:3: ( BACKSLASH 'u' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT | BACKSLASH 'U' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT )
2110 int LA20_0
= input
.LA(1);
2111 if ( (LA20_0
=='\\') ) {
2112 int LA20_1
= input
.LA(2);
2113 if ( (LA20_1
=='u') ) {
2116 else if ( (LA20_1
=='U') ) {
2121 int nvaeMark
= input
.mark();
2124 NoViableAltException nvae
=
2125 new NoViableAltException("", 20, 1, input
);
2128 input
.rewind(nvaeMark
);
2135 NoViableAltException nvae
=
2136 new NoViableAltException("", 20, 0, input
);
2142 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:147:5: BACKSLASH 'u' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT
2158 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:148:5: BACKSLASH 'U' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT
2185 // do for sure before leaving
2188 // $ANTLR end "UNICODE_ESCAPE"
2190 // $ANTLR start "STRINGPREFIX"
2191 public final void mSTRINGPREFIX() throws RecognitionException
{
2193 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:153:23: ( 'L' )
2194 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:153:25: 'L'
2201 // do for sure before leaving
2204 // $ANTLR end "STRINGPREFIX"
2206 // $ANTLR start "CHARACTER_LITERAL"
2207 public final void mCHARACTER_LITERAL() throws RecognitionException
{
2209 int _type
= CHARACTER_LITERAL
;
2210 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2211 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:158:19: ( ( STRINGPREFIX )? SINGLEQUOTE ( CHAR_CONTENT )+ SINGLEQUOTE )
2212 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:158:21: ( STRINGPREFIX )? SINGLEQUOTE ( CHAR_CONTENT )+ SINGLEQUOTE
2214 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:158:21: ( STRINGPREFIX )?
2216 int LA21_0
= input
.LA(1);
2217 if ( (LA21_0
=='L') ) {
2222 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2224 if ( input
.LA(1)=='L' ) {
2228 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2239 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:158:47: ( CHAR_CONTENT )+
2244 int LA22_0
= input
.LA(1);
2245 if ( ((LA22_0
>= '\u0000' && LA22_0
<= '&')||(LA22_0
>= '(' && LA22_0
<= '\uFFFF')) ) {
2251 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:158:47: CHAR_CONTENT
2259 if ( cnt22
>= 1 ) break loop22
;
2260 EarlyExitException eee
= new EarlyExitException(22, input
);
2271 state
.channel
= _channel
;
2274 // do for sure before leaving
2277 // $ANTLR end "CHARACTER_LITERAL"
2279 // $ANTLR start "CHAR_CONTENT"
2280 public final void mCHAR_CONTENT() throws RecognitionException
{
2282 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:159:23: ( ( ESCAPE_SEQUENCE |~ ( BACKSLASH | SINGLEQUOTE ) ) )
2283 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:159:25: ( ESCAPE_SEQUENCE |~ ( BACKSLASH | SINGLEQUOTE ) )
2285 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:159:25: ( ESCAPE_SEQUENCE |~ ( BACKSLASH | SINGLEQUOTE ) )
2287 int LA23_0
= input
.LA(1);
2288 if ( (LA23_0
=='\\') ) {
2291 else if ( ((LA23_0
>= '\u0000' && LA23_0
<= '&')||(LA23_0
>= '(' && LA23_0
<= '[')||(LA23_0
>= ']' && LA23_0
<= '\uFFFF')) ) {
2296 NoViableAltException nvae
=
2297 new NoViableAltException("", 23, 0, input
);
2303 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:159:26: ESCAPE_SEQUENCE
2310 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:159:44: ~ ( BACKSLASH | SINGLEQUOTE )
2312 if ( (input
.LA(1) >= '\u0000' && input
.LA(1) <= '&')||(input
.LA(1) >= '(' && input
.LA(1) <= '[')||(input
.LA(1) >= ']' && input
.LA(1) <= '\uFFFF') ) {
2316 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2329 // do for sure before leaving
2332 // $ANTLR end "CHAR_CONTENT"
2334 // $ANTLR start "SINGLEQUOTE"
2335 public final void mSINGLEQUOTE() throws RecognitionException
{
2337 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:160:22: ( '\\'' )
2338 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:160:24: '\\''
2345 // do for sure before leaving
2348 // $ANTLR end "SINGLEQUOTE"
2350 // $ANTLR start "STRING_LITERAL"
2351 public final void mSTRING_LITERAL() throws RecognitionException
{
2353 int _type
= STRING_LITERAL
;
2354 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2355 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:165:16: ( ( STRINGPREFIX )? DOUBLEQUOTE ( STRING_CONTENT )* DOUBLEQUOTE )
2356 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:165:18: ( STRINGPREFIX )? DOUBLEQUOTE ( STRING_CONTENT )* DOUBLEQUOTE
2358 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:165:18: ( STRINGPREFIX )?
2360 int LA24_0
= input
.LA(1);
2361 if ( (LA24_0
=='L') ) {
2366 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2368 if ( input
.LA(1)=='L' ) {
2372 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2383 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:165:44: ( STRING_CONTENT )*
2387 int LA25_0
= input
.LA(1);
2388 if ( ((LA25_0
>= '\u0000' && LA25_0
<= '!')||(LA25_0
>= '#' && LA25_0
<= '\uFFFF')) ) {
2394 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:165:44: STRING_CONTENT
2411 state
.channel
= _channel
;
2414 // do for sure before leaving
2417 // $ANTLR end "STRING_LITERAL"
2419 // $ANTLR start "STRING_CONTENT"
2420 public final void mSTRING_CONTENT() throws RecognitionException
{
2422 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:166:25: ( ( ESCAPE_SEQUENCE |~ ( BACKSLASH | DOUBLEQUOTE ) ) )
2423 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:166:27: ( ESCAPE_SEQUENCE |~ ( BACKSLASH | DOUBLEQUOTE ) )
2425 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:166:27: ( ESCAPE_SEQUENCE |~ ( BACKSLASH | DOUBLEQUOTE ) )
2427 int LA26_0
= input
.LA(1);
2428 if ( (LA26_0
=='\\') ) {
2431 else if ( ((LA26_0
>= '\u0000' && LA26_0
<= '!')||(LA26_0
>= '#' && LA26_0
<= '[')||(LA26_0
>= ']' && LA26_0
<= '\uFFFF')) ) {
2436 NoViableAltException nvae
=
2437 new NoViableAltException("", 26, 0, input
);
2443 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:166:28: ESCAPE_SEQUENCE
2450 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:166:46: ~ ( BACKSLASH | DOUBLEQUOTE )
2452 if ( (input
.LA(1) >= '\u0000' && input
.LA(1) <= '!')||(input
.LA(1) >= '#' && input
.LA(1) <= '[')||(input
.LA(1) >= ']' && input
.LA(1) <= '\uFFFF') ) {
2456 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2469 // do for sure before leaving
2472 // $ANTLR end "STRING_CONTENT"
2474 // $ANTLR start "DOUBLEQUOTE"
2475 public final void mDOUBLEQUOTE() throws RecognitionException
{
2477 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:167:22: ( '\"' )
2478 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:167:24: '\"'
2485 // do for sure before leaving
2488 // $ANTLR end "DOUBLEQUOTE"
2490 // $ANTLR start "WS"
2491 public final void mWS() throws RecognitionException
{
2494 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2495 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:172:4: ( ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' ) )
2496 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:172:6: ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' )
2498 if ( (input
.LA(1) >= '\t' && input
.LA(1) <= '\n')||(input
.LA(1) >= '\f' && input
.LA(1) <= '\r')||input
.LA(1)==' ' ) {
2502 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2510 state
.channel
= _channel
;
2513 // do for sure before leaving
2518 // $ANTLR start "COMMENT"
2519 public final void mCOMMENT() throws RecognitionException
{
2521 int _type
= COMMENT
;
2522 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2523 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:179:9: ( COMMENT_OPEN ( . )* COMMENT_CLOSE )
2524 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:179:11: COMMENT_OPEN ( . )* COMMENT_CLOSE
2528 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:179:24: ( . )*
2532 int LA27_0
= input
.LA(1);
2533 if ( (LA27_0
=='*') ) {
2534 int LA27_1
= input
.LA(2);
2535 if ( (LA27_1
=='/') ) {
2538 else if ( ((LA27_1
>= '\u0000' && LA27_1
<= '.')||(LA27_1
>= '0' && LA27_1
<= '\uFFFF')) ) {
2543 else if ( ((LA27_0
>= '\u0000' && LA27_0
<= ')')||(LA27_0
>= '+' && LA27_0
<= '\uFFFF')) ) {
2549 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:179:24: .
2566 state
.channel
= _channel
;
2569 // do for sure before leaving
2572 // $ANTLR end "COMMENT"
2574 // $ANTLR start "COMMENT_OPEN"
2575 public final void mCOMMENT_OPEN() throws RecognitionException
{
2577 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:180:23: ( '/*' )
2578 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:180:25: '/*'
2586 // do for sure before leaving
2589 // $ANTLR end "COMMENT_OPEN"
2591 // $ANTLR start "COMMENT_CLOSE"
2592 public final void mCOMMENT_CLOSE() throws RecognitionException
{
2594 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:181:24: ( '*/' )
2595 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:181:26: '*/'
2603 // do for sure before leaving
2606 // $ANTLR end "COMMENT_CLOSE"
2608 // $ANTLR start "LINE_COMMENT"
2609 public final void mLINE_COMMENT() throws RecognitionException
{
2611 int _type
= LINE_COMMENT
;
2612 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2613 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:186:14: ( '//' (~ ( '\\n' ) )* '\\n' )
2614 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:186:16: '//' (~ ( '\\n' ) )* '\\n'
2618 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:186:21: (~ ( '\\n' ) )*
2622 int LA28_0
= input
.LA(1);
2623 if ( ((LA28_0
>= '\u0000' && LA28_0
<= '\t')||(LA28_0
>= '\u000B' && LA28_0
<= '\uFFFF')) ) {
2629 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2631 if ( (input
.LA(1) >= '\u0000' && input
.LA(1) <= '\t')||(input
.LA(1) >= '\u000B' && input
.LA(1) <= '\uFFFF') ) {
2635 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2652 state
.channel
= _channel
;
2655 // do for sure before leaving
2658 // $ANTLR end "LINE_COMMENT"
2660 // $ANTLR start "IDENTIFIER"
2661 public final void mIDENTIFIER() throws RecognitionException
{
2663 int _type
= IDENTIFIER
;
2664 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2665 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:191:12: ( NONDIGIT ( NONDIGIT | DIGIT )* )
2666 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:191:14: NONDIGIT ( NONDIGIT | DIGIT )*
2670 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:191:23: ( NONDIGIT | DIGIT )*
2674 int LA29_0
= input
.LA(1);
2675 if ( ((LA29_0
>= '0' && LA29_0
<= '9')||(LA29_0
>= 'A' && LA29_0
<= 'Z')||LA29_0
=='_'||(LA29_0
>= 'a' && LA29_0
<= 'z')) ) {
2681 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2683 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '9')||(input
.LA(1) >= 'A' && input
.LA(1) <= 'Z')||input
.LA(1)=='_'||(input
.LA(1) >= 'a' && input
.LA(1) <= 'z') ) {
2687 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2702 state
.channel
= _channel
;
2705 // do for sure before leaving
2708 // $ANTLR end "IDENTIFIER"
2710 // $ANTLR start "NONDIGIT"
2711 public final void mNONDIGIT() throws RecognitionException
{
2713 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:192:19: ( ( '_' ) | ( 'A' .. 'Z' ) | ( 'a' .. 'z' ) )
2714 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2716 if ( (input
.LA(1) >= 'A' && input
.LA(1) <= 'Z')||input
.LA(1)=='_'||(input
.LA(1) >= 'a' && input
.LA(1) <= 'z') ) {
2720 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2728 // do for sure before leaving
2731 // $ANTLR end "NONDIGIT"
2734 public void mTokens() throws RecognitionException
{
2735 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:8: ( ALIGNTOK | CONSTTOK | CHARTOK | DOUBLETOK | ENUMTOK | EVENTTOK | FLOATINGPOINTTOK | FLOATTOK | INTEGERTOK | INTTOK | LONGTOK | SHORTTOK | SIGNEDTOK | STREAMTOK | STRINGTOK | STRUCTTOK | TRACETOK | TYPEALIASTOK | TYPEDEFTOK | UNSIGNEDTOK | VARIANTTOK | VOIDTOK | BOOLTOK | COMPLEXTOK | IMAGINARYTOK | ENVTOK | CLOCKTOK | NANNUMBERTOK | INFINITYTOK | NINFINITYTOK | SEPARATOR | COLON | ELIPSES | ASSIGNMENT | TYPE_ASSIGNMENT | LT | GT | OPENBRAC | CLOSEBRAC | LPAREN | RPAREN | LCURL | RCURL | TERM | POINTER | SIGN | ARROW | DOT | OCTAL_LITERAL | DECIMAL_LITERAL | HEX_LITERAL | CHARACTER_LITERAL | STRING_LITERAL | WS | COMMENT | LINE_COMMENT | IDENTIFIER )
2737 alt30
= dfa30
.predict(input
);
2740 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:10: ALIGNTOK
2747 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:19: CONSTTOK
2754 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:28: CHARTOK
2761 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:36: DOUBLETOK
2768 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:46: ENUMTOK
2775 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:54: EVENTTOK
2782 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:63: FLOATINGPOINTTOK
2784 mFLOATINGPOINTTOK();
2789 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:80: FLOATTOK
2796 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:89: INTEGERTOK
2803 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:100: INTTOK
2810 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:107: LONGTOK
2817 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:115: SHORTTOK
2824 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:124: SIGNEDTOK
2831 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:134: STREAMTOK
2838 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:144: STRINGTOK
2845 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:154: STRUCTTOK
2852 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:164: TRACETOK
2859 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:173: TYPEALIASTOK
2866 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:186: TYPEDEFTOK
2873 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:197: UNSIGNEDTOK
2880 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:209: VARIANTTOK
2887 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:220: VOIDTOK
2894 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:228: BOOLTOK
2901 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:236: COMPLEXTOK
2908 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:247: IMAGINARYTOK
2915 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:260: ENVTOK
2922 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:267: CLOCKTOK
2929 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:276: NANNUMBERTOK
2936 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:289: INFINITYTOK
2943 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:301: NINFINITYTOK
2950 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:314: SEPARATOR
2957 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:324: COLON
2964 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:330: ELIPSES
2971 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:338: ASSIGNMENT
2978 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:349: TYPE_ASSIGNMENT
2985 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:365: LT
2992 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:368: GT
2999 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:371: OPENBRAC
3006 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:380: CLOSEBRAC
3013 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:390: LPAREN
3020 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:397: RPAREN
3027 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:404: LCURL
3034 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:410: RCURL
3041 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:416: TERM
3048 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:421: POINTER
3055 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:429: SIGN
3062 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:434: ARROW
3069 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:440: DOT
3076 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:444: OCTAL_LITERAL
3083 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:458: DECIMAL_LITERAL
3090 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:474: HEX_LITERAL
3097 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:486: CHARACTER_LITERAL
3099 mCHARACTER_LITERAL();
3104 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:504: STRING_LITERAL
3111 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:519: WS
3118 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:522: COMMENT
3125 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:530: LINE_COMMENT
3132 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:543: IDENTIFIER
3143 protected DFA30 dfa30
= new DFA30(this);
3144 static final String DFA30_eotS
=
3145 "\1\uffff\15\45\2\75\1\uffff\1\101\1\103\13\uffff\1\37\1\uffff\1\45\5\uffff"+
3146 "\26\45\11\uffff\1\142\2\uffff\6\45\1\151\2\45\1\155\14\45\1\174\3\142"+
3147 "\1\uffff\2\45\1\u0084\2\45\1\u0087\1\uffff\3\45\1\uffff\1\u008b\11\45"+
3148 "\1\u0096\3\45\1\uffff\1\142\1\uffff\3\142\1\u009c\1\u009d\1\uffff\1\u009e"+
3149 "\1\45\1\uffff\1\u00a0\1\u00a2\1\45\1\uffff\1\u00a4\4\45\1\u00a9\4\45\1"+
3150 "\uffff\1\u00ae\2\45\5\uffff\1\u00b1\1\uffff\1\45\1\uffff\1\45\1\uffff"+
3151 "\1\u00b4\1\u00b5\1\u00b6\1\u00b7\1\uffff\4\45\1\uffff\2\45\1\uffff\1\45"+
3152 "\1\u00bf\4\uffff\1\45\1\u00c1\1\45\1\u00c3\3\45\1\uffff\1\45\1\uffff\1"+
3153 "\u00c8\1\uffff\1\u00c9\2\45\1\u00cc\2\uffff\2\45\1\uffff\1\u00cf\1\45"+
3154 "\1\uffff\2\45\1\u00d3\1\uffff";
3155 static final String DFA30_eofS
=
3157 static final String DFA30_minS
=
3158 "\1\11\1\154\1\150\1\157\1\156\1\154\1\156\1\157\1\150\1\162\1\156\1\141"+
3159 "\1\102\1\141\1\151\1\76\1\uffff\1\75\1\56\13\uffff\1\60\1\uffff\1\42\3"+
3160 "\uffff\1\52\1\uffff\1\151\1\156\1\141\1\157\2\165\1\145\1\157\1\164\1"+
3161 "\156\1\157\1\147\1\162\1\141\1\160\1\163\1\162\1\151\2\157\1\155\1\116"+
3162 "\11\uffff\1\60\2\uffff\1\147\1\163\1\162\1\143\1\142\1\155\1\60\1\156"+
3163 "\1\141\1\60\1\147\1\162\1\156\1\145\1\143\1\145\2\151\1\144\1\157\1\155"+
3164 "\1\141\1\60\1\125\2\114\1\uffff\1\156\1\164\1\60\1\153\1\154\1\60\1\uffff"+
3165 "\2\164\1\147\1\uffff\1\60\1\164\1\145\1\141\1\156\1\143\1\145\1\141\1"+
3166 "\147\1\141\1\60\1\154\1\160\1\147\1\uffff\1\125\1\uffff\1\125\1\154\1"+
3167 "\114\2\60\1\uffff\1\60\1\145\1\uffff\2\60\1\145\1\uffff\1\60\1\144\1\155"+
3168 "\1\147\1\164\1\60\1\154\1\145\2\156\1\uffff\1\60\1\154\1\151\5\uffff\1"+
3169 "\60\1\uffff\1\156\1\uffff\1\162\1\uffff\4\60\1\uffff\1\151\1\146\1\145"+
3170 "\1\164\1\uffff\1\145\1\156\1\uffff\1\147\1\60\4\uffff\1\141\1\60\1\144"+
3171 "\1\60\1\170\1\141\1\137\1\uffff\1\163\1\uffff\1\60\1\uffff\1\60\1\162"+
3172 "\1\160\1\60\2\uffff\1\171\1\157\1\uffff\1\60\1\151\1\uffff\1\156\1\164"+
3174 static final String DFA30_maxS
=
3175 "\1\175\1\154\2\157\1\166\1\154\1\156\1\157\1\164\1\171\1\156\1\157\1\111"+
3176 "\1\141\2\151\1\uffff\1\75\1\56\13\uffff\1\170\1\uffff\1\47\3\uffff\1\57"+
3177 "\1\uffff\1\151\1\156\1\141\1\157\1\165\1\166\1\145\1\157\1\164\1\156\1"+
3178 "\157\1\147\1\162\1\141\1\160\1\163\1\162\1\151\2\157\1\155\1\116\11\uffff"+
3179 "\1\165\2\uffff\1\147\1\163\1\162\1\143\1\142\1\155\1\172\1\156\1\141\1"+
3180 "\172\1\147\1\162\1\156\1\165\1\143\1\145\2\151\1\144\1\157\1\155\1\141"+
3181 "\1\172\2\165\1\154\1\uffff\1\156\1\164\1\172\1\153\1\154\1\172\1\uffff"+
3182 "\2\164\1\147\1\uffff\1\172\1\164\1\145\1\141\1\156\1\143\1\145\1\144\1"+
3183 "\147\1\141\1\172\1\154\1\160\1\147\1\uffff\1\165\1\uffff\1\165\1\154\1"+
3184 "\114\2\172\1\uffff\1\172\1\145\1\uffff\2\172\1\145\1\uffff\1\172\1\144"+
3185 "\1\155\1\147\1\164\1\172\1\154\1\145\2\156\1\uffff\1\172\1\154\1\151\5"+
3186 "\uffff\1\172\1\uffff\1\156\1\uffff\1\162\1\uffff\4\172\1\uffff\1\151\1"+
3187 "\146\1\145\1\164\1\uffff\1\145\1\156\1\uffff\1\147\1\172\4\uffff\1\141"+
3188 "\1\172\1\144\1\172\1\170\1\141\1\137\1\uffff\1\163\1\uffff\1\172\1\uffff"+
3189 "\1\172\1\162\1\160\1\172\2\uffff\1\171\1\157\1\uffff\1\172\1\151\1\uffff"+
3190 "\1\156\1\164\1\172\1\uffff";
3191 static final String DFA30_acceptS
=
3192 "\20\uffff\1\37\2\uffff\1\42\1\44\1\45\1\46\1\47\1\50\1\51\1\52\1\53\1"+
3193 "\54\1\55\1\uffff\1\62\1\uffff\1\64\1\65\1\66\1\uffff\1\71\26\uffff\1\35"+
3194 "\1\56\1\36\1\57\1\43\1\40\1\41\1\60\1\63\1\uffff\1\67\1\70\32\uffff\1"+
3195 "\61\6\uffff\1\32\3\uffff\1\12\16\uffff\1\34\1\uffff\1\61\5\uffff\1\3\2"+
3196 "\uffff\1\5\3\uffff\1\13\12\uffff\1\26\3\uffff\2\61\1\1\1\2\1\33\1\uffff"+
3197 "\1\6\1\uffff\1\10\1\uffff\1\14\4\uffff\1\21\4\uffff\1\27\2\uffff\1\4\2"+
3198 "\uffff\1\15\1\16\1\17\1\20\7\uffff\1\11\1\uffff\1\23\1\uffff\1\25\4\uffff"+
3199 "\1\24\1\30\2\uffff\1\22\2\uffff\1\31\3\uffff\1\7";
3200 static final String DFA30_specialS
=
3202 static final String
[] DFA30_transitionS
= {
3203 "\2\43\1\uffff\2\43\22\uffff\1\43\1\uffff\1\42\4\uffff\1\41\1\30\1\31"+
3204 "\1\35\1\16\1\20\1\17\1\22\1\44\1\36\11\37\1\21\1\34\1\24\1\23\1\25\2"+
3205 "\uffff\13\45\1\40\1\45\1\15\14\45\1\26\1\uffff\1\27\1\uffff\1\14\1\uffff"+
3206 "\1\1\1\45\1\2\1\3\1\4\1\5\2\45\1\6\2\45\1\7\6\45\1\10\1\11\1\12\1\13"+
3207 "\4\45\1\32\1\uffff\1\33",
3209 "\1\50\3\uffff\1\51\2\uffff\1\47",
3211 "\1\53\7\uffff\1\54",
3215 "\1\60\1\61\12\uffff\1\62",
3216 "\1\63\6\uffff\1\64",
3218 "\1\66\15\uffff\1\67",
3219 "\1\70\1\71\5\uffff\1\72",
3222 "\1\77\52\uffff\1\76",
3237 "\10\105\40\uffff\1\104\37\uffff\1\104",
3239 "\1\42\4\uffff\1\41",
3243 "\1\106\4\uffff\1\107",
3276 "\10\105\2\37\22\uffff\1\140\10\uffff\1\141\26\uffff\1\137\10\uffff\1"+
3286 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3289 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\4\45\1\154\25\45",
3293 "\1\161\3\uffff\1\162\13\uffff\1\163",
3302 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3303 "\1\176\26\uffff\1\175\10\uffff\1\176",
3304 "\1\177\10\uffff\1\176\37\uffff\1\176",
3305 "\1\u0081\37\uffff\1\u0080",
3309 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3312 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3318 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3325 "\1\u0092\2\uffff\1\u0093",
3328 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3333 "\1\176\37\uffff\1\176",
3335 "\1\176\37\uffff\1\176",
3338 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3339 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3341 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3344 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3345 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\10\45\1\u00a1\21\45",
3348 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3353 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3359 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3367 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3373 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3374 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3375 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3376 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3387 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3393 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3395 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3402 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3404 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3407 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3413 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3418 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3422 static final short[] DFA30_eot
= DFA
.unpackEncodedString(DFA30_eotS
);
3423 static final short[] DFA30_eof
= DFA
.unpackEncodedString(DFA30_eofS
);
3424 static final char[] DFA30_min
= DFA
.unpackEncodedStringToUnsignedChars(DFA30_minS
);
3425 static final char[] DFA30_max
= DFA
.unpackEncodedStringToUnsignedChars(DFA30_maxS
);
3426 static final short[] DFA30_accept
= DFA
.unpackEncodedString(DFA30_acceptS
);
3427 static final short[] DFA30_special
= DFA
.unpackEncodedString(DFA30_specialS
);
3428 static final short[][] DFA30_transition
;
3431 int numStates
= DFA30_transitionS
.length
;
3432 DFA30_transition
= new short[numStates
][];
3433 for (int i
=0; i
<numStates
; i
++) {
3434 DFA30_transition
[i
] = DFA
.unpackEncodedString(DFA30_transitionS
[i
]);
3438 protected class DFA30
extends DFA
{
3440 public DFA30(BaseRecognizer recognizer
) {
3441 this.recognizer
= recognizer
;
3442 this.decisionNumber
= 30;
3443 this.eot
= DFA30_eot
;
3444 this.eof
= DFA30_eof
;
3445 this.min
= DFA30_min
;
3446 this.max
= DFA30_max
;
3447 this.accept
= DFA30_accept
;
3448 this.special
= DFA30_special
;
3449 this.transition
= DFA30_transition
;
3452 public String
getDescription() {
3453 return "1:1: Tokens : ( ALIGNTOK | CONSTTOK | CHARTOK | DOUBLETOK | ENUMTOK | EVENTTOK | FLOATINGPOINTTOK | FLOATTOK | INTEGERTOK | INTTOK | LONGTOK | SHORTTOK | SIGNEDTOK | STREAMTOK | STRINGTOK | STRUCTTOK | TRACETOK | TYPEALIASTOK | TYPEDEFTOK | UNSIGNEDTOK | VARIANTTOK | VOIDTOK | BOOLTOK | COMPLEXTOK | IMAGINARYTOK | ENVTOK | CLOCKTOK | NANNUMBERTOK | INFINITYTOK | NINFINITYTOK | SEPARATOR | COLON | ELIPSES | ASSIGNMENT | TYPE_ASSIGNMENT | LT | GT | OPENBRAC | CLOSEBRAC | LPAREN | RPAREN | LCURL | RCURL | TERM | POINTER | SIGN | ARROW | DOT | OCTAL_LITERAL | DECIMAL_LITERAL | HEX_LITERAL | CHARACTER_LITERAL | STRING_LITERAL | WS | COMMENT | LINE_COMMENT | IDENTIFIER );";