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 VAR = 45;
095  /** RegularExpression Id. */
096  int LET = 46;
097  /** RegularExpression Id. */
098  int NUMBER = 47;
099  /** RegularExpression Id. */
100  int LONG_NUMBER = 48;
101  /** RegularExpression Id. */
102  int BIGINTEGER = 49;
103  /** RegularExpression Id. */
104  int FLOATING_NUMBER = 50;
105  /** RegularExpression Id. */
106  int FLOAT = 51;
107  /** RegularExpression Id. */
108  int BIGDECIMAL = 52;
109  /** RegularExpression Id. */
110  int STRING = 53;
111  /** RegularExpression Id. */
112  int CHAR = 54;
113  /** RegularExpression Id. */
114  int NULL = 55;
115  /** RegularExpression Id. */
116  int TRUE = 56;
117  /** RegularExpression Id. */
118  int FALSE = 57;
119  /** RegularExpression Id. */
120  int CLASSREF = 58;
121  /** RegularExpression Id. */
122  int FUNREF = 59;
123  /** RegularExpression Id. */
124  int COLL_START = 60;
125  /** RegularExpression Id. */
126  int MULTI_STRING = 63;
127  /** RegularExpression Id. */
128  int IDENTIFIER = 64;
129  /** RegularExpression Id. */
130  int LETTER = 65;
131  /** RegularExpression Id. */
132  int ID_REST = 66;
133  /** RegularExpression Id. */
134  int COMMENT = 67;
135  /** RegularExpression Id. */
136  int DOCUMENTATION = 70;
137  /** RegularExpression Id. */
138  int INVALID = 71;
139
140  /** Lexical state. */
141  int DEFAULT = 0;
142  /** Lexical state. */
143  int WithinMultiString = 1;
144  /** Lexical state. */
145  int ESCAPED = 2;
146  /** Lexical state. */
147  int WithinDocumentation = 3;
148
149  /** Literal token values. */
150  String[] tokenImage = {
151    "<EOF>",
152    "\" \"",
153    "\"\\t\"",
154    "\"\\r\"",
155    "\"\\f\"",
156    "\"\\n\"",
157    "\"`\"",
158    "\"module\"",
159    "\"import\"",
160    "\"function\"",
161    "\"local\"",
162    "\"return\"",
163    "\"if\"",
164    "\"else\"",
165    "\"while\"",
166    "\"for\"",
167    "\"foreach\"",
168    "\"in\"",
169    "\"throw\"",
170    "\"try\"",
171    "\"catch\"",
172    "\"finally\"",
173    "\"case\"",
174    "\"when\"",
175    "\"match\"",
176    "\"then\"",
177    "\"otherwise\"",
178    "<AUGMENT>",
179    "\"augmentation\"",
180    "\"with\"",
181    "\"break\"",
182    "\"continue\"",
183    "\"struct\"",
184    "\"union\"",
185    "<MULTIPLICATIVE_OPERATOR>",
186    "<ADDITIVE_OPERATOR>",
187    "<RELATIONAL_OPERATOR>",
188    "<EQUALITY_OPERATOR>",
189    "\"and\"",
190    "\"or\"",
191    "\"orIfNull\"",
192    "\"not\"",
193    "<INVOCATION_OPERATOR>",
194    "\"!\"",
195    "\"@\"",
196    "\"var\"",
197    "\"let\"",
198    "<NUMBER>",
199    "<LONG_NUMBER>",
200    "<BIGINTEGER>",
201    "<FLOATING_NUMBER>",
202    "<FLOAT>",
203    "<BIGDECIMAL>",
204    "<STRING>",
205    "<CHAR>",
206    "\"null\"",
207    "\"true\"",
208    "\"false\"",
209    "<CLASSREF>",
210    "<FUNREF>",
211    "<COLL_START>",
212    "\"\\\"\\\"\\\"\"",
213    "<token of kind 62>",
214    "\"\\\"\\\"\\\"\"",
215    "<IDENTIFIER>",
216    "<LETTER>",
217    "<ID_REST>",
218    "<COMMENT>",
219    "<token of kind 68>",
220    "<token of kind 69>",
221    "<DOCUMENTATION>",
222    "<INVALID>",
223    "\".\"",
224    "\",\"",
225    "\".{\"",
226    "\"}\"",
227    "\"=\"",
228    "\"{\"",
229    "\"(\"",
230    "\")\"",
231    "\"...\"",
232    "\"|\"",
233    "\"->\"",
234    "\"..\"",
235    "\"]\"",
236  };
237
238}