View Javadoc
1   /* Generated By:JavaCC: Do not edit this line. JsonParserConstants.java */
2   /*
3    * #%L
4    * JsonParser.jj - mongodb-async-driver - Allanbank Consulting, Inc.
5    * %%
6    * Copyright (C) 2011 - 2014 Allanbank Consulting, Inc.
7    * %%
8    * Licensed under the Apache License, Version 2.0 (the "License");
9    * you may not use this file except in compliance with the License.
10   * You may obtain a copy of the License at
11   * 
12   *      http://www.apache.org/licenses/LICENSE-2.0
13   * 
14   * Unless required by applicable law or agreed to in writing, software
15   * distributed under the License is distributed on an "AS IS" BASIS,
16   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   * See the License for the specific language governing permissions and
18   * limitations under the License.
19   * #L%
20   */
21  package com.allanbank.mongodb.bson.json;
22  
23  
24  /**
25   * Token literal values and constants.
26   * Generated by org.javacc.parser.OtherFilesGen#start()
27   */
28  interface JsonParserConstants {
29  
30    /** End of File. */
31    int EOF = 0;
32    /** RegularExpression Id. */
33    int COMMENT_LINE = 6;
34    /** RegularExpression Id. */
35    int COMMENT_BLOCK = 7;
36    /** RegularExpression Id. */
37    int TOKEN_TRUE = 8;
38    /** RegularExpression Id. */
39    int TOKEN_FALSE = 9;
40    /** RegularExpression Id. */
41    int TOKEN_NULL = 10;
42    /** RegularExpression Id. */
43    int TOKEN_OPEN_BRACE = 11;
44    /** RegularExpression Id. */
45    int TOKEN_CLOSE_BRACE = 12;
46    /** RegularExpression Id. */
47    int TOKEN_OPEN_BRACKET = 13;
48    /** RegularExpression Id. */
49    int TOKEN_CLOSE_BRACKET = 14;
50    /** RegularExpression Id. */
51    int TOKEN_COMMA = 15;
52    /** RegularExpression Id. */
53    int TOKEN_COLON = 16;
54    /** RegularExpression Id. */
55    int TOKEN_DOT = 17;
56    /** RegularExpression Id. */
57    int TOKEN_PLUS = 18;
58    /** RegularExpression Id. */
59    int TOKEN_MINUS = 19;
60    /** RegularExpression Id. */
61    int DOUBLE = 20;
62    /** RegularExpression Id. */
63    int INTEGER = 21;
64    /** RegularExpression Id. */
65    int DIGIT = 22;
66    /** RegularExpression Id. */
67    int NONZERO_DIGIT = 23;
68    /** RegularExpression Id. */
69    int EXP = 24;
70    /** RegularExpression Id. */
71    int FRACTIONAL_DIGITS = 25;
72    /** RegularExpression Id. */
73    int EXPONENT = 26;
74    /** RegularExpression Id. */
75    int DIGITS = 27;
76    /** RegularExpression Id. */
77    int STRING_LITERAL = 28;
78    /** RegularExpression Id. */
79    int DOUBLE_STRING_CHARACTERS = 29;
80    /** RegularExpression Id. */
81    int SINGLE_STRING_CHARACTERS = 30;
82    /** RegularExpression Id. */
83    int DOUBLE_STRING_CHARACTER = 31;
84    /** RegularExpression Id. */
85    int SINGLE_STRING_CHARACTER = 32;
86    /** RegularExpression Id. */
87    int ESCAPE_SEQUENCE = 33;
88    /** RegularExpression Id. */
89    int CHARACTER_ESCAPE_SEQUENCE = 34;
90    /** RegularExpression Id. */
91    int SINGLE_ESCAPE_CHARACTER = 35;
92    /** RegularExpression Id. */
93    int NON_ESCAPE_CHARACTER = 36;
94    /** RegularExpression Id. */
95    int HEX_ESCAPE_SEQUENCE = 37;
96    /** RegularExpression Id. */
97    int HEX_DIGIT = 38;
98    /** RegularExpression Id. */
99    int TOKEN_BINDATA = 39;
100   /** RegularExpression Id. */
101   int TOKEN_HEXDATA = 40;
102   /** RegularExpression Id. */
103   int TOKEN_ISODATE = 41;
104   /** RegularExpression Id. */
105   int TOKEN_NUMBERLONG = 42;
106   /** RegularExpression Id. */
107   int TOKEN_OBJECTID = 43;
108   /** RegularExpression Id. */
109   int TOKEN_TIMESTAMP = 44;
110   /** RegularExpression Id. */
111   int TOKEN_MAXKEY = 45;
112   /** RegularExpression Id. */
113   int TOKEN_MINKEY = 46;
114   /** RegularExpression Id. */
115   int TOKEN_DB_POINTER = 47;
116   /** RegularExpression Id. */
117   int TOKEN_BINARY = 48;
118   /** RegularExpression Id. */
119   int TOKEN_TYPE = 49;
120   /** RegularExpression Id. */
121   int TOKEN_DATE = 50;
122   /** RegularExpression Id. */
123   int TOKEN_TS = 51;
124   /** RegularExpression Id. */
125   int TOKEN_REGEX = 52;
126   /** RegularExpression Id. */
127   int TOKEN_OPTIONS = 53;
128   /** RegularExpression Id. */
129   int TOKEN_OID = 54;
130   /** RegularExpression Id. */
131   int TOKEN_MAX = 55;
132   /** RegularExpression Id. */
133   int TOKEN_MIN = 56;
134   /** RegularExpression Id. */
135   int IDENTIFIER_NAME = 57;
136   /** RegularExpression Id. */
137   int IDENTIFIER_START = 58;
138   /** RegularExpression Id. */
139   int IDENTIFIER_PART = 59;
140   /** RegularExpression Id. */
141   int DOLLAR_SIGN = 60;
142   /** RegularExpression Id. */
143   int UNDER_SCORE = 61;
144   /** RegularExpression Id. */
145   int UNICODE_LETTER = 62;
146   /** RegularExpression Id. */
147   int UNICODE_COMBINING_MARK = 63;
148   /** RegularExpression Id. */
149   int MC = 64;
150   /** RegularExpression Id. */
151   int MN = 65;
152   /** RegularExpression Id. */
153   int UNICODE_DIGIT = 66;
154   /** RegularExpression Id. */
155   int UNICODE_CONNECTOR_PUNCTUATION = 67;
156   /** RegularExpression Id. */
157   int UNICODE_ESCAPE_SEQUENCE = 68;
158 
159   /** Lexical state. */
160   int DEFAULT = 0;
161 
162   /** Literal token values. */
163   String[] tokenImage = {
164     "<EOF>",
165     "\" \"",
166     "\"\\t\"",
167     "\"\\n\"",
168     "\"\\r\"",
169     "\"\\f\"",
170     "<COMMENT_LINE>",
171     "<COMMENT_BLOCK>",
172     "\"true\"",
173     "\"false\"",
174     "\"null\"",
175     "\"{\"",
176     "\"}\"",
177     "\"[\"",
178     "\"]\"",
179     "\",\"",
180     "\":\"",
181     "\".\"",
182     "\"+\"",
183     "\"-\"",
184     "<DOUBLE>",
185     "<INTEGER>",
186     "<DIGIT>",
187     "<NONZERO_DIGIT>",
188     "<EXP>",
189     "<FRACTIONAL_DIGITS>",
190     "<EXPONENT>",
191     "<DIGITS>",
192     "<STRING_LITERAL>",
193     "<DOUBLE_STRING_CHARACTERS>",
194     "<SINGLE_STRING_CHARACTERS>",
195     "<DOUBLE_STRING_CHARACTER>",
196     "<SINGLE_STRING_CHARACTER>",
197     "<ESCAPE_SEQUENCE>",
198     "<CHARACTER_ESCAPE_SEQUENCE>",
199     "<SINGLE_ESCAPE_CHARACTER>",
200     "<NON_ESCAPE_CHARACTER>",
201     "<HEX_ESCAPE_SEQUENCE>",
202     "<HEX_DIGIT>",
203     "\"BinData\"",
204     "\"HexData\"",
205     "\"ISODate\"",
206     "\"NumberLong\"",
207     "\"ObjectId\"",
208     "\"Timestamp\"",
209     "\"MaxKey\"",
210     "\"MinKey\"",
211     "\"DBPointer\"",
212     "<TOKEN_BINARY>",
213     "<TOKEN_TYPE>",
214     "<TOKEN_DATE>",
215     "<TOKEN_TS>",
216     "<TOKEN_REGEX>",
217     "<TOKEN_OPTIONS>",
218     "<TOKEN_OID>",
219     "<TOKEN_MAX>",
220     "<TOKEN_MIN>",
221     "<IDENTIFIER_NAME>",
222     "<IDENTIFIER_START>",
223     "<IDENTIFIER_PART>",
224     "\"$\"",
225     "\"_\"",
226     "<UNICODE_LETTER>",
227     "<UNICODE_COMBINING_MARK>",
228     "<MC>",
229     "<MN>",
230     "<UNICODE_DIGIT>",
231     "<UNICODE_CONNECTOR_PUNCTUATION>",
232     "<UNICODE_ESCAPE_SEQUENCE>",
233     "\"(\"",
234     "\")\"",
235   };
236 
237 }