KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > taglibs > standard > lang > jpath > expression > ParserConstants


1 /*
2  * Copyright 1999,2004 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
17 /* Generated By:JJTree&JavaCC: Do not edit this line. ParserConstants.java */
18 package org.apache.taglibs.standard.lang.jpath.expression;
19
20 public interface ParserConstants {
21
22   int EOF = 0;
23   int DIV = 6;
24   int MULT = 7;
25   int MOD = 8;
26   int PLUS = 9;
27   int MINUS = 10;
28   int EQ = 11;
29   int NEQ = 12;
30   int LT = 13;
31   int LTE = 14;
32   int GT = 15;
33   int GTE = 16;
34   int INTROSPECT = 17;
35   int UNION = 18;
36   int SCOPE_LIMIT = 19;
37   int AND = 20;
38   int OR = 21;
39   int LIST_BEGIN = 22;
40   int LIST_END = 23;
41   int SEPARATOR = 24;
42   int FUNCTION_BEGIN = 25;
43   int FUNCTION_END = 26;
44   int PREDICATE_BEGIN = 27;
45   int PREDICATE_END = 28;
46   int SCOPE_LIMIT_NAME = 58;
47   int BOOLEAN_LITERAL = 59;
48   int STRING_LITERAL = 60;
49   int DIGIT = 61;
50   int NUMBER_LITERAL = 62;
51   int IDENTIFIER = 63;
52   int LETTER = 64;
53
54   int DEFAULT = 0;
55
56   String JavaDoc[] tokenImage = {
57     "<EOF>",
58     "\" \"",
59     "\"\\t\"",
60     "\"\\r\"",
61     "\"\\n\"",
62     "\"\\f\"",
63     "\"/\"",
64     "\"*\"",
65     "\"%\"",
66     "\"+\"",
67     "\"-\"",
68     "\"=\"",
69     "\"!=\"",
70     "\"<\"",
71     "\"<=\"",
72     "\">\"",
73     "\">=\"",
74     "\".\"",
75     "\"|\"",
76     "\":\"",
77     "\"and\"",
78     "\"or\"",
79     "\"{\"",
80     "\"}\"",
81     "\",\"",
82     "\"(\"",
83     "\")\"",
84     "\"[\"",
85     "\"]\"",
86     "\"boolean(\"",
87     "\"number(\"",
88     "\"string(\"",
89     "\"not(\"",
90     "\"floor(\"",
91     "\"ceiling(\"",
92     "\"round(\"",
93     "\"format-number(\"",
94     "\"concat(\"",
95     "\"encode-url(\"",
96     "\"encode-html(\"",
97     "\"string-length(\"",
98     "\"substring(\"",
99     "\"starts-with(\"",
100     "\"contains(\"",
101     "\"substring-before(\"",
102     "\"substring-after(\"",
103     "\"translate(\"",
104     "\"position(\"",
105     "\"current(\"",
106     "\"last(\"",
107     "\"count(\"",
108     "\"sum(\"",
109     "\"now(\"",
110     "\"date(\"",
111     "\"format-date(\"",
112     "\"roll-date(\"",
113     "\"add-date(\"",
114     "\"tokenize(\"",
115     "<SCOPE_LIMIT_NAME>",
116     "<BOOLEAN_LITERAL>",
117     "<STRING_LITERAL>",
118     "<DIGIT>",
119     "<NUMBER_LITERAL>",
120     "<IDENTIFIER>",
121     "<LETTER>",
122   };
123
124 }
125
Popular Tags