1 // $ANTLR 3.5.2 org/eclipse/tracecompass/ctf/parser/CTFLexer.g 2015-06-22 18:09:19
3 /*******************************************************************************
4 * Copyright (c) 2010, 2013 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 CALLSITETOK
=9;
34 public static final int CHARACTER_LITERAL
=10;
35 public static final int CHARTOK
=11;
36 public static final int CHAR_CONTENT
=12;
37 public static final int CLOCKTOK
=13;
38 public static final int CLOSEBRAC
=14;
39 public static final int COLON
=15;
40 public static final int COMMENT
=16;
41 public static final int COMMENT_CLOSE
=17;
42 public static final int COMMENT_OPEN
=18;
43 public static final int COMPLEXTOK
=19;
44 public static final int CONSTTOK
=20;
45 public static final int DECIMAL_LITERAL
=21;
46 public static final int DIGIT
=22;
47 public static final int DOT
=23;
48 public static final int DOUBLEQUOTE
=24;
49 public static final int DOUBLETOK
=25;
50 public static final int ELIPSES
=26;
51 public static final int ENUMTOK
=27;
52 public static final int ENVTOK
=28;
53 public static final int ESCAPE_SEQUENCE
=29;
54 public static final int EVENTTOK
=30;
55 public static final int FLOATINGPOINTTOK
=31;
56 public static final int FLOATTOK
=32;
57 public static final int GT
=33;
58 public static final int HEXADECIMAL_ESCAPE
=34;
59 public static final int HEX_DIGIT
=35;
60 public static final int HEX_LITERAL
=36;
61 public static final int HEX_PREFIX
=37;
62 public static final int IDENTIFIER
=38;
63 public static final int IMAGINARYTOK
=39;
64 public static final int INFINITYTOK
=40;
65 public static final int INTEGERTOK
=41;
66 public static final int INTEGER_TYPES_SUFFIX
=42;
67 public static final int INTTOK
=43;
68 public static final int LCURL
=44;
69 public static final int LINE_COMMENT
=45;
70 public static final int LONGTOK
=46;
71 public static final int LPAREN
=47;
72 public static final int LT
=48;
73 public static final int NANNUMBERTOK
=49;
74 public static final int NINFINITYTOK
=50;
75 public static final int NONDIGIT
=51;
76 public static final int NONZERO_DIGIT
=52;
77 public static final int OCTAL_ESCAPE
=53;
78 public static final int OCTAL_LITERAL
=54;
79 public static final int OCT_DIGIT
=55;
80 public static final int OCT_PREFIX
=56;
81 public static final int OPENBRAC
=57;
82 public static final int POINTER
=58;
83 public static final int RCURL
=59;
84 public static final int RPAREN
=60;
85 public static final int SEPARATOR
=61;
86 public static final int SHORTTOK
=62;
87 public static final int SIGN
=63;
88 public static final int SIGNEDTOK
=64;
89 public static final int SINGLEQUOTE
=65;
90 public static final int STREAMTOK
=66;
91 public static final int STRINGPREFIX
=67;
92 public static final int STRINGTOK
=68;
93 public static final int STRING_CONTENT
=69;
94 public static final int STRING_LITERAL
=70;
95 public static final int STRUCTTOK
=71;
96 public static final int TERM
=72;
97 public static final int TRACETOK
=73;
98 public static final int TYPEALIASTOK
=74;
99 public static final int TYPEDEFTOK
=75;
100 public static final int TYPE_ASSIGNMENT
=76;
101 public static final int UNICODE_ESCAPE
=77;
102 public static final int UNSIGNEDTOK
=78;
103 public static final int VARIANTTOK
=79;
104 public static final int VOIDTOK
=80;
105 public static final int WS
=81;
109 public Lexer
[] getDelegates() {
110 return new Lexer
[] {};
114 public CTFLexer(CharStream input
) {
115 this(input
, new RecognizerSharedState());
117 public CTFLexer(CharStream input
, RecognizerSharedState state
) {
120 @Override public String
getGrammarFileName() { return "org/eclipse/tracecompass/ctf/parser/CTFLexer.g"; }
122 // $ANTLR start "ALIGNTOK"
123 public final void mALIGNTOK() throws RecognitionException
{
125 int _type
= ALIGNTOK
;
126 int _channel
= DEFAULT_TOKEN_CHANNEL
;
127 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:32:18: ( 'align' )
128 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:32:20: 'align'
135 state
.channel
= _channel
;
138 // do for sure before leaving
141 // $ANTLR end "ALIGNTOK"
143 // $ANTLR start "CONSTTOK"
144 public final void mCONSTTOK() throws RecognitionException
{
146 int _type
= CONSTTOK
;
147 int _channel
= DEFAULT_TOKEN_CHANNEL
;
148 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:33:18: ( 'const' )
149 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:33:20: 'const'
156 state
.channel
= _channel
;
159 // do for sure before leaving
162 // $ANTLR end "CONSTTOK"
164 // $ANTLR start "CHARTOK"
165 public final void mCHARTOK() throws RecognitionException
{
168 int _channel
= DEFAULT_TOKEN_CHANNEL
;
169 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:34:18: ( 'char' )
170 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:34:20: 'char'
177 state
.channel
= _channel
;
180 // do for sure before leaving
183 // $ANTLR end "CHARTOK"
185 // $ANTLR start "DOUBLETOK"
186 public final void mDOUBLETOK() throws RecognitionException
{
188 int _type
= DOUBLETOK
;
189 int _channel
= DEFAULT_TOKEN_CHANNEL
;
190 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:35:18: ( 'double' )
191 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:35:20: 'double'
198 state
.channel
= _channel
;
201 // do for sure before leaving
204 // $ANTLR end "DOUBLETOK"
206 // $ANTLR start "ENUMTOK"
207 public final void mENUMTOK() throws RecognitionException
{
210 int _channel
= DEFAULT_TOKEN_CHANNEL
;
211 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:36:18: ( 'enum' )
212 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:36:20: 'enum'
219 state
.channel
= _channel
;
222 // do for sure before leaving
225 // $ANTLR end "ENUMTOK"
227 // $ANTLR start "EVENTTOK"
228 public final void mEVENTTOK() throws RecognitionException
{
230 int _type
= EVENTTOK
;
231 int _channel
= DEFAULT_TOKEN_CHANNEL
;
232 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:37:18: ( 'event' )
233 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:37:20: 'event'
240 state
.channel
= _channel
;
243 // do for sure before leaving
246 // $ANTLR end "EVENTTOK"
248 // $ANTLR start "FLOATINGPOINTTOK"
249 public final void mFLOATINGPOINTTOK() throws RecognitionException
{
251 int _type
= FLOATINGPOINTTOK
;
252 int _channel
= DEFAULT_TOKEN_CHANNEL
;
253 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:38:18: ( 'floating_point' )
254 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:38:20: 'floating_point'
256 match("floating_point");
261 state
.channel
= _channel
;
264 // do for sure before leaving
267 // $ANTLR end "FLOATINGPOINTTOK"
269 // $ANTLR start "FLOATTOK"
270 public final void mFLOATTOK() throws RecognitionException
{
272 int _type
= FLOATTOK
;
273 int _channel
= DEFAULT_TOKEN_CHANNEL
;
274 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:39:18: ( 'float' )
275 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:39:20: 'float'
282 state
.channel
= _channel
;
285 // do for sure before leaving
288 // $ANTLR end "FLOATTOK"
290 // $ANTLR start "INTEGERTOK"
291 public final void mINTEGERTOK() throws RecognitionException
{
293 int _type
= INTEGERTOK
;
294 int _channel
= DEFAULT_TOKEN_CHANNEL
;
295 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:40:18: ( 'integer' )
296 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:40:20: 'integer'
303 state
.channel
= _channel
;
306 // do for sure before leaving
309 // $ANTLR end "INTEGERTOK"
311 // $ANTLR start "INTTOK"
312 public final void mINTTOK() throws RecognitionException
{
315 int _channel
= DEFAULT_TOKEN_CHANNEL
;
316 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:41:18: ( 'int' )
317 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:41:20: 'int'
324 state
.channel
= _channel
;
327 // do for sure before leaving
330 // $ANTLR end "INTTOK"
332 // $ANTLR start "LONGTOK"
333 public final void mLONGTOK() throws RecognitionException
{
336 int _channel
= DEFAULT_TOKEN_CHANNEL
;
337 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:42:18: ( 'long' )
338 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:42:20: 'long'
345 state
.channel
= _channel
;
348 // do for sure before leaving
351 // $ANTLR end "LONGTOK"
353 // $ANTLR start "SHORTTOK"
354 public final void mSHORTTOK() throws RecognitionException
{
356 int _type
= SHORTTOK
;
357 int _channel
= DEFAULT_TOKEN_CHANNEL
;
358 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:43:18: ( 'short' )
359 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:43:20: 'short'
366 state
.channel
= _channel
;
369 // do for sure before leaving
372 // $ANTLR end "SHORTTOK"
374 // $ANTLR start "SIGNEDTOK"
375 public final void mSIGNEDTOK() throws RecognitionException
{
377 int _type
= SIGNEDTOK
;
378 int _channel
= DEFAULT_TOKEN_CHANNEL
;
379 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:44:18: ( 'signed' )
380 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:44:20: 'signed'
387 state
.channel
= _channel
;
390 // do for sure before leaving
393 // $ANTLR end "SIGNEDTOK"
395 // $ANTLR start "STREAMTOK"
396 public final void mSTREAMTOK() throws RecognitionException
{
398 int _type
= STREAMTOK
;
399 int _channel
= DEFAULT_TOKEN_CHANNEL
;
400 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:45:18: ( 'stream' )
401 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:45:20: 'stream'
408 state
.channel
= _channel
;
411 // do for sure before leaving
414 // $ANTLR end "STREAMTOK"
416 // $ANTLR start "STRINGTOK"
417 public final void mSTRINGTOK() throws RecognitionException
{
419 int _type
= STRINGTOK
;
420 int _channel
= DEFAULT_TOKEN_CHANNEL
;
421 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:46:18: ( 'string' )
422 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:46:20: 'string'
429 state
.channel
= _channel
;
432 // do for sure before leaving
435 // $ANTLR end "STRINGTOK"
437 // $ANTLR start "STRUCTTOK"
438 public final void mSTRUCTTOK() throws RecognitionException
{
440 int _type
= STRUCTTOK
;
441 int _channel
= DEFAULT_TOKEN_CHANNEL
;
442 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:47:18: ( 'struct' )
443 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:47:20: 'struct'
450 state
.channel
= _channel
;
453 // do for sure before leaving
456 // $ANTLR end "STRUCTTOK"
458 // $ANTLR start "TRACETOK"
459 public final void mTRACETOK() throws RecognitionException
{
461 int _type
= TRACETOK
;
462 int _channel
= DEFAULT_TOKEN_CHANNEL
;
463 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:48:18: ( 'trace' )
464 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:48:20: 'trace'
471 state
.channel
= _channel
;
474 // do for sure before leaving
477 // $ANTLR end "TRACETOK"
479 // $ANTLR start "TYPEALIASTOK"
480 public final void mTYPEALIASTOK() throws RecognitionException
{
482 int _type
= TYPEALIASTOK
;
483 int _channel
= DEFAULT_TOKEN_CHANNEL
;
484 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:49:18: ( 'typealias' )
485 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:49:20: 'typealias'
492 state
.channel
= _channel
;
495 // do for sure before leaving
498 // $ANTLR end "TYPEALIASTOK"
500 // $ANTLR start "TYPEDEFTOK"
501 public final void mTYPEDEFTOK() throws RecognitionException
{
503 int _type
= TYPEDEFTOK
;
504 int _channel
= DEFAULT_TOKEN_CHANNEL
;
505 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:50:18: ( 'typedef' )
506 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:50:20: 'typedef'
513 state
.channel
= _channel
;
516 // do for sure before leaving
519 // $ANTLR end "TYPEDEFTOK"
521 // $ANTLR start "UNSIGNEDTOK"
522 public final void mUNSIGNEDTOK() throws RecognitionException
{
524 int _type
= UNSIGNEDTOK
;
525 int _channel
= DEFAULT_TOKEN_CHANNEL
;
526 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:51:18: ( 'unsigned' )
527 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:51:20: 'unsigned'
534 state
.channel
= _channel
;
537 // do for sure before leaving
540 // $ANTLR end "UNSIGNEDTOK"
542 // $ANTLR start "VARIANTTOK"
543 public final void mVARIANTTOK() throws RecognitionException
{
545 int _type
= VARIANTTOK
;
546 int _channel
= DEFAULT_TOKEN_CHANNEL
;
547 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:52:18: ( 'variant' )
548 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:52:20: 'variant'
555 state
.channel
= _channel
;
558 // do for sure before leaving
561 // $ANTLR end "VARIANTTOK"
563 // $ANTLR start "VOIDTOK"
564 public final void mVOIDTOK() throws RecognitionException
{
567 int _channel
= DEFAULT_TOKEN_CHANNEL
;
568 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:53:18: ( 'void' )
569 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:53:20: 'void'
576 state
.channel
= _channel
;
579 // do for sure before leaving
582 // $ANTLR end "VOIDTOK"
584 // $ANTLR start "BOOLTOK"
585 public final void mBOOLTOK() throws RecognitionException
{
588 int _channel
= DEFAULT_TOKEN_CHANNEL
;
589 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:54:18: ( '_Bool' )
590 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:54:20: '_Bool'
597 state
.channel
= _channel
;
600 // do for sure before leaving
603 // $ANTLR end "BOOLTOK"
605 // $ANTLR start "COMPLEXTOK"
606 public final void mCOMPLEXTOK() throws RecognitionException
{
608 int _type
= COMPLEXTOK
;
609 int _channel
= DEFAULT_TOKEN_CHANNEL
;
610 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:55:18: ( '_Complex' )
611 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:55:20: '_Complex'
618 state
.channel
= _channel
;
621 // do for sure before leaving
624 // $ANTLR end "COMPLEXTOK"
626 // $ANTLR start "IMAGINARYTOK"
627 public final void mIMAGINARYTOK() throws RecognitionException
{
629 int _type
= IMAGINARYTOK
;
630 int _channel
= DEFAULT_TOKEN_CHANNEL
;
631 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:56:18: ( '_Imaginary' )
632 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:56:20: '_Imaginary'
639 state
.channel
= _channel
;
642 // do for sure before leaving
645 // $ANTLR end "IMAGINARYTOK"
647 // $ANTLR start "ENVTOK"
648 public final void mENVTOK() throws RecognitionException
{
651 int _channel
= DEFAULT_TOKEN_CHANNEL
;
652 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:57:18: ( 'env' )
653 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:57:20: 'env'
660 state
.channel
= _channel
;
663 // do for sure before leaving
666 // $ANTLR end "ENVTOK"
668 // $ANTLR start "CLOCKTOK"
669 public final void mCLOCKTOK() throws RecognitionException
{
671 int _type
= CLOCKTOK
;
672 int _channel
= DEFAULT_TOKEN_CHANNEL
;
673 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:58:18: ( 'clock' )
674 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:58:20: 'clock'
681 state
.channel
= _channel
;
684 // do for sure before leaving
687 // $ANTLR end "CLOCKTOK"
689 // $ANTLR start "CALLSITETOK"
690 public final void mCALLSITETOK() throws RecognitionException
{
692 int _type
= CALLSITETOK
;
693 int _channel
= DEFAULT_TOKEN_CHANNEL
;
694 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:62:18: ( 'callsite' )
695 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:62:20: 'callsite'
702 state
.channel
= _channel
;
705 // do for sure before leaving
708 // $ANTLR end "CALLSITETOK"
710 // $ANTLR start "NANNUMBERTOK"
711 public final void mNANNUMBERTOK() throws RecognitionException
{
713 int _type
= NANNUMBERTOK
;
714 int _channel
= DEFAULT_TOKEN_CHANNEL
;
715 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:69:15: ( 'NaN' )
716 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:69:17: 'NaN'
723 state
.channel
= _channel
;
726 // do for sure before leaving
729 // $ANTLR end "NANNUMBERTOK"
731 // $ANTLR start "INFINITYTOK"
732 public final void mINFINITYTOK() throws RecognitionException
{
734 int _type
= INFINITYTOK
;
735 int _channel
= DEFAULT_TOKEN_CHANNEL
;
736 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:70:15: ( '+inf' )
737 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:70:17: '+inf'
744 state
.channel
= _channel
;
747 // do for sure before leaving
750 // $ANTLR end "INFINITYTOK"
752 // $ANTLR start "NINFINITYTOK"
753 public final void mNINFINITYTOK() throws RecognitionException
{
755 int _type
= NINFINITYTOK
;
756 int _channel
= DEFAULT_TOKEN_CHANNEL
;
757 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:71:15: ( '-inf' )
758 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:71:17: '-inf'
765 state
.channel
= _channel
;
768 // do for sure before leaving
771 // $ANTLR end "NINFINITYTOK"
773 // $ANTLR start "SEPARATOR"
774 public final void mSEPARATOR() throws RecognitionException
{
776 int _type
= SEPARATOR
;
777 int _channel
= DEFAULT_TOKEN_CHANNEL
;
778 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:76:20: ( ',' )
779 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:76:22: ','
785 state
.channel
= _channel
;
788 // do for sure before leaving
791 // $ANTLR end "SEPARATOR"
793 // $ANTLR start "COLON"
794 public final void mCOLON() throws RecognitionException
{
797 int _channel
= DEFAULT_TOKEN_CHANNEL
;
798 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:77:20: ( ':' )
799 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:77:22: ':'
805 state
.channel
= _channel
;
808 // do for sure before leaving
811 // $ANTLR end "COLON"
813 // $ANTLR start "ELIPSES"
814 public final void mELIPSES() throws RecognitionException
{
817 int _channel
= DEFAULT_TOKEN_CHANNEL
;
818 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:78:20: ( '...' )
819 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:78:22: '...'
826 state
.channel
= _channel
;
829 // do for sure before leaving
832 // $ANTLR end "ELIPSES"
834 // $ANTLR start "ASSIGNMENT"
835 public final void mASSIGNMENT() throws RecognitionException
{
837 int _type
= ASSIGNMENT
;
838 int _channel
= DEFAULT_TOKEN_CHANNEL
;
839 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:79:20: ( '=' )
840 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:79:22: '='
846 state
.channel
= _channel
;
849 // do for sure before leaving
852 // $ANTLR end "ASSIGNMENT"
854 // $ANTLR start "TYPE_ASSIGNMENT"
855 public final void mTYPE_ASSIGNMENT() throws RecognitionException
{
857 int _type
= TYPE_ASSIGNMENT
;
858 int _channel
= DEFAULT_TOKEN_CHANNEL
;
859 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:80:20: ( ':=' )
860 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:80:22: ':='
867 state
.channel
= _channel
;
870 // do for sure before leaving
873 // $ANTLR end "TYPE_ASSIGNMENT"
876 public final void mLT() throws RecognitionException
{
879 int _channel
= DEFAULT_TOKEN_CHANNEL
;
880 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:81:20: ( '<' )
881 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:81:22: '<'
887 state
.channel
= _channel
;
890 // do for sure before leaving
896 public final void mGT() throws RecognitionException
{
899 int _channel
= DEFAULT_TOKEN_CHANNEL
;
900 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:82:20: ( '>' )
901 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:82:22: '>'
907 state
.channel
= _channel
;
910 // do for sure before leaving
915 // $ANTLR start "OPENBRAC"
916 public final void mOPENBRAC() throws RecognitionException
{
918 int _type
= OPENBRAC
;
919 int _channel
= DEFAULT_TOKEN_CHANNEL
;
920 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:83:20: ( '[' )
921 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:83:22: '['
927 state
.channel
= _channel
;
930 // do for sure before leaving
933 // $ANTLR end "OPENBRAC"
935 // $ANTLR start "CLOSEBRAC"
936 public final void mCLOSEBRAC() throws RecognitionException
{
938 int _type
= CLOSEBRAC
;
939 int _channel
= DEFAULT_TOKEN_CHANNEL
;
940 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:84:20: ( ']' )
941 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:84:22: ']'
947 state
.channel
= _channel
;
950 // do for sure before leaving
953 // $ANTLR end "CLOSEBRAC"
955 // $ANTLR start "LPAREN"
956 public final void mLPAREN() throws RecognitionException
{
959 int _channel
= DEFAULT_TOKEN_CHANNEL
;
960 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:85:20: ( '(' )
961 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:85:22: '('
967 state
.channel
= _channel
;
970 // do for sure before leaving
973 // $ANTLR end "LPAREN"
975 // $ANTLR start "RPAREN"
976 public final void mRPAREN() throws RecognitionException
{
979 int _channel
= DEFAULT_TOKEN_CHANNEL
;
980 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:86:20: ( ')' )
981 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:86:22: ')'
987 state
.channel
= _channel
;
990 // do for sure before leaving
993 // $ANTLR end "RPAREN"
995 // $ANTLR start "LCURL"
996 public final void mLCURL() throws RecognitionException
{
999 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1000 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:87:20: ( '{' )
1001 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:87:22: '{'
1007 state
.channel
= _channel
;
1010 // do for sure before leaving
1013 // $ANTLR end "LCURL"
1015 // $ANTLR start "RCURL"
1016 public final void mRCURL() throws RecognitionException
{
1019 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1020 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:88:20: ( '}' )
1021 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:88:22: '}'
1027 state
.channel
= _channel
;
1030 // do for sure before leaving
1033 // $ANTLR end "RCURL"
1035 // $ANTLR start "TERM"
1036 public final void mTERM() throws RecognitionException
{
1039 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1040 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:89:20: ( ';' )
1041 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:89:22: ';'
1047 state
.channel
= _channel
;
1050 // do for sure before leaving
1053 // $ANTLR end "TERM"
1055 // $ANTLR start "POINTER"
1056 public final void mPOINTER() throws RecognitionException
{
1058 int _type
= POINTER
;
1059 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1060 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:90:20: ( '*' )
1061 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:90:22: '*'
1067 state
.channel
= _channel
;
1070 // do for sure before leaving
1073 // $ANTLR end "POINTER"
1075 // $ANTLR start "SIGN"
1076 public final void mSIGN() throws RecognitionException
{
1079 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1080 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:91:20: ( '+' | '-' )
1081 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1083 if ( input
.LA(1)=='+'||input
.LA(1)=='-' ) {
1087 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1094 state
.channel
= _channel
;
1097 // do for sure before leaving
1100 // $ANTLR end "SIGN"
1102 // $ANTLR start "ARROW"
1103 public final void mARROW() throws RecognitionException
{
1106 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1107 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:92:20: ( '->' )
1108 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:92:22: '->'
1115 state
.channel
= _channel
;
1118 // do for sure before leaving
1121 // $ANTLR end "ARROW"
1123 // $ANTLR start "DOT"
1124 public final void mDOT() throws RecognitionException
{
1127 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1128 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:93:20: ( '.' )
1129 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:93:22: '.'
1135 state
.channel
= _channel
;
1138 // do for sure before leaving
1143 // $ANTLR start "BACKSLASH"
1144 public final void mBACKSLASH() throws RecognitionException
{
1146 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:94:20: ( '\\\\' )
1147 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:94:22: '\\\\'
1154 // do for sure before leaving
1157 // $ANTLR end "BACKSLASH"
1159 // $ANTLR start "DIGIT"
1160 public final void mDIGIT() throws RecognitionException
{
1162 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:97:16: ( '0' .. '9' )
1163 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1165 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '9') ) {
1169 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1177 // do for sure before leaving
1180 // $ANTLR end "DIGIT"
1182 // $ANTLR start "OCT_DIGIT"
1183 public final void mOCT_DIGIT() throws RecognitionException
{
1185 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:98:20: ( '0' .. '7' )
1186 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1188 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
1192 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1200 // do for sure before leaving
1203 // $ANTLR end "OCT_DIGIT"
1205 // $ANTLR start "OCT_PREFIX"
1206 public final void mOCT_PREFIX() throws RecognitionException
{
1208 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:99:21: ( '0' )
1209 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:99:23: '0'
1216 // do for sure before leaving
1219 // $ANTLR end "OCT_PREFIX"
1221 // $ANTLR start "NONZERO_DIGIT"
1222 public final void mNONZERO_DIGIT() throws RecognitionException
{
1224 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:100:24: ( '1' .. '9' )
1225 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1227 if ( (input
.LA(1) >= '1' && input
.LA(1) <= '9') ) {
1231 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1239 // do for sure before leaving
1242 // $ANTLR end "NONZERO_DIGIT"
1244 // $ANTLR start "HEX_DIGIT"
1245 public final void mHEX_DIGIT() throws RecognitionException
{
1247 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:101:20: ( DIGIT | ( 'a' .. 'f' ) | ( 'A' .. 'F' ) )
1248 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1250 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') ) {
1254 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1262 // do for sure before leaving
1265 // $ANTLR end "HEX_DIGIT"
1267 // $ANTLR start "HEX_PREFIX"
1268 public final void mHEX_PREFIX() throws RecognitionException
{
1270 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:102:21: ( '0' ( 'x' | 'X' ) )
1271 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:102:23: '0' ( 'x' | 'X' )
1274 if ( input
.LA(1)=='X'||input
.LA(1)=='x' ) {
1278 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1286 // do for sure before leaving
1289 // $ANTLR end "HEX_PREFIX"
1291 // $ANTLR start "OCTAL_LITERAL"
1292 public final void mOCTAL_LITERAL() throws RecognitionException
{
1294 int _type
= OCTAL_LITERAL
;
1295 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1296 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:107:15: ( OCT_PREFIX ( OCT_DIGIT )+ ( INTEGER_TYPES_SUFFIX )? )
1297 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:107:17: OCT_PREFIX ( OCT_DIGIT )+ ( INTEGER_TYPES_SUFFIX )?
1301 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:107:28: ( OCT_DIGIT )+
1306 int LA1_0
= input
.LA(1);
1307 if ( ((LA1_0
>= '0' && LA1_0
<= '7')) ) {
1313 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1315 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
1319 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1327 if ( cnt1
>= 1 ) break loop1
;
1328 EarlyExitException eee
= new EarlyExitException(1, input
);
1334 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:107:41: ( INTEGER_TYPES_SUFFIX )?
1336 int LA2_0
= input
.LA(1);
1337 if ( (LA2_0
=='L'||LA2_0
=='U'||LA2_0
=='l'||LA2_0
=='u') ) {
1342 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:107:41: INTEGER_TYPES_SUFFIX
1344 mINTEGER_TYPES_SUFFIX();
1354 state
.channel
= _channel
;
1357 // do for sure before leaving
1360 // $ANTLR end "OCTAL_LITERAL"
1362 // $ANTLR start "DECIMAL_LITERAL"
1363 public final void mDECIMAL_LITERAL() throws RecognitionException
{
1365 int _type
= DECIMAL_LITERAL
;
1366 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1367 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:108:17: ( ( DIGIT )+ ( INTEGER_TYPES_SUFFIX )? )
1368 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:108:19: ( DIGIT )+ ( INTEGER_TYPES_SUFFIX )?
1370 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:108:19: ( DIGIT )+
1375 int LA3_0
= input
.LA(1);
1376 if ( ((LA3_0
>= '0' && LA3_0
<= '9')) ) {
1382 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1384 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '9') ) {
1388 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1396 if ( cnt3
>= 1 ) break loop3
;
1397 EarlyExitException eee
= new EarlyExitException(3, input
);
1403 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:108:26: ( INTEGER_TYPES_SUFFIX )?
1405 int LA4_0
= input
.LA(1);
1406 if ( (LA4_0
=='L'||LA4_0
=='U'||LA4_0
=='l'||LA4_0
=='u') ) {
1411 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:108:26: INTEGER_TYPES_SUFFIX
1413 mINTEGER_TYPES_SUFFIX();
1423 state
.channel
= _channel
;
1426 // do for sure before leaving
1429 // $ANTLR end "DECIMAL_LITERAL"
1431 // $ANTLR start "HEX_LITERAL"
1432 public final void mHEX_LITERAL() throws RecognitionException
{
1434 int _type
= HEX_LITERAL
;
1435 int _channel
= DEFAULT_TOKEN_CHANNEL
;
1436 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:109:13: ( HEX_PREFIX ( HEX_DIGIT )+ ( INTEGER_TYPES_SUFFIX )? )
1437 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:109:15: HEX_PREFIX ( HEX_DIGIT )+ ( INTEGER_TYPES_SUFFIX )?
1441 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:109:26: ( HEX_DIGIT )+
1446 int LA5_0
= input
.LA(1);
1447 if ( ((LA5_0
>= '0' && LA5_0
<= '9')||(LA5_0
>= 'A' && LA5_0
<= 'F')||(LA5_0
>= 'a' && LA5_0
<= 'f')) ) {
1453 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
1455 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') ) {
1459 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1467 if ( cnt5
>= 1 ) break loop5
;
1468 EarlyExitException eee
= new EarlyExitException(5, input
);
1474 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:109:37: ( INTEGER_TYPES_SUFFIX )?
1476 int LA6_0
= input
.LA(1);
1477 if ( (LA6_0
=='L'||LA6_0
=='U'||LA6_0
=='l'||LA6_0
=='u') ) {
1482 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:109:37: INTEGER_TYPES_SUFFIX
1484 mINTEGER_TYPES_SUFFIX();
1494 state
.channel
= _channel
;
1497 // do for sure before leaving
1500 // $ANTLR end "HEX_LITERAL"
1502 // $ANTLR start "INTEGER_TYPES_SUFFIX"
1503 public final void mINTEGER_TYPES_SUFFIX() throws RecognitionException
{
1505 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:117:3: ( ( 'l' ( 'l' )? | 'L' ( 'L' )? ) | ( 'u' | 'U' ) | ( 'u' | 'U' ) ( 'l' ( 'l' )? | 'L' ( 'L' )? ) | ( 'l' ( 'l' )? | 'L' ( 'L' )? ) ( 'u' | 'U' ) )
1507 switch ( input
.LA(1) ) {
1510 switch ( input
.LA(2) ) {
1513 int LA16_4
= input
.LA(3);
1514 if ( (LA16_4
=='U'||LA16_4
=='u') ) {
1537 switch ( input
.LA(2) ) {
1540 int LA16_7
= input
.LA(3);
1541 if ( (LA16_7
=='U'||LA16_7
=='u') ) {
1565 int LA16_3
= input
.LA(2);
1566 if ( (LA16_3
=='L'||LA16_3
=='l') ) {
1577 NoViableAltException nvae
=
1578 new NoViableAltException("", 16, 0, input
);
1583 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:117:5: ( 'l' ( 'l' )? | 'L' ( 'L' )? )
1585 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:117:5: ( 'l' ( 'l' )? | 'L' ( 'L' )? )
1587 int LA9_0
= input
.LA(1);
1588 if ( (LA9_0
=='l') ) {
1591 else if ( (LA9_0
=='L') ) {
1596 NoViableAltException nvae
=
1597 new NoViableAltException("", 9, 0, input
);
1603 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:117:6: 'l' ( 'l' )?
1606 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:117:10: ( 'l' )?
1608 int LA7_0
= input
.LA(1);
1609 if ( (LA7_0
=='l') ) {
1614 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:117:11: 'l'
1625 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:117:19: 'L' ( 'L' )?
1628 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:117:23: ( 'L' )?
1630 int LA8_0
= input
.LA(1);
1631 if ( (LA8_0
=='L') ) {
1636 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:117:24: 'L'
1652 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:118:5: ( 'u' | 'U' )
1654 if ( input
.LA(1)=='U'||input
.LA(1)=='u' ) {
1658 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1665 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:119:5: ( 'u' | 'U' ) ( 'l' ( 'l' )? | 'L' ( 'L' )? )
1667 if ( input
.LA(1)=='U'||input
.LA(1)=='u' ) {
1671 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1675 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:119:17: ( 'l' ( 'l' )? | 'L' ( 'L' )? )
1677 int LA12_0
= input
.LA(1);
1678 if ( (LA12_0
=='l') ) {
1681 else if ( (LA12_0
=='L') ) {
1686 NoViableAltException nvae
=
1687 new NoViableAltException("", 12, 0, input
);
1693 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:119:18: 'l' ( 'l' )?
1696 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:119:22: ( 'l' )?
1698 int LA10_0
= input
.LA(1);
1699 if ( (LA10_0
=='l') ) {
1704 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:119:23: 'l'
1715 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:119:31: 'L' ( 'L' )?
1718 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:119:35: ( 'L' )?
1720 int LA11_0
= input
.LA(1);
1721 if ( (LA11_0
=='L') ) {
1726 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:119:36: 'L'
1742 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:120:5: ( 'l' ( 'l' )? | 'L' ( 'L' )? ) ( 'u' | 'U' )
1744 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:120:5: ( 'l' ( 'l' )? | 'L' ( 'L' )? )
1746 int LA15_0
= input
.LA(1);
1747 if ( (LA15_0
=='l') ) {
1750 else if ( (LA15_0
=='L') ) {
1755 NoViableAltException nvae
=
1756 new NoViableAltException("", 15, 0, input
);
1762 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:120:6: 'l' ( 'l' )?
1765 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:120:10: ( 'l' )?
1767 int LA13_0
= input
.LA(1);
1768 if ( (LA13_0
=='l') ) {
1773 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:120:11: 'l'
1784 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:120:19: 'L' ( 'L' )?
1787 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:120:23: ( 'L' )?
1789 int LA14_0
= input
.LA(1);
1790 if ( (LA14_0
=='L') ) {
1795 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:120:24: 'L'
1808 if ( input
.LA(1)=='U'||input
.LA(1)=='u' ) {
1812 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1822 // do for sure before leaving
1825 // $ANTLR end "INTEGER_TYPES_SUFFIX"
1827 // $ANTLR start "ESCAPE_SEQUENCE"
1828 public final void mESCAPE_SEQUENCE() throws RecognitionException
{
1830 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:127:3: ( BACKSLASH ( '\\'' | '\"' | '?' | BACKSLASH | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' ) | OCTAL_ESCAPE | UNICODE_ESCAPE | HEXADECIMAL_ESCAPE )
1832 int LA17_0
= input
.LA(1);
1833 if ( (LA17_0
=='\\') ) {
1834 switch ( input
.LA(2) ) {
1874 int nvaeMark
= input
.mark();
1877 NoViableAltException nvae
=
1878 new NoViableAltException("", 17, 1, input
);
1881 input
.rewind(nvaeMark
);
1887 NoViableAltException nvae
=
1888 new NoViableAltException("", 17, 0, input
);
1894 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:127:5: BACKSLASH ( '\\'' | '\"' | '?' | BACKSLASH | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' )
1898 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' ) {
1902 MismatchedSetException mse
= new MismatchedSetException(null,input
);
1909 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:128:5: OCTAL_ESCAPE
1916 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:129:5: UNICODE_ESCAPE
1923 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:130:5: HEXADECIMAL_ESCAPE
1925 mHEXADECIMAL_ESCAPE();
1933 // do for sure before leaving
1936 // $ANTLR end "ESCAPE_SEQUENCE"
1938 // $ANTLR start "OCTAL_ESCAPE"
1939 public final void mOCTAL_ESCAPE() throws RecognitionException
{
1941 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:137:3: ( BACKSLASH ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | BACKSLASH ( '0' .. '7' ) ( '0' .. '7' ) | BACKSLASH ( '0' .. '7' ) )
1943 int LA18_0
= input
.LA(1);
1944 if ( (LA18_0
=='\\') ) {
1945 int LA18_1
= input
.LA(2);
1946 if ( ((LA18_1
>= '0' && LA18_1
<= '3')) ) {
1947 int LA18_2
= input
.LA(3);
1948 if ( ((LA18_2
>= '0' && LA18_2
<= '7')) ) {
1949 int LA18_4
= input
.LA(4);
1950 if ( ((LA18_4
>= '0' && LA18_4
<= '7')) ) {
1965 else if ( ((LA18_1
>= '4' && LA18_1
<= '7')) ) {
1966 int LA18_3
= input
.LA(3);
1967 if ( ((LA18_3
>= '0' && LA18_3
<= '7')) ) {
1978 int nvaeMark
= input
.mark();
1981 NoViableAltException nvae
=
1982 new NoViableAltException("", 18, 1, input
);
1985 input
.rewind(nvaeMark
);
1992 NoViableAltException nvae
=
1993 new NoViableAltException("", 18, 0, input
);
1999 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:137:5: BACKSLASH ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
2003 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '3') ) {
2007 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2011 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
2015 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2019 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
2023 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2030 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:138:5: BACKSLASH ( '0' .. '7' ) ( '0' .. '7' )
2034 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
2038 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2042 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
2046 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2053 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:139:5: BACKSLASH ( '0' .. '7' )
2057 if ( (input
.LA(1) >= '0' && input
.LA(1) <= '7') ) {
2061 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2071 // do for sure before leaving
2074 // $ANTLR end "OCTAL_ESCAPE"
2076 // $ANTLR start "HEXADECIMAL_ESCAPE"
2077 public final void mHEXADECIMAL_ESCAPE() throws RecognitionException
{
2079 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:145:29: ( BACKSLASH 'x' ( HEX_DIGIT )+ )
2080 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:145:31: BACKSLASH 'x' ( HEX_DIGIT )+
2085 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:145:45: ( HEX_DIGIT )+
2090 int LA19_0
= input
.LA(1);
2091 if ( ((LA19_0
>= '0' && LA19_0
<= '9')||(LA19_0
>= 'A' && LA19_0
<= 'F')||(LA19_0
>= 'a' && LA19_0
<= 'f')) ) {
2097 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2099 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') ) {
2103 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2111 if ( cnt19
>= 1 ) break loop19
;
2112 EarlyExitException eee
= new EarlyExitException(19, input
);
2122 // do for sure before leaving
2125 // $ANTLR end "HEXADECIMAL_ESCAPE"
2127 // $ANTLR start "UNICODE_ESCAPE"
2128 public final void mUNICODE_ESCAPE() throws RecognitionException
{
2130 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:151: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 )
2132 int LA20_0
= input
.LA(1);
2133 if ( (LA20_0
=='\\') ) {
2134 int LA20_1
= input
.LA(2);
2135 if ( (LA20_1
=='u') ) {
2138 else if ( (LA20_1
=='U') ) {
2143 int nvaeMark
= input
.mark();
2146 NoViableAltException nvae
=
2147 new NoViableAltException("", 20, 1, input
);
2150 input
.rewind(nvaeMark
);
2157 NoViableAltException nvae
=
2158 new NoViableAltException("", 20, 0, input
);
2164 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:151:5: BACKSLASH 'u' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT
2180 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:152:5: BACKSLASH 'U' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT
2207 // do for sure before leaving
2210 // $ANTLR end "UNICODE_ESCAPE"
2212 // $ANTLR start "STRINGPREFIX"
2213 public final void mSTRINGPREFIX() throws RecognitionException
{
2215 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:157:23: ( 'L' )
2216 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:157:25: 'L'
2223 // do for sure before leaving
2226 // $ANTLR end "STRINGPREFIX"
2228 // $ANTLR start "CHARACTER_LITERAL"
2229 public final void mCHARACTER_LITERAL() throws RecognitionException
{
2231 int _type
= CHARACTER_LITERAL
;
2232 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2233 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:162:19: ( ( STRINGPREFIX )? SINGLEQUOTE ( CHAR_CONTENT )+ SINGLEQUOTE )
2234 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:162:21: ( STRINGPREFIX )? SINGLEQUOTE ( CHAR_CONTENT )+ SINGLEQUOTE
2236 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:162:21: ( STRINGPREFIX )?
2238 int LA21_0
= input
.LA(1);
2239 if ( (LA21_0
=='L') ) {
2244 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2246 if ( input
.LA(1)=='L' ) {
2250 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2261 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:162:47: ( CHAR_CONTENT )+
2266 int LA22_0
= input
.LA(1);
2267 if ( ((LA22_0
>= '\u0000' && LA22_0
<= '&')||(LA22_0
>= '(' && LA22_0
<= '\uFFFF')) ) {
2273 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:162:47: CHAR_CONTENT
2281 if ( cnt22
>= 1 ) break loop22
;
2282 EarlyExitException eee
= new EarlyExitException(22, input
);
2293 state
.channel
= _channel
;
2296 // do for sure before leaving
2299 // $ANTLR end "CHARACTER_LITERAL"
2301 // $ANTLR start "CHAR_CONTENT"
2302 public final void mCHAR_CONTENT() throws RecognitionException
{
2304 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:163:23: ( ( ESCAPE_SEQUENCE |~ ( BACKSLASH | SINGLEQUOTE ) ) )
2305 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:163:25: ( ESCAPE_SEQUENCE |~ ( BACKSLASH | SINGLEQUOTE ) )
2307 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:163:25: ( ESCAPE_SEQUENCE |~ ( BACKSLASH | SINGLEQUOTE ) )
2309 int LA23_0
= input
.LA(1);
2310 if ( (LA23_0
=='\\') ) {
2313 else if ( ((LA23_0
>= '\u0000' && LA23_0
<= '&')||(LA23_0
>= '(' && LA23_0
<= '[')||(LA23_0
>= ']' && LA23_0
<= '\uFFFF')) ) {
2318 NoViableAltException nvae
=
2319 new NoViableAltException("", 23, 0, input
);
2325 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:163:26: ESCAPE_SEQUENCE
2332 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:163:44: ~ ( BACKSLASH | SINGLEQUOTE )
2334 if ( (input
.LA(1) >= '\u0000' && input
.LA(1) <= '&')||(input
.LA(1) >= '(' && input
.LA(1) <= '[')||(input
.LA(1) >= ']' && input
.LA(1) <= '\uFFFF') ) {
2338 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2351 // do for sure before leaving
2354 // $ANTLR end "CHAR_CONTENT"
2356 // $ANTLR start "SINGLEQUOTE"
2357 public final void mSINGLEQUOTE() throws RecognitionException
{
2359 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:164:22: ( '\\'' )
2360 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:164:24: '\\''
2367 // do for sure before leaving
2370 // $ANTLR end "SINGLEQUOTE"
2372 // $ANTLR start "STRING_LITERAL"
2373 public final void mSTRING_LITERAL() throws RecognitionException
{
2375 int _type
= STRING_LITERAL
;
2376 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2377 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:169:16: ( ( STRINGPREFIX )? DOUBLEQUOTE ( STRING_CONTENT )* DOUBLEQUOTE )
2378 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:169:18: ( STRINGPREFIX )? DOUBLEQUOTE ( STRING_CONTENT )* DOUBLEQUOTE
2380 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:169:18: ( STRINGPREFIX )?
2382 int LA24_0
= input
.LA(1);
2383 if ( (LA24_0
=='L') ) {
2388 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2390 if ( input
.LA(1)=='L' ) {
2394 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2405 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:169:44: ( STRING_CONTENT )*
2409 int LA25_0
= input
.LA(1);
2410 if ( ((LA25_0
>= '\u0000' && LA25_0
<= '!')||(LA25_0
>= '#' && LA25_0
<= '\uFFFF')) ) {
2416 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:169:44: STRING_CONTENT
2433 state
.channel
= _channel
;
2436 // do for sure before leaving
2439 // $ANTLR end "STRING_LITERAL"
2441 // $ANTLR start "STRING_CONTENT"
2442 public final void mSTRING_CONTENT() throws RecognitionException
{
2444 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:170:25: ( ( ESCAPE_SEQUENCE |~ ( BACKSLASH | DOUBLEQUOTE ) ) )
2445 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:170:27: ( ESCAPE_SEQUENCE |~ ( BACKSLASH | DOUBLEQUOTE ) )
2447 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:170:27: ( ESCAPE_SEQUENCE |~ ( BACKSLASH | DOUBLEQUOTE ) )
2449 int LA26_0
= input
.LA(1);
2450 if ( (LA26_0
=='\\') ) {
2453 else if ( ((LA26_0
>= '\u0000' && LA26_0
<= '!')||(LA26_0
>= '#' && LA26_0
<= '[')||(LA26_0
>= ']' && LA26_0
<= '\uFFFF')) ) {
2458 NoViableAltException nvae
=
2459 new NoViableAltException("", 26, 0, input
);
2465 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:170:28: ESCAPE_SEQUENCE
2472 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:170:46: ~ ( BACKSLASH | DOUBLEQUOTE )
2474 if ( (input
.LA(1) >= '\u0000' && input
.LA(1) <= '!')||(input
.LA(1) >= '#' && input
.LA(1) <= '[')||(input
.LA(1) >= ']' && input
.LA(1) <= '\uFFFF') ) {
2478 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2491 // do for sure before leaving
2494 // $ANTLR end "STRING_CONTENT"
2496 // $ANTLR start "DOUBLEQUOTE"
2497 public final void mDOUBLEQUOTE() throws RecognitionException
{
2499 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:171:22: ( '\"' )
2500 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:171:24: '\"'
2507 // do for sure before leaving
2510 // $ANTLR end "DOUBLEQUOTE"
2512 // $ANTLR start "WS"
2513 public final void mWS() throws RecognitionException
{
2516 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2517 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:176:4: ( ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' ) )
2518 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:176:6: ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' )
2520 if ( (input
.LA(1) >= '\t' && input
.LA(1) <= '\n')||(input
.LA(1) >= '\f' && input
.LA(1) <= '\r')||input
.LA(1)==' ' ) {
2524 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2532 state
.channel
= _channel
;
2535 // do for sure before leaving
2540 // $ANTLR start "COMMENT"
2541 public final void mCOMMENT() throws RecognitionException
{
2543 int _type
= COMMENT
;
2544 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2545 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:183:9: ( COMMENT_OPEN ( . )* COMMENT_CLOSE )
2546 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:183:11: COMMENT_OPEN ( . )* COMMENT_CLOSE
2550 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:183:24: ( . )*
2554 int LA27_0
= input
.LA(1);
2555 if ( (LA27_0
=='*') ) {
2556 int LA27_1
= input
.LA(2);
2557 if ( (LA27_1
=='/') ) {
2560 else if ( ((LA27_1
>= '\u0000' && LA27_1
<= '.')||(LA27_1
>= '0' && LA27_1
<= '\uFFFF')) ) {
2565 else if ( ((LA27_0
>= '\u0000' && LA27_0
<= ')')||(LA27_0
>= '+' && LA27_0
<= '\uFFFF')) ) {
2571 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:183:24: .
2588 state
.channel
= _channel
;
2591 // do for sure before leaving
2594 // $ANTLR end "COMMENT"
2596 // $ANTLR start "COMMENT_OPEN"
2597 public final void mCOMMENT_OPEN() throws RecognitionException
{
2599 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:184:23: ( '/*' )
2600 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:184:25: '/*'
2608 // do for sure before leaving
2611 // $ANTLR end "COMMENT_OPEN"
2613 // $ANTLR start "COMMENT_CLOSE"
2614 public final void mCOMMENT_CLOSE() throws RecognitionException
{
2616 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:185:24: ( '*/' )
2617 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:185:26: '*/'
2625 // do for sure before leaving
2628 // $ANTLR end "COMMENT_CLOSE"
2630 // $ANTLR start "LINE_COMMENT"
2631 public final void mLINE_COMMENT() throws RecognitionException
{
2633 int _type
= LINE_COMMENT
;
2634 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2635 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:190:14: ( '//' (~ ( '\\n' ) )* '\\n' )
2636 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:190:16: '//' (~ ( '\\n' ) )* '\\n'
2640 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:190:21: (~ ( '\\n' ) )*
2644 int LA28_0
= input
.LA(1);
2645 if ( ((LA28_0
>= '\u0000' && LA28_0
<= '\t')||(LA28_0
>= '\u000B' && LA28_0
<= '\uFFFF')) ) {
2651 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2653 if ( (input
.LA(1) >= '\u0000' && input
.LA(1) <= '\t')||(input
.LA(1) >= '\u000B' && input
.LA(1) <= '\uFFFF') ) {
2657 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2674 state
.channel
= _channel
;
2677 // do for sure before leaving
2680 // $ANTLR end "LINE_COMMENT"
2682 // $ANTLR start "IDENTIFIER"
2683 public final void mIDENTIFIER() throws RecognitionException
{
2685 int _type
= IDENTIFIER
;
2686 int _channel
= DEFAULT_TOKEN_CHANNEL
;
2687 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:195:12: ( NONDIGIT ( NONDIGIT | DIGIT )* )
2688 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:195:14: NONDIGIT ( NONDIGIT | DIGIT )*
2692 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:195:23: ( NONDIGIT | DIGIT )*
2696 int LA29_0
= input
.LA(1);
2697 if ( ((LA29_0
>= '0' && LA29_0
<= '9')||(LA29_0
>= 'A' && LA29_0
<= 'Z')||LA29_0
=='_'||(LA29_0
>= 'a' && LA29_0
<= 'z')) ) {
2703 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2705 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') ) {
2709 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2724 state
.channel
= _channel
;
2727 // do for sure before leaving
2730 // $ANTLR end "IDENTIFIER"
2732 // $ANTLR start "NONDIGIT"
2733 public final void mNONDIGIT() throws RecognitionException
{
2735 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:196:19: ( ( '_' ) | ( 'A' .. 'Z' ) | ( 'a' .. 'z' ) )
2736 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:
2738 if ( (input
.LA(1) >= 'A' && input
.LA(1) <= 'Z')||input
.LA(1)=='_'||(input
.LA(1) >= 'a' && input
.LA(1) <= 'z') ) {
2742 MismatchedSetException mse
= new MismatchedSetException(null,input
);
2750 // do for sure before leaving
2753 // $ANTLR end "NONDIGIT"
2756 public void mTokens() throws RecognitionException
{
2757 // 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 | CALLSITETOK | 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 )
2759 alt30
= dfa30
.predict(input
);
2762 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:10: ALIGNTOK
2769 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:19: CONSTTOK
2776 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:28: CHARTOK
2783 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:36: DOUBLETOK
2790 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:46: ENUMTOK
2797 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:54: EVENTTOK
2804 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:63: FLOATINGPOINTTOK
2806 mFLOATINGPOINTTOK();
2811 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:80: FLOATTOK
2818 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:89: INTEGERTOK
2825 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:100: INTTOK
2832 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:107: LONGTOK
2839 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:115: SHORTTOK
2846 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:124: SIGNEDTOK
2853 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:134: STREAMTOK
2860 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:144: STRINGTOK
2867 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:154: STRUCTTOK
2874 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:164: TRACETOK
2881 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:173: TYPEALIASTOK
2888 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:186: TYPEDEFTOK
2895 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:197: UNSIGNEDTOK
2902 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:209: VARIANTTOK
2909 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:220: VOIDTOK
2916 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:228: BOOLTOK
2923 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:236: COMPLEXTOK
2930 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:247: IMAGINARYTOK
2937 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:260: ENVTOK
2944 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:267: CLOCKTOK
2951 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:276: CALLSITETOK
2958 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:288: NANNUMBERTOK
2965 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:301: INFINITYTOK
2972 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:313: NINFINITYTOK
2979 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:326: SEPARATOR
2986 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:336: COLON
2993 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:342: ELIPSES
3000 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:350: ASSIGNMENT
3007 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:361: TYPE_ASSIGNMENT
3014 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:377: LT
3021 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:380: GT
3028 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:383: OPENBRAC
3035 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:392: CLOSEBRAC
3042 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:402: LPAREN
3049 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:409: RPAREN
3056 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:416: LCURL
3063 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:422: RCURL
3070 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:428: TERM
3077 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:433: POINTER
3084 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:441: SIGN
3091 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:446: ARROW
3098 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:452: DOT
3105 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:456: OCTAL_LITERAL
3112 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:470: DECIMAL_LITERAL
3119 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:486: HEX_LITERAL
3126 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:498: CHARACTER_LITERAL
3128 mCHARACTER_LITERAL();
3133 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:516: STRING_LITERAL
3140 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:531: WS
3147 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:534: COMMENT
3154 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:542: LINE_COMMENT
3161 // org/eclipse/tracecompass/ctf/parser/CTFLexer.g:1:555: IDENTIFIER
3172 protected DFA30 dfa30
= new DFA30(this);
3173 static final String DFA30_eotS
=
3174 "\1\uffff\15\45\2\76\1\uffff\1\102\1\104\13\uffff\1\37\1\uffff\1\45\5\uffff"+
3175 "\27\45\11\uffff\1\144\2\uffff\7\45\1\154\2\45\1\160\14\45\1\177\3\144"+
3176 "\1\uffff\2\45\1\u0087\3\45\1\u008b\1\uffff\3\45\1\uffff\1\u008f\11\45"+
3177 "\1\u009a\3\45\1\uffff\1\144\1\uffff\3\144\1\u00a0\1\u00a1\1\uffff\1\u00a2"+
3178 "\2\45\1\uffff\1\u00a5\1\u00a7\1\45\1\uffff\1\u00a9\4\45\1\u00ae\4\45\1"+
3179 "\uffff\1\u00b3\2\45\5\uffff\1\45\1\u00b7\1\uffff\1\45\1\uffff\1\45\1\uffff"+
3180 "\1\u00ba\1\u00bb\1\u00bc\1\u00bd\1\uffff\4\45\1\uffff\3\45\1\uffff\1\45"+
3181 "\1\u00c6\4\uffff\1\45\1\u00c8\1\45\1\u00ca\2\45\1\u00cd\1\45\1\uffff\1"+
3182 "\45\1\uffff\1\u00d0\1\uffff\1\u00d1\1\45\1\uffff\1\45\1\u00d4\2\uffff"+
3183 "\2\45\1\uffff\1\u00d7\1\45\1\uffff\2\45\1\u00db\1\uffff";
3184 static final String DFA30_eofS
=
3186 static final String DFA30_minS
=
3187 "\1\11\1\154\1\141\1\157\1\156\1\154\1\156\1\157\1\150\1\162\1\156\1\141"+
3188 "\1\102\1\141\1\151\1\76\1\uffff\1\75\1\56\13\uffff\1\60\1\uffff\1\42\3"+
3189 "\uffff\1\52\1\uffff\1\151\1\156\1\141\1\157\1\154\2\165\1\145\1\157\1"+
3190 "\164\1\156\1\157\1\147\1\162\1\141\1\160\1\163\1\162\1\151\2\157\1\155"+
3191 "\1\116\11\uffff\1\60\2\uffff\1\147\1\163\1\162\1\143\1\154\1\142\1\155"+
3192 "\1\60\1\156\1\141\1\60\1\147\1\162\1\156\1\145\1\143\1\145\2\151\1\144"+
3193 "\1\157\1\155\1\141\1\60\1\125\2\114\1\uffff\1\156\1\164\1\60\1\153\1\163"+
3194 "\1\154\1\60\1\uffff\2\164\1\147\1\uffff\1\60\1\164\1\145\1\141\1\156\1"+
3195 "\143\1\145\1\141\1\147\1\141\1\60\1\154\1\160\1\147\1\uffff\1\125\1\uffff"+
3196 "\1\125\1\154\1\114\2\60\1\uffff\1\60\1\151\1\145\1\uffff\2\60\1\145\1"+
3197 "\uffff\1\60\1\144\1\155\1\147\1\164\1\60\1\154\1\145\2\156\1\uffff\1\60"+
3198 "\1\154\1\151\5\uffff\1\164\1\60\1\uffff\1\156\1\uffff\1\162\1\uffff\4"+
3199 "\60\1\uffff\1\151\1\146\1\145\1\164\1\uffff\1\145\1\156\1\145\1\uffff"+
3200 "\1\147\1\60\4\uffff\1\141\1\60\1\144\1\60\1\170\1\141\1\60\1\137\1\uffff"+
3201 "\1\163\1\uffff\1\60\1\uffff\1\60\1\162\1\uffff\1\160\1\60\2\uffff\1\171"+
3202 "\1\157\1\uffff\1\60\1\151\1\uffff\1\156\1\164\1\60\1\uffff";
3203 static final String DFA30_maxS
=
3204 "\1\175\1\154\2\157\1\166\1\154\1\156\1\157\1\164\1\171\1\156\1\157\1\111"+
3205 "\1\141\2\151\1\uffff\1\75\1\56\13\uffff\1\170\1\uffff\1\47\3\uffff\1\57"+
3206 "\1\uffff\1\151\1\156\1\141\1\157\1\154\1\165\1\166\1\145\1\157\1\164\1"+
3207 "\156\1\157\1\147\1\162\1\141\1\160\1\163\1\162\1\151\2\157\1\155\1\116"+
3208 "\11\uffff\1\165\2\uffff\1\147\1\163\1\162\1\143\1\154\1\142\1\155\1\172"+
3209 "\1\156\1\141\1\172\1\147\1\162\1\156\1\165\1\143\1\145\2\151\1\144\1\157"+
3210 "\1\155\1\141\1\172\2\165\1\154\1\uffff\1\156\1\164\1\172\1\153\1\163\1"+
3211 "\154\1\172\1\uffff\2\164\1\147\1\uffff\1\172\1\164\1\145\1\141\1\156\1"+
3212 "\143\1\145\1\144\1\147\1\141\1\172\1\154\1\160\1\147\1\uffff\1\165\1\uffff"+
3213 "\1\165\1\154\1\114\2\172\1\uffff\1\172\1\151\1\145\1\uffff\2\172\1\145"+
3214 "\1\uffff\1\172\1\144\1\155\1\147\1\164\1\172\1\154\1\145\2\156\1\uffff"+
3215 "\1\172\1\154\1\151\5\uffff\1\164\1\172\1\uffff\1\156\1\uffff\1\162\1\uffff"+
3216 "\4\172\1\uffff\1\151\1\146\1\145\1\164\1\uffff\1\145\1\156\1\145\1\uffff"+
3217 "\1\147\1\172\4\uffff\1\141\1\172\1\144\1\172\1\170\1\141\1\172\1\137\1"+
3218 "\uffff\1\163\1\uffff\1\172\1\uffff\1\172\1\162\1\uffff\1\160\1\172\2\uffff"+
3219 "\1\171\1\157\1\uffff\1\172\1\151\1\uffff\1\156\1\164\1\172\1\uffff";
3220 static final String DFA30_acceptS
=
3221 "\20\uffff\1\40\2\uffff\1\43\1\45\1\46\1\47\1\50\1\51\1\52\1\53\1\54\1"+
3222 "\55\1\56\1\uffff\1\63\1\uffff\1\65\1\66\1\67\1\uffff\1\72\27\uffff\1\36"+
3223 "\1\57\1\37\1\60\1\44\1\41\1\42\1\61\1\64\1\uffff\1\70\1\71\33\uffff\1"+
3224 "\62\7\uffff\1\32\3\uffff\1\12\16\uffff\1\35\1\uffff\1\62\5\uffff\1\3\3"+
3225 "\uffff\1\5\3\uffff\1\13\12\uffff\1\26\3\uffff\2\62\1\1\1\2\1\33\2\uffff"+
3226 "\1\6\1\uffff\1\10\1\uffff\1\14\4\uffff\1\21\4\uffff\1\27\3\uffff\1\4\2"+
3227 "\uffff\1\15\1\16\1\17\1\20\10\uffff\1\11\1\uffff\1\23\1\uffff\1\25\2\uffff"+
3228 "\1\34\2\uffff\1\24\1\30\2\uffff\1\22\2\uffff\1\31\3\uffff\1\7";
3229 static final String DFA30_specialS
=
3231 static final String
[] DFA30_transitionS
= {
3232 "\2\43\1\uffff\2\43\22\uffff\1\43\1\uffff\1\42\4\uffff\1\41\1\30\1\31"+
3233 "\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"+
3234 "\uffff\13\45\1\40\1\45\1\15\14\45\1\26\1\uffff\1\27\1\uffff\1\14\1\uffff"+
3235 "\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"+
3236 "\4\45\1\32\1\uffff\1\33",
3238 "\1\52\6\uffff\1\50\3\uffff\1\51\2\uffff\1\47",
3240 "\1\54\7\uffff\1\55",
3244 "\1\61\1\62\12\uffff\1\63",
3245 "\1\64\6\uffff\1\65",
3247 "\1\67\15\uffff\1\70",
3248 "\1\71\1\72\5\uffff\1\73",
3251 "\1\100\52\uffff\1\77",
3266 "\10\106\40\uffff\1\105\37\uffff\1\105",
3268 "\1\42\4\uffff\1\41",
3272 "\1\107\4\uffff\1\110",
3306 "\10\106\2\37\22\uffff\1\142\10\uffff\1\143\26\uffff\1\141\10\uffff\1"+
3317 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3320 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\4\45\1\157\25\45",
3324 "\1\164\3\uffff\1\165\13\uffff\1\166",
3333 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3334 "\1\u0081\26\uffff\1\u0080\10\uffff\1\u0081",
3335 "\1\u0082\10\uffff\1\u0081\37\uffff\1\u0081",
3336 "\1\u0084\37\uffff\1\u0083",
3340 "\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",
3350 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3357 "\1\u0096\2\uffff\1\u0097",
3360 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3365 "\1\u0081\37\uffff\1\u0081",
3367 "\1\u0081\37\uffff\1\u0081",
3370 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3371 "\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",
3377 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3378 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\10\45\1\u00a6\21\45",
3381 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3386 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3392 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3401 "\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",
3408 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3409 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3410 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3422 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3428 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3430 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3433 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3438 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3440 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3444 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3450 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3455 "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45",
3459 static final short[] DFA30_eot
= DFA
.unpackEncodedString(DFA30_eotS
);
3460 static final short[] DFA30_eof
= DFA
.unpackEncodedString(DFA30_eofS
);
3461 static final char[] DFA30_min
= DFA
.unpackEncodedStringToUnsignedChars(DFA30_minS
);
3462 static final char[] DFA30_max
= DFA
.unpackEncodedStringToUnsignedChars(DFA30_maxS
);
3463 static final short[] DFA30_accept
= DFA
.unpackEncodedString(DFA30_acceptS
);
3464 static final short[] DFA30_special
= DFA
.unpackEncodedString(DFA30_specialS
);
3465 static final short[][] DFA30_transition
;
3468 int numStates
= DFA30_transitionS
.length
;
3469 DFA30_transition
= new short[numStates
][];
3470 for (int i
=0; i
<numStates
; i
++) {
3471 DFA30_transition
[i
] = DFA
.unpackEncodedString(DFA30_transitionS
[i
]);
3475 protected class DFA30
extends DFA
{
3477 public DFA30(BaseRecognizer recognizer
) {
3478 this.recognizer
= recognizer
;
3479 this.decisionNumber
= 30;
3480 this.eot
= DFA30_eot
;
3481 this.eof
= DFA30_eof
;
3482 this.min
= DFA30_min
;
3483 this.max
= DFA30_max
;
3484 this.accept
= DFA30_accept
;
3485 this.special
= DFA30_special
;
3486 this.transition
= DFA30_transition
;
3489 public String
getDescription() {
3490 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 | CALLSITETOK | 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 );";