1 /* Generated By:JavaCC: Do not edit this line. ZCompilerConstants.java */
2 package net.sf.zel.vm;
3
4
5 /**
6 * Token literal values and constants.
7 * Generated by org.javacc.parser.OtherFilesGen#start()
8 */
9 public interface ZCompilerConstants {
10
11 /** End of File. */
12 int EOF = 0;
13 /** RegularExpression Id. */
14 int PLUS = 5;
15 /** RegularExpression Id. */
16 int MINUS = 6;
17 /** RegularExpression Id. */
18 int MULTIPLY = 7;
19 /** RegularExpression Id. */
20 int DIVIDE = 8;
21 /** RegularExpression Id. */
22 int MOD = 9;
23 /** RegularExpression Id. */
24 int POW = 10;
25 /** RegularExpression Id. */
26 int AND = 11;
27 /** RegularExpression Id. */
28 int OR = 12;
29 /** RegularExpression Id. */
30 int GT = 13;
31 /** RegularExpression Id. */
32 int LT = 14;
33 /** RegularExpression Id. */
34 int LE = 15;
35 /** RegularExpression Id. */
36 int GE = 16;
37 /** RegularExpression Id. */
38 int EQ = 17;
39 /** RegularExpression Id. */
40 int NEQ = 18;
41 /** RegularExpression Id. */
42 int XOR = 19;
43 /** RegularExpression Id. */
44 int NOT = 20;
45 /** RegularExpression Id. */
46 int CONDITION = 21;
47 /** RegularExpression Id. */
48 int CLM = 22;
49 /** RegularExpression Id. */
50 int EQUAL = 23;
51 /** RegularExpression Id. */
52 int SCL = 24;
53 /** RegularExpression Id. */
54 int LPAREN = 25;
55 /** RegularExpression Id. */
56 int RPAREN = 26;
57 /** RegularExpression Id. */
58 int LBRACE = 27;
59 /** RegularExpression Id. */
60 int RBRACE = 28;
61 /** RegularExpression Id. */
62 int LBRACKET = 29;
63 /** RegularExpression Id. */
64 int RBRACKET = 30;
65 /** RegularExpression Id. */
66 int COMMA = 31;
67 /** RegularExpression Id. */
68 int DOT = 32;
69 /** RegularExpression Id. */
70 int CONTEXT = 33;
71 /** RegularExpression Id. */
72 int RETURN = 34;
73 /** RegularExpression Id. */
74 int PRINT = 35;
75 /** RegularExpression Id. */
76 int GLOBAL = 36;
77 /** RegularExpression Id. */
78 int LAMBDA = 37;
79 /** RegularExpression Id. */
80 int DETERMINISTIC = 38;
81 /** RegularExpression Id. */
82 int GLOBVARMARKER = 39;
83 /** RegularExpression Id. */
84 int ARG = 40;
85 /** RegularExpression Id. */
86 int TRUE = 41;
87 /** RegularExpression Id. */
88 int FALSE = 42;
89 /** RegularExpression Id. */
90 int NULL = 43;
91 /** RegularExpression Id. */
92 int INTEGER = 44;
93 /** RegularExpression Id. */
94 int DECIMAL_LITERAL = 45;
95 /** RegularExpression Id. */
96 int HEX_LITERAL = 46;
97 /** RegularExpression Id. */
98 int OCTAL_LITERAL = 47;
99 /** RegularExpression Id. */
100 int FLOATING_POINT = 48;
101 /** RegularExpression Id. */
102 int EXPONENT = 49;
103 /** RegularExpression Id. */
104 int CHARACTER = 50;
105 /** RegularExpression Id. */
106 int STRING = 51;
107 /** RegularExpression Id. */
108 int MATCHEXP = 52;
109 /** RegularExpression Id. */
110 int ID = 53;
111 /** RegularExpression Id. */
112 int LETTER = 54;
113 /** RegularExpression Id. */
114 int DIGIT = 55;
115
116 /** Lexical state. */
117 int DEFAULT = 0;
118
119 /** Literal token values. */
120 String[] tokenImage = {
121 "<EOF>",
122 "\" \"",
123 "\"\\r\"",
124 "\"\\t\"",
125 "\"\\n\"",
126 "\"+\"",
127 "\"-\"",
128 "\"*\"",
129 "\"/\"",
130 "\"%\"",
131 "\"**\"",
132 "\"&&\"",
133 "\"||\"",
134 "\">\"",
135 "\"<\"",
136 "\"<=\"",
137 "\">=\"",
138 "\"==\"",
139 "\"!=\"",
140 "\"^\"",
141 "\"!\"",
142 "\"?\"",
143 "\":\"",
144 "\"=\"",
145 "\";\"",
146 "\"(\"",
147 "\")\"",
148 "\"{\"",
149 "\"}\"",
150 "\"[\"",
151 "\"]\"",
152 "\",\"",
153 "\".\"",
154 "\"context\"",
155 "\"return\"",
156 "\"print\"",
157 "\"global\"",
158 "\"lambda\"",
159 "\"deterministic\"",
160 "\"$\"",
161 "\"arg\"",
162 "\"true\"",
163 "\"false\"",
164 "<NULL>",
165 "<INTEGER>",
166 "<DECIMAL_LITERAL>",
167 "<HEX_LITERAL>",
168 "<OCTAL_LITERAL>",
169 "<FLOATING_POINT>",
170 "<EXPONENT>",
171 "<CHARACTER>",
172 "<STRING>",
173 "<MATCHEXP>",
174 "<ID>",
175 "<LETTER>",
176 "<DIGIT>",
177 };
178
179 }