KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > pmd > jsp > ast > JspParserConstants


1 /* Generated By:JJTree&JavaCC: Do not edit this line. JspParserConstants.java */
2 /**
3  * JSP Parser for PMD.
4  * @author Pieter � Application Engineers NV/SA � http://www.ae.be
5  */

6
7 package net.sourceforge.pmd.jsp.ast;
8
9 public interface JspParserConstants {
10
11   int EOF = 0;
12   int ALPHA_CHAR = 1;
13   int NUM_CHAR = 2;
14   int ALPHANUM_CHAR = 3;
15   int IDENTIFIER_CHAR = 4;
16   int IDENTIFIER = 5;
17   int XMLNAME = 6;
18   int QUOTED_STRING_NO_BREAKS = 7;
19   int QUOTED_STRING = 8;
20   int WHITESPACE = 9;
21   int NEWLINE = 10;
22   int QUOTE = 11;
23   int NO_WHITESPACE_OR_LT_OR_DOLLAR = 12;
24   int NO_LT_OR_DOLLAR = 13;
25   int DOLLAR = 14;
26   int NO_OPENBRACE_OR_LT = 15;
27   int TEXT_IN_EL = 16;
28   int EL_ESCAPE = 17;
29   int NO_JSP_COMMENT_END = 18;
30   int NO_JSP_TAG_END = 19;
31   int TAG_START = 22;
32   int ENDTAG_START = 23;
33   int COMMENT_START = 24;
34   int DECL_START = 25;
35   int DOCTYPE_DECL_START = 26;
36   int CDATA_START = 27;
37   int JSP_COMMENT_START = 28;
38   int JSP_DECLARATION_START = 29;
39   int JSP_EXPRESSION_START = 30;
40   int JSP_SCRIPTLET_START = 31;
41   int JSP_DIRECTIVE_START = 32;
42   int EL_EXPRESSION = 33;
43   int UNPARSED_TEXT = 34;
44   int JSP_DIRECTIVE_NAME = 35;
45   int JSP_DIRECTIVE_ATTRIBUTE_NAME = 36;
46   int JSP_DIRECTIVE_ATTRIBUTE_EQUALS = 37;
47   int JSP_DIRECTIVE_ATTRIBUTE_VALUE = 38;
48   int JSP_DIRECTIVE_END = 39;
49   int JSP_SCRIPTLET_END = 40;
50   int JSP_SCRIPTLET = 41;
51   int JSP_EXPRESSION_END = 42;
52   int JSP_EXPRESSION = 43;
53   int JSP_DECLARATION_END = 44;
54   int JSP_DECLARATION = 45;
55   int JSP_COMMENT_END = 46;
56   int JSP_COMMENT_CONTENT = 47;
57   int WHITESPACES = 48;
58   int NAME = 49;
59   int PUBLIC = 50;
60   int SYSTEM = 51;
61   int DOCTYPE_DECL_END = 52;
62   int QUOTED_LITERAL = 53;
63   int UNPARSED = 54;
64   int CDATA_END = 55;
65   int TAG_NAME = 56;
66   int LST_ERROR = 57;
67   int ATTR_NAME = 58;
68   int TAG_END = 59;
69   int DECL_END = 60;
70   int TAG_SLASHEND = 61;
71   int ATTR_EQ = 62;
72   int IN_TAG_ERROR = 63;
73   int SINGLE_QUOTE = 64;
74   int DOUBLE_QUOTE = 65;
75   int EL_EXPRESSION_IN_ATTRIBUTE = 66;
76   int VALUE_BINDING_IN_ATTRIBUTE = 67;
77   int JSP_EXPRESSION_IN_ATTRIBUTE = 68;
78   int ENDING_SINGLE_QUOTE = 69;
79   int UNPARSED_TEXT_NO_SINGLE_QUOTES = 70;
80   int DOLLAR_OR_HASH_SINGLE_QUOTE = 71;
81   int ENDING_DOUBLE_QUOTE = 72;
82   int UNPARSED_TEXT_NO_DOUBLE_QUOTES = 73;
83   int DOLLAR_OR_HASH_DOUBLE_QUOTE = 74;
84   int COMMENT_END = 75;
85   int COMMENT_TEXT = 76;
86
87   int CommentState = 0;
88   int AttrValueBetweenDoubleQuotesState = 1;
89   int AttrValueBetweenSingleQuotesState = 2;
90   int StartTagState = 3;
91   int CDataState = 4;
92   int DocTypeExternalIdState = 5;
93   int DocTypeState = 6;
94   int JspCommentState = 7;
95   int JspDeclarationState = 8;
96   int JspExpressionState = 9;
97   int JspScriptletState = 10;
98   int InTagState = 11;
99   int AfterTagState = 12;
100   int AttrValueState = 13;
101   int JspDirectiveAttributesState = 14;
102   int JspDirectiveState = 15;
103   int DEFAULT = 16;
104
105   String JavaDoc[] tokenImage = {
106     "<EOF>",
107     "<ALPHA_CHAR>",
108     "<NUM_CHAR>",
109     "<ALPHANUM_CHAR>",
110     "<IDENTIFIER_CHAR>",
111     "<IDENTIFIER>",
112     "<XMLNAME>",
113     "<QUOTED_STRING_NO_BREAKS>",
114     "<QUOTED_STRING>",
115     "<WHITESPACE>",
116     "<NEWLINE>",
117     "<QUOTE>",
118     "<NO_WHITESPACE_OR_LT_OR_DOLLAR>",
119     "<NO_LT_OR_DOLLAR>",
120     "\"$\"",
121     "<NO_OPENBRACE_OR_LT>",
122     "<TEXT_IN_EL>",
123     "<EL_ESCAPE>",
124     "<NO_JSP_COMMENT_END>",
125     "<NO_JSP_TAG_END>",
126     "<token of kind 20>",
127     "<token of kind 21>",
128     "\"<\"",
129     "\"</\"",
130     "\"<!--\"",
131     "\"<?\"",
132     "\"<!DOCTYPE\"",
133     "\"<![CDATA[\"",
134     "\"<%--\"",
135     "\"<%!\"",
136     "\"<%=\"",
137     "\"<%\"",
138     "\"<%@\"",
139     "<EL_EXPRESSION>",
140     "<UNPARSED_TEXT>",
141     "<JSP_DIRECTIVE_NAME>",
142     "<JSP_DIRECTIVE_ATTRIBUTE_NAME>",
143     "\"=\"",
144     "<JSP_DIRECTIVE_ATTRIBUTE_VALUE>",
145     "\"%>\"",
146     "\"%>\"",
147     "<JSP_SCRIPTLET>",
148     "\"%>\"",
149     "<JSP_EXPRESSION>",
150     "\"%>\"",
151     "<JSP_DECLARATION>",
152     "\"--%>\"",
153     "<JSP_COMMENT_CONTENT>",
154     "<WHITESPACES>",
155     "<NAME>",
156     "\"PUBLIC\"",
157     "\"SYSTEM\"",
158     "\">\"",
159     "<QUOTED_LITERAL>",
160     "<UNPARSED>",
161     "\"]]>\"",
162     "<TAG_NAME>",
163     "<LST_ERROR>",
164     "<ATTR_NAME>",
165     "\">\"",
166     "<DECL_END>",
167     "\"/>\"",
168     "\"=\"",
169     "<IN_TAG_ERROR>",
170     "\"\\\'\"",
171     "\"\\\"\"",
172     "<EL_EXPRESSION_IN_ATTRIBUTE>",
173     "<VALUE_BINDING_IN_ATTRIBUTE>",
174     "<JSP_EXPRESSION_IN_ATTRIBUTE>",
175     "\"\\\'\"",
176     "<UNPARSED_TEXT_NO_SINGLE_QUOTES>",
177     "<DOLLAR_OR_HASH_SINGLE_QUOTE>",
178     "\"\\\"\"",
179     "<UNPARSED_TEXT_NO_DOUBLE_QUOTES>",
180     "<DOLLAR_OR_HASH_DOUBLE_QUOTE>",
181     "<COMMENT_END>",
182     "<COMMENT_TEXT>",
183   };
184
185 }
186
Popular Tags