KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > xml > text > syntax > javacc > DTDSyntaxConstants


1 /* Generated By:JavaCC: Do not edit this line. DTDSyntaxConstants.java */
2 /*
3  * The contents of this file are subject to the terms of the Common Development
4  * and Distribution License (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
8  * or http://www.netbeans.org/cddl.txt.
9  *
10  * When distributing Covered Code, include this CDDL Header Notice in each file
11  * and include the License file at http://www.netbeans.org/cddl.txt.
12  * If applicable, add the following below the CDDL Header, with the fields
13  * enclosed by brackets [] replaced by your own identifying information:
14  * "Portions Copyrighted [year] [name of copyright owner]"
15  *
16  * The Original Software is NetBeans. The Initial Developer of the Original
17  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
18  * Microsystems, Inc. All Rights Reserved.
19  */

20
21 package org.netbeans.modules.xml.text.syntax.javacc;
22
23 public interface DTDSyntaxConstants {
24
25   int EOF = 0;
26   int CRLF = 1;
27   int TEXT = 2;
28   int CONTENT = 3;
29   int WS = 4;
30   int DECL_START = 5;
31   int PI_START = 6;
32   int TEXT_IN_DEFAULT = 7;
33   int COND_END_IN_DEFAULT = 8;
34   int ERR_IN_DEFAULT = 9;
35   int XML_TARGET = 10;
36   int PI_TARGET = 11;
37   int ERR_IN_PI = 12;
38   int PI_CONTENT_START = 13;
39   int PI_END = 14;
40   int KW_IN_XML_DECL = 15;
41   int TEXT_IN_XML_DECL = 16;
42   int BR_IN_XML_DECL = 17;
43   int XML_DECL_END = 18;
44   int Q_IN_XML_DECL = 19;
45   int TEXT_IN_PI_CONTENT = 20;
46   int ERR_IN_PI_CONTENT = 21;
47   int PI_CONTENT_END = 22;
48   int BR_IN_PI_CONTENT = 23;
49   int ENTITY = 24;
50   int ATTLIST = 25;
51   int DOCTYPE = 26;
52   int ELEMENT = 27;
53   int NOTATION = 28;
54   int TEXT_IN_DECL = 29;
55   int WS_IN_DECL = 30;
56   int ERR_IN_DECL = 31;
57   int COND = 32;
58   int DECL_END = 33;
59   int KW_IN_ENTITY = 34;
60   int BR_IN_ENTITY = 35;
61   int TEXT_IN_ENTITY = 36;
62   int ENTITY_END = 37;
63   int KW_IN_ELEMENT = 38;
64   int SYMBOL_IN_ELEMENT = 39;
65   int TEXT_IN_ELEMENT = 40;
66   int ELEMENT_END = 41;
67   int KW_IN_NOTATION = 42;
68   int TEXT_IN_NOTATION = 43;
69   int BR_IN_NOTATION = 44;
70   int NOTATION_END = 45;
71   int KW_IN_COND = 46;
72   int TEXT_IN_COND = 47;
73   int ERR_IN_COND = 48;
74   int COND_END = 49;
75   int ERR_IN_ATTLIST = 50;
76   int KW_IN_ATTLIST = 51;
77   int TEXT_IN_ATTLIST = 52;
78   int ATTLIST_END = 53;
79   int PREF_START = 54;
80   int TEXT_IN_PREF = 55;
81   int PREF_END = 56;
82   int CHARS_START = 57;
83   int TEXT_IN_CHARS = 58;
84   int CHARS_END = 59;
85   int STRING_START = 60;
86   int TEXT_IN_STRING = 61;
87   int STRING_END = 62;
88   int COMMENT_START = 63;
89   int TEXT_IN_COMMENT = 64;
90   int ERR_IN_COMMENT = 65;
91   int COMMENT_END = 66;
92   int CHREF_START = 67;
93   int CREF_START = 68;
94   int TEXT_IN_CREF = 69;
95   int CREF_END = 70;
96   int ERR_IN_CREF = 71;
97   int TEXT_IN_CHREF = 72;
98   int CHREF_END = 73;
99   int ERR_IN_CHREF = 74;
100
101   int IN_CHREF = 0;
102   int IN_CREF = 1;
103   int IN_COMMENT = 2;
104   int IN_STRING = 3;
105   int IN_CHARS = 4;
106   int IN_DOCTYPE = 5;
107   int IN_TAG_ATTLIST = 6;
108   int IN_PREF = 7;
109   int IN_ATTLIST = 8;
110   int IN_COND = 9;
111   int IN_NOTATION = 10;
112   int IN_ELEMENT = 11;
113   int IN_ENTITY = 12;
114   int IN_DECL = 13;
115   int IN_PI_CONTENT = 14;
116   int IN_XML_DECL = 15;
117   int IN_PI = 16;
118   int DEFAULT = 17;
119
120   String JavaDoc[] tokenImage = {
121     "<EOF>",
122     "\"\\n\"",
123     "<TEXT>",
124     "<CONTENT>",
125     "<WS>",
126     "\"<!\"",
127     "\"<?\"",
128     "<TEXT_IN_DEFAULT>",
129     "\"]]>\"",
130     "<ERR_IN_DEFAULT>",
131     "\"xml\"",
132     "<PI_TARGET>",
133     "<ERR_IN_PI>",
134     "<PI_CONTENT_START>",
135     "\"?>\"",
136     "<KW_IN_XML_DECL>",
137     "<TEXT_IN_XML_DECL>",
138     "<BR_IN_XML_DECL>",
139     "\"?>\"",
140     "\"?\"",
141     "<TEXT_IN_PI_CONTENT>",
142     "<ERR_IN_PI_CONTENT>",
143     "\"?>\"",
144     "\"?\"",
145     "\"ENTITY\"",
146     "\"ATTLIST\"",
147     "\"DOCTYPE\"",
148     "\"ELEMENT\"",
149     "\"NOTATION\"",
150     "<TEXT_IN_DECL>",
151     "<WS_IN_DECL>",
152     "<ERR_IN_DECL>",
153     "\"[\"",
154     "\">\"",
155     "<KW_IN_ENTITY>",
156     "<BR_IN_ENTITY>",
157     "<TEXT_IN_ENTITY>",
158     "\">\"",
159     "<KW_IN_ELEMENT>",
160     "<SYMBOL_IN_ELEMENT>",
161     "<TEXT_IN_ELEMENT>",
162     "\">\"",
163     "<KW_IN_NOTATION>",
164     "<TEXT_IN_NOTATION>",
165     "<BR_IN_NOTATION>",
166     "\">\"",
167     "<KW_IN_COND>",
168     "<TEXT_IN_COND>",
169     "<ERR_IN_COND>",
170     "\"[\"",
171     "<ERR_IN_ATTLIST>",
172     "<KW_IN_ATTLIST>",
173     "<TEXT_IN_ATTLIST>",
174     "\">\"",
175     "\"%\"",
176     "<TEXT_IN_PREF>",
177     "<PREF_END>",
178     "\"\\\'\"",
179     "<TEXT_IN_CHARS>",
180     "\"\\\'\"",
181     "\"\\\"\"",
182     "<TEXT_IN_STRING>",
183     "\"\\\"\"",
184     "\"<!--\"",
185     "<TEXT_IN_COMMENT>",
186     "<ERR_IN_COMMENT>",
187     "\"-->\"",
188     "\"&#x\"",
189     "\"&#\"",
190     "<TEXT_IN_CREF>",
191     "<CREF_END>",
192     "<ERR_IN_CREF>",
193     "<TEXT_IN_CHREF>",
194     "<CHREF_END>",
195     "<ERR_IN_CHREF>",
196   };
197
198 }
199
Popular Tags