001/* Generated By:JJTree&JavaCC: Do not edit this line. GoloParserConstants.java */
002package org.eclipse.golo.compiler.parser;
003
004
005/**
006 * Token literal values and constants.
007 * Generated by org.javacc.parser.OtherFilesGen#start()
008 */
009public interface GoloParserConstants {
010
011  /** End of File. */
012  int EOF = 0;
013  /** RegularExpression Id. */
014  int NEWLINE = 5;
015  /** RegularExpression Id. */
016  int ESCAPE = 6;
017  /** RegularExpression Id. */
018  int MODULE = 7;
019  /** RegularExpression Id. */
020  int IMPORT = 8;
021  /** RegularExpression Id. */
022  int FUNCTION = 9;
023  /** RegularExpression Id. */
024  int LOCAL = 10;
025  /** RegularExpression Id. */
026  int RETURN = 11;
027  /** RegularExpression Id. */
028  int IF = 12;
029  /** RegularExpression Id. */
030  int ELSE = 13;
031  /** RegularExpression Id. */
032  int WHILE = 14;
033  /** RegularExpression Id. */
034  int FOR = 15;
035  /** RegularExpression Id. */
036  int FOREACH = 16;
037  /** RegularExpression Id. */
038  int IN = 17;
039  /** RegularExpression Id. */
040  int THROW = 18;
041  /** RegularExpression Id. */
042  int TRY = 19;
043  /** RegularExpression Id. */
044  int CATCH = 20;
045  /** RegularExpression Id. */
046  int FINALLY = 21;
047  /** RegularExpression Id. */
048  int CASE = 22;
049  /** RegularExpression Id. */
050  int WHEN = 23;
051  /** RegularExpression Id. */
052  int MATCH = 24;
053  /** RegularExpression Id. */
054  int THEN = 25;
055  /** RegularExpression Id. */
056  int OTHERWISE = 26;
057  /** RegularExpression Id. */
058  int AUGMENT = 27;
059  /** RegularExpression Id. */
060  int NAMEDAUGMENTATION = 28;
061  /** RegularExpression Id. */
062  int WITH = 29;
063  /** RegularExpression Id. */
064  int BREAK = 30;
065  /** RegularExpression Id. */
066  int CONTINUE = 31;
067  /** RegularExpression Id. */
068  int STRUCT = 32;
069  /** RegularExpression Id. */
070  int UNION = 33;
071  /** RegularExpression Id. */
072  int MULTIPLICATIVE_OPERATOR = 34;
073  /** RegularExpression Id. */
074  int ADDITIVE_OPERATOR = 35;
075  /** RegularExpression Id. */
076  int RELATIONAL_OPERATOR = 36;
077  /** RegularExpression Id. */
078  int EQUALITY_OPERATOR = 37;
079  /** RegularExpression Id. */
080  int AND_OPERATOR = 38;
081  /** RegularExpression Id. */
082  int OR_OPERATOR = 39;
083  /** RegularExpression Id. */
084  int OR_IFNULL_OPERATOR = 40;
085  /** RegularExpression Id. */
086  int UNARY_OPERATOR = 41;
087  /** RegularExpression Id. */
088  int INVOCATION_OPERATOR = 42;
089  /** RegularExpression Id. */
090  int CONSTANT_INVOCATION = 43;
091  /** RegularExpression Id. */
092  int DECORATOR = 44;
093  /** RegularExpression Id. */
094  int MACRO_INVOCATION = 45;
095  /** RegularExpression Id. */
096  int MACRO = 46;
097  /** RegularExpression Id. */
098  int VAR = 47;
099  /** RegularExpression Id. */
100  int LET = 48;
101  /** RegularExpression Id. */
102  int NUMBER = 49;
103  /** RegularExpression Id. */
104  int LONG_NUMBER = 50;
105  /** RegularExpression Id. */
106  int BIGINTEGER = 51;
107  /** RegularExpression Id. */
108  int FLOATING_NUMBER = 52;
109  /** RegularExpression Id. */
110  int FLOAT = 53;
111  /** RegularExpression Id. */
112  int BIGDECIMAL = 54;
113  /** RegularExpression Id. */
114  int STRING = 55;
115  /** RegularExpression Id. */
116  int CHAR = 56;
117  /** RegularExpression Id. */
118  int NULL = 57;
119  /** RegularExpression Id. */
120  int TRUE = 58;
121  /** RegularExpression Id. */
122  int FALSE = 59;
123  /** RegularExpression Id. */
124  int CLASSREF = 60;
125  /** RegularExpression Id. */
126  int FUNREF = 61;
127  /** RegularExpression Id. */
128  int COLL_START = 62;
129  /** RegularExpression Id. */
130  int MULTI_STRING = 65;
131  /** RegularExpression Id. */
132  int IDENTIFIER = 66;
133  /** RegularExpression Id. */
134  int LETTER = 67;
135  /** RegularExpression Id. */
136  int ID_REST = 68;
137  /** RegularExpression Id. */
138  int COMMENT = 69;
139  /** RegularExpression Id. */
140  int DOCUMENTATION = 72;
141  /** RegularExpression Id. */
142  int INVALID = 73;
143
144  /** Lexical state. */
145  int DEFAULT = 0;
146  /** Lexical state. */
147  int WithinMultiString = 1;
148  /** Lexical state. */
149  int ESCAPED = 2;
150  /** Lexical state. */
151  int WithinDocumentation = 3;
152
153  /** Literal token values. */
154  String[] tokenImage = {
155    "<EOF>",
156    "\" \"",
157    "\"\\t\"",
158    "\"\\r\"",
159    "\"\\f\"",
160    "\"\\n\"",
161    "\"`\"",
162    "\"module\"",
163    "\"import\"",
164    "\"function\"",
165    "\"local\"",
166    "\"return\"",
167    "\"if\"",
168    "\"else\"",
169    "\"while\"",
170    "\"for\"",
171    "\"foreach\"",
172    "\"in\"",
173    "\"throw\"",
174    "\"try\"",
175    "\"catch\"",
176    "\"finally\"",
177    "\"case\"",
178    "\"when\"",
179    "\"match\"",
180    "\"then\"",
181    "\"otherwise\"",
182    "<AUGMENT>",
183    "\"augmentation\"",
184    "\"with\"",
185    "\"break\"",
186    "\"continue\"",
187    "\"struct\"",
188    "\"union\"",
189    "<MULTIPLICATIVE_OPERATOR>",
190    "<ADDITIVE_OPERATOR>",
191    "<RELATIONAL_OPERATOR>",
192    "<EQUALITY_OPERATOR>",
193    "\"and\"",
194    "\"or\"",
195    "\"orIfNull\"",
196    "\"not\"",
197    "<INVOCATION_OPERATOR>",
198    "\"!\"",
199    "\"@\"",
200    "\"&\"",
201    "\"macro\"",
202    "\"var\"",
203    "\"let\"",
204    "<NUMBER>",
205    "<LONG_NUMBER>",
206    "<BIGINTEGER>",
207    "<FLOATING_NUMBER>",
208    "<FLOAT>",
209    "<BIGDECIMAL>",
210    "<STRING>",
211    "<CHAR>",
212    "\"null\"",
213    "\"true\"",
214    "\"false\"",
215    "<CLASSREF>",
216    "<FUNREF>",
217    "<COLL_START>",
218    "\"\\\"\\\"\\\"\"",
219    "<token of kind 64>",
220    "\"\\\"\\\"\\\"\"",
221    "<IDENTIFIER>",
222    "<LETTER>",
223    "<ID_REST>",
224    "<COMMENT>",
225    "<token of kind 70>",
226    "<token of kind 71>",
227    "<DOCUMENTATION>",
228    "<INVALID>",
229    "\".\"",
230    "\",\"",
231    "\".{\"",
232    "\"}\"",
233    "\"=\"",
234    "\"{\"",
235    "\"(\"",
236    "\")\"",
237    "\"...\"",
238    "\"|\"",
239    "\"->\"",
240    "\"..\"",
241    "\"]\"",
242  };
243
244}