KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > el > parser > ELParserConstants


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the "License"). You may not use this file except
5  * in compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * glassfish/bootstrap/legal/CDDLv1.0.txt or
9  * https://glassfish.dev.java.net/public/CDDLv1.0.html.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * HEADER in each file and include the License file at
15  * glassfish/bootstrap/legal/CDDLv1.0.txt. If applicable,
16  * add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your
18  * own identifying information: Portions Copyright [yyyy]
19  * [name of copyright owner]
20  *
21  * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
22  */
/* Generated By:JJTree&JavaCC: Do not edit this line. ELParserConstants.java */
23 package com.sun.el.parser;
24
25 public interface ELParserConstants {
26
27   int EOF = 0;
28   int LITERAL_EXPRESSION = 1;
29   int START_DYNAMIC_EXPRESSION = 2;
30   int START_DEFERRED_EXPRESSION = 3;
31   int INTEGER_LITERAL = 9;
32   int FLOATING_POINT_LITERAL = 10;
33   int EXPONENT = 11;
34   int STRING_LITERAL = 12;
35   int BADLY_ESCAPED_STRING_LITERAL = 13;
36   int TRUE = 14;
37   int FALSE = 15;
38   int NULL = 16;
39   int END_EXPRESSION = 17;
40   int DOT = 18;
41   int LPAREN = 19;
42   int RPAREN = 20;
43   int LBRACK = 21;
44   int RBRACK = 22;
45   int COLON = 23;
46   int COMMA = 24;
47   int GT0 = 25;
48   int GT1 = 26;
49   int LT0 = 27;
50   int LT1 = 28;
51   int GE0 = 29;
52   int GE1 = 30;
53   int LE0 = 31;
54   int LE1 = 32;
55   int EQ0 = 33;
56   int EQ1 = 34;
57   int NE0 = 35;
58   int NE1 = 36;
59   int NOT0 = 37;
60   int NOT1 = 38;
61   int AND0 = 39;
62   int AND1 = 40;
63   int OR0 = 41;
64   int OR1 = 42;
65   int EMPTY = 43;
66   int INSTANCEOF = 44;
67   int MULT = 45;
68   int PLUS = 46;
69   int MINUS = 47;
70   int QUESTIONMARK = 48;
71   int DIV0 = 49;
72   int DIV1 = 50;
73   int MOD0 = 51;
74   int MOD1 = 52;
75   int IDENTIFIER = 53;
76   int FUNCTIONSUFFIX = 54;
77   int IMPL_OBJ_START = 55;
78   int LETTER = 56;
79   int DIGIT = 57;
80   int ILLEGAL_CHARACTER = 58;
81
82   int DEFAULT = 0;
83   int IN_EXPRESSION = 1;
84
85   String JavaDoc[] tokenImage = {
86     "<EOF>",
87     "<LITERAL_EXPRESSION>",
88     "\"${\"",
89     "\"#{\"",
90     "\"\\\\\"",
91     "\" \"",
92     "\"\\t\"",
93     "\"\\n\"",
94     "\"\\r\"",
95     "<INTEGER_LITERAL>",
96     "<FLOATING_POINT_LITERAL>",
97     "<EXPONENT>",
98     "<STRING_LITERAL>",
99     "<BADLY_ESCAPED_STRING_LITERAL>",
100     "\"true\"",
101     "\"false\"",
102     "\"null\"",
103     "\"}\"",
104     "\".\"",
105     "\"(\"",
106     "\")\"",
107     "\"[\"",
108     "\"]\"",
109     "\":\"",
110     "\",\"",
111     "\">\"",
112     "\"gt\"",
113     "\"<\"",
114     "\"lt\"",
115     "\">=\"",
116     "\"ge\"",
117     "\"<=\"",
118     "\"le\"",
119     "\"==\"",
120     "\"eq\"",
121     "\"!=\"",
122     "\"ne\"",
123     "\"!\"",
124     "\"not\"",
125     "\"&&\"",
126     "\"and\"",
127     "\"||\"",
128     "\"or\"",
129     "\"empty\"",
130     "\"instanceof\"",
131     "\"*\"",
132     "\"+\"",
133     "\"-\"",
134     "\"?\"",
135     "\"/\"",
136     "\"div\"",
137     "\"%\"",
138     "\"mod\"",
139     "<IDENTIFIER>",
140     "<FUNCTIONSUFFIX>",
141     "\"#\"",
142     "<LETTER>",
143     "<DIGIT>",
144     "<ILLEGAL_CHARACTER>",
145   };
146
147 }
148
Popular Tags