KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cayenne > exp > parser > ExpressionParserConstants


1 /* Generated By:JJTree&JavaCC: Do not edit this line. ExpressionParserConstants.java */
2 /*****************************************************************
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements. See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership. The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License. You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied. See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  ****************************************************************/

20
21
22 package org.apache.cayenne.exp.parser;
23
24 public interface ExpressionParserConstants {
25
26   int EOF = 0;
27   int NULL = 31;
28   int TRUE = 32;
29   int FALSE = 33;
30   int PROPERTY_PATH = 34;
31   int IDENTIFIER = 35;
32   int LETTER = 36;
33   int DIGIT = 37;
34   int ESC = 40;
35   int SINGLE_QUOTED_STRING = 42;
36   int STRING_ESC = 43;
37   int DOUBLE_QUOTED_STRING = 45;
38   int INT_LITERAL = 46;
39   int FLOAT_LITERAL = 47;
40   int DEC_FLT = 48;
41   int DEC_DIGITS = 49;
42   int EXPONENT = 50;
43   int FLT_SUFF = 51;
44
45   int DEFAULT = 0;
46   int WithinSingleQuoteLiteral = 1;
47   int WithinDoubleQuoteLiteral = 2;
48
49   String JavaDoc[] tokenImage = {
50     "<EOF>",
51     "\"or\"",
52     "\"and\"",
53     "\"not\"",
54     "\"!\"",
55     "\"=\"",
56     "\"==\"",
57     "\"!=\"",
58     "\"<>\"",
59     "\"<=\"",
60     "\"<\"",
61     "\">\"",
62     "\">=\"",
63     "\"like\"",
64     "\"likeIgnoreCase\"",
65     "\"in\"",
66     "\"(\"",
67     "\")\"",
68     "\"between\"",
69     "\",\"",
70     "\"+\"",
71     "\"-\"",
72     "\"*\"",
73     "\"/\"",
74     "\"$\"",
75     "\"obj:\"",
76     "\"db:\"",
77     "\" \"",
78     "\"\\t\"",
79     "\"\\n\"",
80     "\"\\r\"",
81     "<NULL>",
82     "<TRUE>",
83     "<FALSE>",
84     "<PROPERTY_PATH>",
85     "<IDENTIFIER>",
86     "<LETTER>",
87     "<DIGIT>",
88     "\"\\\'\"",
89     "\"\\\"\"",
90     "<ESC>",
91     "<token of kind 41>",
92     "\"\\\'\"",
93     "<STRING_ESC>",
94     "<token of kind 44>",
95     "\"\\\"\"",
96     "<INT_LITERAL>",
97     "<FLOAT_LITERAL>",
98     "<DEC_FLT>",
99     "<DEC_DIGITS>",
100     "<EXPONENT>",
101     "<FLT_SUFF>",
102   };
103
104 }
105
Popular Tags