View Javadoc

1   /*
2    * Copyright 2002-2006 The Apache Software Foundation.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  /* Generated By:JJTree&JavaCC: Do not edit this line. ParserConstants.java */
17  package org.apache.commons.jexl.parser;
18  
19  public interface ParserConstants {
20  
21    int EOF = 0;
22    int COMMENT = 1;
23    int INTEGER_LITERAL = 7;
24    int FLOAT_LITERAL = 8;
25    int IDENTIFIER = 58;
26    int LETTER = 59;
27    int DIGIT = 60;
28    int STRING_LITERAL = 61;
29  
30    int DEFAULT = 0;
31  
32    String[] tokenImage = {
33      "<EOF>",
34      "<COMMENT>",
35      "\" \"",
36      "\"//t\"",
37      "\"//n\"",
38      "\"//r\"",
39      "\"//f\"",
40      "<INTEGER_LITERAL>",
41      "<FLOAT_LITERAL>",
42      "\"{\"",
43      "\"}\"",
44      "\"empty\"",
45      "\"(\"",
46      "\")\"",
47      "\"size\"",
48      "\"=\"",
49      "\"||\"",
50      "\"or\"",
51      "\"&&\"",
52      "\"and\"",
53      "\"|\"",
54      "\"^\"",
55      "\"&\"",
56      "\"==\"",
57      "\"eq\"",
58      "\"!=\"",
59      "\"ne\"",
60      "\"<\"",
61      "\"lt\"",
62      "\">\"",
63      "\"gt\"",
64      "\"<=\"",
65      "\"le\"",
66      "\">=\"",
67      "\"ge\"",
68      "\"+\"",
69      "\"-\"",
70      "\"*\"",
71      "\"/\"",
72      "\"div\"",
73      "\"%\"",
74      "\"mod\"",
75      "\"~\"",
76      "\"!\"",
77      "\"not\"",
78      "\"null\"",
79      "\"true\"",
80      "\"false\"",
81      "\";\"",
82      "\"if\"",
83      "\"else\"",
84      "\"while\"",
85      "\"foreach\"",
86      "\"in\"",
87      "\",\"",
88      "\"[\"",
89      "\"]\"",
90      "\".\"",
91      "<IDENTIFIER>",
92      "<LETTER>",
93      "<DIGIT>",
94      "<STRING_LITERAL>",
95    };
96  
97  }