View Javadoc
1   /* Generated By:JavaCC: Do not edit this line. MatlabParserConstants.java */
2   package net.sourceforge.pmd.lang.matlab.ast;
3   
4   
5   /**
6    * Token literal values and constants.
7    * Generated by org.javacc.parser.OtherFilesGen#start()
8    */
9   public interface MatlabParserConstants {
10  
11    /** End of File. */
12    int EOF = 0;
13    /** RegularExpression Id. */
14    int SEMI = 10;
15    /** RegularExpression Id. */
16    int LPAREN = 11;
17    /** RegularExpression Id. */
18    int RPAREN = 12;
19    /** RegularExpression Id. */
20    int LBRACE = 13;
21    /** RegularExpression Id. */
22    int RBRACE = 14;
23    /** RegularExpression Id. */
24    int LSBRACE = 15;
25    /** RegularExpression Id. */
26    int RSBRACE = 16;
27    /** RegularExpression Id. */
28    int AT = 17;
29    /** RegularExpression Id. */
30    int DOT = 18;
31    /** RegularExpression Id. */
32    int COMMA = 19;
33    /** RegularExpression Id. */
34    int DOUBLE_EQ = 20;
35    /** RegularExpression Id. */
36    int LOG_OR = 21;
37    /** RegularExpression Id. */
38    int LOG_AND = 22;
39    /** RegularExpression Id. */
40    int LSTE = 23;
41    /** RegularExpression Id. */
42    int GRTE = 24;
43    /** RegularExpression Id. */
44    int NEQ = 25;
45    /** RegularExpression Id. */
46    int EL_TIMES = 26;
47    /** RegularExpression Id. */
48    int EL_LEFTDIV = 27;
49    /** RegularExpression Id. */
50    int EL_RIGHTDIV = 28;
51    /** RegularExpression Id. */
52    int EL_EXP = 29;
53    /** RegularExpression Id. */
54    int EL_CCT = 30;
55    /** RegularExpression Id. */
56    int EQ = 31;
57    /** RegularExpression Id. */
58    int BIN_OR = 32;
59    /** RegularExpression Id. */
60    int BIN_AND = 33;
61    /** RegularExpression Id. */
62    int LST = 34;
63    /** RegularExpression Id. */
64    int GRT = 35;
65    /** RegularExpression Id. */
66    int COLON = 36;
67    /** RegularExpression Id. */
68    int PLUS = 37;
69    /** RegularExpression Id. */
70    int MINUS = 38;
71    /** RegularExpression Id. */
72    int NEG = 39;
73    /** RegularExpression Id. */
74    int TIMES = 40;
75    /** RegularExpression Id. */
76    int LEFTDIV = 41;
77    /** RegularExpression Id. */
78    int RIGHTDIV = 42;
79    /** RegularExpression Id. */
80    int EXP = 43;
81    /** RegularExpression Id. */
82    int BREAK = 44;
83    /** RegularExpression Id. */
84    int CASE = 45;
85    /** RegularExpression Id. */
86    int CATCH = 46;
87    /** RegularExpression Id. */
88    int CONTINUE = 47;
89    /** RegularExpression Id. */
90    int ELSE = 48;
91    /** RegularExpression Id. */
92    int ELSEIF = 49;
93    /** RegularExpression Id. */
94    int END = 50;
95    /** RegularExpression Id. */
96    int FOR = 51;
97    /** RegularExpression Id. */
98    int FUNCTION = 52;
99    /** RegularExpression Id. */
100   int GLOBAL = 53;
101   /** RegularExpression Id. */
102   int IF = 54;
103   /** RegularExpression Id. */
104   int OTHERWISE = 55;
105   /** RegularExpression Id. */
106   int PERSISTENT = 56;
107   /** RegularExpression Id. */
108   int RETURN = 57;
109   /** RegularExpression Id. */
110   int SWITCH = 58;
111   /** RegularExpression Id. */
112   int TRY = 59;
113   /** RegularExpression Id. */
114   int VARARGIN = 60;
115   /** RegularExpression Id. */
116   int WHILE = 61;
117   /** RegularExpression Id. */
118   int CLEAR = 62;
119   /** RegularExpression Id. */
120   int ID = 63;
121   /** RegularExpression Id. */
122   int LETTER = 64;
123   /** RegularExpression Id. */
124   int INT = 65;
125   /** RegularExpression Id. */
126   int FLOAT = 66;
127   /** RegularExpression Id. */
128   int EXPONENT = 67;
129   /** RegularExpression Id. */
130   int DIGIT = 68;
131   /** RegularExpression Id. */
132   int STRING = 69;
133   /** RegularExpression Id. */
134   int ESC_SEQ = 70;
135   /** RegularExpression Id. */
136   int UNICODE_ESC = 71;
137   /** RegularExpression Id. */
138   int OCTAL_ESC = 72;
139   /** RegularExpression Id. */
140   int HEX_DIGIT = 73;
141   /** RegularExpression Id. */
142   int OCTAL_DIGIT = 74;
143   /** RegularExpression Id. */
144   int TR = 75;
145 
146   /** Lexical state. */
147   int DEFAULT = 0;
148   /** Lexical state. */
149   int TRANSPOSE = 1;
150   /** Lexical state. */
151   int IN_COMMENT = 2;
152   /** Lexical state. */
153   int IN_LINE_COMMENT = 3;
154 
155   /** Literal token values. */
156   String[] tokenImage = {
157     "<EOF>",
158     "\" \"",
159     "\"\\t\"",
160     "\"\\r\\n\"",
161     "\"\\n\"",
162     "\"%{\"",
163     "\"%\"",
164     "\"%}\"",
165     "\"\\n\"",
166     "<token of kind 9>",
167     "\";\"",
168     "\"(\"",
169     "\")\"",
170     "\"{\"",
171     "\"}\"",
172     "\"[\"",
173     "\"]\"",
174     "\"@\"",
175     "\".\"",
176     "\",\"",
177     "\"==\"",
178     "\"||\"",
179     "\"&&\"",
180     "\"<=\"",
181     "\">=\"",
182     "\"~=\"",
183     "\".*\"",
184     "\"./\"",
185     "\".\\\\\"",
186     "\".^\"",
187     "\".\\\'\"",
188     "\"=\"",
189     "\"|\"",
190     "\"&\"",
191     "\"<\"",
192     "\">\"",
193     "\":\"",
194     "\"+\"",
195     "\"-\"",
196     "\"~\"",
197     "\"*\"",
198     "\"/\"",
199     "\"\\\\\"",
200     "\"^\"",
201     "\"break\"",
202     "\"case\"",
203     "\"catch\"",
204     "\"continue\"",
205     "\"else\"",
206     "\"elseif\"",
207     "\"end\"",
208     "\"for\"",
209     "\"function\"",
210     "\"global\"",
211     "\"if\"",
212     "\"otherwise\"",
213     "\"persistent\"",
214     "\"return\"",
215     "\"switch\"",
216     "\"try\"",
217     "\"varargin\"",
218     "\"while\"",
219     "\"clear\"",
220     "<ID>",
221     "<LETTER>",
222     "<INT>",
223     "<FLOAT>",
224     "<EXPONENT>",
225     "<DIGIT>",
226     "<STRING>",
227     "<ESC_SEQ>",
228     "<UNICODE_ESC>",
229     "<OCTAL_ESC>",
230     "<HEX_DIGIT>",
231     "<OCTAL_DIGIT>",
232     "\"\\\'\"",
233   };
234 
235 }