update copyright
[fedora-idea.git] / xml / impl / src / com / intellij / lexer / _OldXmlLexer.java
blobb7ce713364c0f05dce451b0fa33e4179f69c751b
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 /* The following code was generated by JFlex 1.4.1 on 12/21/06 11:03 PM */
19 /* It's an automatically generated code. Do not modify it. */
20 package com.intellij.lexer;
22 import com.intellij.psi.tree.IElementType;
23 import com.intellij.psi.*;
24 import com.intellij.psi.xml.*;
27 /**
28 * This class is a scanner generated by
29 * <a href="http://www.jflex.de/">JFlex</a> 1.4.1
30 * on 12/21/06 11:03 PM from the specification file
31 * <tt>C:/work/Irida/tools/lexer/_OldXmlLexer.flex</tt>
33 public class _OldXmlLexer implements FlexLexer {
34 /** initial size of the lookahead buffer */
35 private static final int ZZ_BUFFERSIZE = 16384;
37 /** lexical states */
38 public static final int PROCESSING_INSTRUCTION = 11;
39 public static final int DECL_ATTR_VALUE_DQ = 3;
40 public static final int DECL_ATTR = 2;
41 public static final int ATTRIBUTE_VALUE_START = 8;
42 public static final int DECL_ATTR_VALUE_SQ = 4;
43 public static final int ATTRIBUTE_VALUE_DQ = 9;
44 public static final int CONDITIONAL = 18;
45 public static final int DECL = 1;
46 public static final int ATTRIBUTE_VALUE_SQ = 10;
47 public static final int DOCTYPE_EXTERNAL_ID = 13;
48 public static final int CDATA = 17;
49 public static final int COMMENT = 7;
50 public static final int TAG_NAME = 5;
51 public static final int DOCTYPE_MARKUP = 14;
52 public static final int DOCTYPE_COMMENT = 19;
53 public static final int DOCTYPE_MARKUP_DQ = 15;
54 public static final int YYINITIAL = 0;
55 public static final int TAG_ATTRIBUTES = 6;
56 public static final int DOCTYPE = 12;
57 public static final int DOCTYPE_MARKUP_SQ = 16;
59 /**
60 * Translates characters to character classes
62 private static final String ZZ_CMAP_PACKED =
63 "\11\0\2\3\1\0\2\3\22\0\1\43\1\12\1\4\1\35\1\0"+
64 "\1\34\1\32\1\5\1\52\1\53\1\55\1\54\1\57\1\7\1\6"+
65 "\1\11\12\2\1\1\1\33\1\10\1\44\1\21\1\40\1\0\1\16"+
66 "\1\51\1\14\1\15\1\26\1\61\1\27\1\1\1\22\2\1\1\24"+
67 "\1\50\1\23\1\30\1\46\1\60\1\31\1\47\1\17\1\25\2\1"+
68 "\1\62\1\45\1\1\1\13\1\0\1\20\1\0\1\1\1\0\6\37"+
69 "\5\1\1\42\1\41\12\1\1\36\2\1\1\0\1\56\55\0\1\1"+
70 "\12\0\1\1\4\0\1\1\5\0\27\1\1\0\37\1\1\0\u013f\1"+
71 "\31\0\162\1\4\0\14\1\16\0\5\1\11\0\1\1\213\0\1\1"+
72 "\13\0\1\1\1\0\3\1\1\0\1\1\1\0\24\1\1\0\54\1"+
73 "\1\0\46\1\1\0\5\1\4\0\202\1\10\0\105\1\1\0\46\1"+
74 "\2\0\2\1\6\0\20\1\41\0\46\1\2\0\1\1\7\0\47\1"+
75 "\110\0\33\1\5\0\3\1\56\0\32\1\5\0\13\1\43\0\2\1"+
76 "\1\0\143\1\1\0\1\1\17\0\2\1\7\0\2\1\12\0\3\1"+
77 "\2\0\1\1\20\0\1\1\1\0\36\1\35\0\3\1\60\0\46\1"+
78 "\13\0\1\1\u0152\0\66\1\3\0\1\1\22\0\1\1\7\0\12\1"+
79 "\43\0\10\1\2\0\2\1\2\0\26\1\1\0\7\1\1\0\1\1"+
80 "\3\0\4\1\3\0\1\1\36\0\2\1\1\0\3\1\16\0\2\1"+
81 "\23\0\6\1\4\0\2\1\2\0\26\1\1\0\7\1\1\0\2\1"+
82 "\1\0\2\1\1\0\2\1\37\0\4\1\1\0\1\1\23\0\3\1"+
83 "\20\0\11\1\1\0\3\1\1\0\26\1\1\0\7\1\1\0\2\1"+
84 "\1\0\5\1\3\0\1\1\22\0\1\1\17\0\2\1\43\0\10\1"+
85 "\2\0\2\1\2\0\26\1\1\0\7\1\1\0\2\1\1\0\5\1"+
86 "\3\0\1\1\36\0\2\1\1\0\3\1\17\0\1\1\21\0\1\1"+
87 "\1\0\6\1\3\0\3\1\1\0\4\1\3\0\2\1\1\0\1\1"+
88 "\1\0\2\1\3\0\2\1\3\0\3\1\3\0\10\1\1\0\3\1"+
89 "\113\0\10\1\1\0\3\1\1\0\27\1\1\0\12\1\1\0\5\1"+
90 "\46\0\2\1\43\0\10\1\1\0\3\1\1\0\27\1\1\0\12\1"+
91 "\1\0\5\1\3\0\1\1\40\0\1\1\1\0\2\1\43\0\10\1"+
92 "\1\0\3\1\1\0\27\1\1\0\20\1\46\0\2\1\43\0\22\1"+
93 "\3\0\30\1\1\0\11\1\1\0\1\1\2\0\7\1\72\0\60\1"+
94 "\1\0\2\1\14\0\7\1\72\0\2\1\1\0\1\1\2\0\2\1"+
95 "\1\0\1\1\2\0\1\1\6\0\4\1\1\0\7\1\1\0\3\1"+
96 "\1\0\1\1\1\0\1\1\2\0\2\1\1\0\4\1\1\0\2\1"+
97 "\11\0\1\1\2\0\5\1\1\0\1\1\25\0\2\1\42\0\1\1"+
98 "\77\0\10\1\1\0\42\1\35\0\4\1\164\0\42\1\1\0\5\1"+
99 "\1\0\2\1\45\0\6\1\112\0\46\1\12\0\51\1\7\0\132\1"+
100 "\5\0\104\1\5\0\122\1\6\0\7\1\1\0\77\1\1\0\1\1"+
101 "\1\0\4\1\2\0\7\1\1\0\1\1\1\0\4\1\2\0\47\1"+
102 "\1\0\1\1\1\0\4\1\2\0\37\1\1\0\1\1\1\0\4\1"+
103 "\2\0\7\1\1\0\1\1\1\0\4\1\2\0\7\1\1\0\7\1"+
104 "\1\0\27\1\1\0\37\1\1\0\1\1\1\0\4\1\2\0\7\1"+
105 "\1\0\47\1\1\0\23\1\105\0\125\1\14\0\u026c\1\2\0\10\1"+
106 "\12\0\32\1\5\0\113\1\25\0\15\1\1\0\4\1\16\0\22\1"+
107 "\16\0\22\1\16\0\15\1\1\0\3\1\17\0\64\1\43\0\1\1"+
108 "\4\0\1\1\103\0\130\1\10\0\51\1\127\0\35\1\63\0\36\1"+
109 "\2\0\5\1\u038b\0\154\1\224\0\234\1\4\0\132\1\6\0\26\1"+
110 "\2\0\6\1\2\0\46\1\2\0\6\1\2\0\10\1\1\0\1\1"+
111 "\1\0\1\1\1\0\1\1\1\0\37\1\2\0\65\1\1\0\7\1"+
112 "\1\0\1\1\3\0\3\1\1\0\7\1\3\0\4\1\2\0\6\1"+
113 "\4\0\15\1\5\0\3\1\1\0\7\1\164\0\1\1\15\0\1\1"+
114 "\202\0\1\1\4\0\1\1\2\0\12\1\1\0\1\1\3\0\5\1"+
115 "\6\0\1\1\1\0\1\1\1\0\1\1\1\0\4\1\1\0\3\1"+
116 "\1\0\7\1\3\0\3\1\5\0\5\1\u0ebb\0\2\1\52\0\5\1"+
117 "\5\0\2\1\4\0\126\1\6\0\3\1\1\0\132\1\1\0\4\1"+
118 "\5\0\50\1\4\0\136\1\21\0\30\1\70\0\20\1\u0200\0\u19b6\1"+
119 "\112\0\u51a6\1\132\0\u048d\1\u0773\0\u2ba4\1\u215c\0\u012e\1\2\0\73\1"+
120 "\225\0\7\1\14\0\5\1\5\0\1\1\1\0\12\1\1\0\15\1"+
121 "\1\0\5\1\1\0\1\1\1\0\2\1\1\0\2\1\1\0\154\1"+
122 "\41\0\u016b\1\22\0\100\1\2\0\66\1\50\0\14\1\164\0\5\1"+
123 "\1\0\207\1\44\0\32\1\6\0\32\1\13\0\131\1\3\0\6\1"+
124 "\2\0\6\1\2\0\6\1\2\0\3\1\43\0";
126 /**
127 * Translates characters to character classes
129 private static final char [] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED);
131 /**
132 * Translates DFA states to action switch labels.
134 private static final int [] ZZ_ACTION = zzUnpackAction();
136 private static final String ZZ_ACTION_PACKED_0 =
137 "\3\0\2\1\2\0\1\2\13\0\1\2\1\3\1\4"+
138 "\1\5\1\3\1\6\1\3\1\6\1\7\2\6\1\10"+
139 "\2\6\1\11\1\12\1\13\1\1\1\14\11\1\1\15"+
140 "\1\5\1\16\1\6\1\17\1\20\1\2\1\6\4\2"+
141 "\1\21\1\22\1\1\1\23\3\1\6\24\1\25\1\26"+
142 "\2\16\2\6\1\27\1\30\1\16\1\6\1\16\1\31"+
143 "\1\32\1\16\1\33\1\34\1\35\1\6\1\36\2\16"+
144 "\1\37\1\40\1\41\1\42\1\43\1\44\1\45\3\3"+
145 "\2\6\1\46\1\0\1\47\4\0\1\50\10\1\1\51"+
146 "\2\0\4\2\1\52\2\16\2\0\1\53\1\0\2\16"+
147 "\4\0\2\16\4\0\1\54\1\0\1\55\5\0\1\56"+
148 "\1\57\2\0\1\55\1\56\1\57\2\1\1\55\1\56"+
149 "\1\57\2\1\1\60\1\0\1\55\1\56\1\0\1\57"+
150 "\2\2\2\16\1\61\1\16\4\0\2\16\1\0\1\62"+
151 "\2\0\1\63\7\0\1\64\1\0\1\1\1\64\2\1"+
152 "\1\64\1\1\1\2\1\64\1\2\3\16\4\0\2\16"+
153 "\11\0\2\1\1\2\2\16\1\65\4\0\2\16\10\0"+
154 "\1\66\2\1\1\2\1\67\1\70\3\0\1\71\1\72"+
155 "\1\73\1\0\1\74\6\0\2\1\1\2\2\0\1\75"+
156 "\1\76\4\0\1\77\1\0\2\1\1\2\1\100\1\0"+
157 "\1\101\1\102\1\103\1\0\1\104\3\101\1\105\1\106";
159 private static int [] zzUnpackAction() {
160 int [] result = new int[296];
161 int offset = 0;
162 offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result);
163 return result;
166 private static int zzUnpackAction(String packed, int offset, int [] result) {
167 int i = 0; /* index in packed string */
168 int j = offset; /* index in unpacked array */
169 int l = packed.length();
170 while (i < l) {
171 int count = packed.charAt(i++);
172 int value = packed.charAt(i++);
173 do result[j++] = value; while (--count > 0);
175 return j;
179 /**
180 * Translates a state to a row index in the transition table
182 private static final int [] ZZ_ROWMAP = zzUnpackRowMap();
184 private static final String ZZ_ROWMAP_PACKED_0 =
185 "\0\0\0\63\0\146\0\231\0\314\0\377\0\u0132\0\u0165"+
186 "\0\u0198\0\u01cb\0\u01fe\0\u0231\0\u0264\0\u0297\0\u02ca\0\u02fd"+
187 "\0\u0330\0\u0363\0\u0396\0\u03c9\0\u03fc\0\u042f\0\u0462\0\u0495"+
188 "\0\u04c8\0\u04fb\0\u03fc\0\u052e\0\u0561\0\u0495\0\u03fc\0\u04fb"+
189 "\0\u0594\0\u03fc\0\u03fc\0\u03fc\0\u05c7\0\u03fc\0\u05fa\0\u062d"+
190 "\0\u0660\0\u0693\0\u06c6\0\u06f9\0\u072c\0\u075f\0\u0792\0\u07c5"+
191 "\0\u07f8\0\u082b\0\u085e\0\u03fc\0\u03fc\0\u0891\0\u08c4\0\u08f7"+
192 "\0\u092a\0\u095d\0\u0990\0\u03fc\0\u03fc\0\u03fc\0\u03fc\0\u0495"+
193 "\0\u04c8\0\u04fb\0\u03fc\0\u0561\0\u0495\0\u04c8\0\u04fb\0\u09c3"+
194 "\0\u03fc\0\u03fc\0\u09f6\0\u0a29\0\u0a5c\0\u0a8f\0\u03fc\0\u03fc"+
195 "\0\u0ac2\0\u0af5\0\u0b28\0\u0495\0\u03fc\0\u0b5b\0\u04c8\0\u03fc"+
196 "\0\u04fb\0\u0b8e\0\u03fc\0\u0bc1\0\u0bf4\0\u03fc\0\u03fc\0\u03fc"+
197 "\0\u03fc\0\u03fc\0\u03fc\0\u03fc\0\u0c27\0\u0c5a\0\u04c8\0\u0c8d"+
198 "\0\u0cc0\0\u03fc\0\u0cf3\0\u0d26\0\u0d59\0\u0d8c\0\u0dbf\0\u0df2"+
199 "\0\u03fc\0\u0e25\0\u0e58\0\u0e8b\0\u0ebe\0\u0ef1\0\u0f24\0\u0f57"+
200 "\0\u0f8a\0\u03fc\0\u0fbd\0\u0ff0\0\u1023\0\u1056\0\u1089\0\u10bc"+
201 "\0\u03fc\0\u10ef\0\u1122\0\u0a5c\0\u0a8f\0\u082b\0\u1155\0\u1188"+
202 "\0\u11bb\0\u11ee\0\u1221\0\u1254\0\u1287\0\u12ba\0\u12ed\0\u1320"+
203 "\0\u1353\0\u1386\0\u13b9\0\u03fc\0\u13ec\0\u141f\0\u1452\0\u1485"+
204 "\0\u14b8\0\u14eb\0\u151e\0\u03fc\0\u03fc\0\u1551\0\u1584\0\u15b7"+
205 "\0\u05c7\0\u05c7\0\u15ea\0\u161d\0\u1650\0\u06c6\0\u06c6\0\u1683"+
206 "\0\u16b6\0\u03fc\0\u16e9\0\u171c\0\u0891\0\u174f\0\u0891\0\u1782"+
207 "\0\u17b5\0\u17e8\0\u181b\0\u082b\0\u184e\0\u1881\0\u18b4\0\u18e7"+
208 "\0\u191a\0\u194d\0\u1980\0\u19b3\0\u03fc\0\u19e6\0\u1a19\0\u03fc"+
209 "\0\u1a4c\0\u1a7f\0\u1ab2\0\u1ae5\0\u1b18\0\u1b4b\0\u1b7e\0\u03fc"+
210 "\0\u1bb1\0\u1be4\0\u05c7\0\u1c17\0\u1c4a\0\u06c6\0\u1c7d\0\u1cb0"+
211 "\0\u0891\0\u1ce3\0\u1d16\0\u1d49\0\u1d7c\0\u1daf\0\u1de2\0\u1e15"+
212 "\0\u1e48\0\u1e7b\0\u1eae\0\u1ee1\0\u1f14\0\u1f47\0\u1f7a\0\u1fad"+
213 "\0\u1fe0\0\u2013\0\u2046\0\u2079\0\u20ac\0\u20df\0\u2112\0\u2145"+
214 "\0\u2178\0\u082b\0\u21ab\0\u21de\0\u2211\0\u2244\0\u2277\0\u22aa"+
215 "\0\u22dd\0\u2310\0\u2343\0\u2376\0\u23a9\0\u23dc\0\u240f\0\u2442"+
216 "\0\u03fc\0\u2475\0\u24a8\0\u24db\0\u082b\0\u082b\0\u250e\0\u2541"+
217 "\0\u2574\0\u03fc\0\u082b\0\u082b\0\u25a7\0\u03fc\0\u25da\0\u260d"+
218 "\0\u2640\0\u2673\0\u26a6\0\u26d9\0\u270c\0\u273f\0\u2772\0\u27a5"+
219 "\0\u27d8\0\u03fc\0\u03fc\0\u280b\0\u283e\0\u2871\0\u28a4\0\u03fc"+
220 "\0\u28d7\0\u290a\0\u293d\0\u2970\0\u03fc\0\u29a3\0\u03fc\0\u03fc"+
221 "\0\u03fc\0\u29d6\0\u03fc\0\u05c7\0\u06c6\0\u0891\0\u03fc\0\u03fc";
223 private static int [] zzUnpackRowMap() {
224 int [] result = new int[296];
225 int offset = 0;
226 offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result);
227 return result;
230 private static int zzUnpackRowMap(String packed, int offset, int [] result) {
231 int i = 0; /* index in packed string */
232 int j = offset; /* index in unpacked array */
233 int l = packed.length();
234 while (i < l) {
235 int high = packed.charAt(i++) << 16;
236 result[j++] = high | packed.charAt(i++);
238 return j;
241 /**
242 * The transition table of the DFA
244 private static final int [] ZZ_TRANS = zzUnpackTrans();
246 private static final String ZZ_TRANS_PACKED_0 =
247 "\3\25\1\26\4\25\1\27\7\25\1\30\11\25\1\31"+
248 "\1\25\1\32\6\25\1\26\17\25\1\33\1\34\1\33"+
249 "\1\26\4\33\1\35\3\33\4\34\1\36\1\37\10\34"+
250 "\1\31\1\33\1\40\1\33\2\34\1\41\2\34\1\26"+
251 "\1\33\5\34\6\33\3\34\3\33\1\26\1\42\1\43"+
252 "\2\33\1\35\7\33\1\36\11\33\1\31\1\33\1\40"+
253 "\6\33\1\26\1\44\16\33\4\45\1\46\3\45\1\47"+
254 "\7\45\1\50\11\45\1\51\1\45\1\52\26\45\5\53"+
255 "\1\46\2\53\1\54\7\53\1\55\11\53\1\56\1\53"+
256 "\1\57\26\53\1\33\1\60\1\33\1\26\4\33\1\61"+
257 "\3\33\4\60\1\36\1\33\10\60\1\31\1\33\1\40"+
258 "\1\33\2\60\1\33\2\60\1\26\1\33\5\60\6\33"+
259 "\3\60\1\33\1\62\1\33\1\26\4\33\1\61\1\63"+
260 "\2\33\4\62\1\36\1\64\10\62\1\31\1\33\1\40"+
261 "\1\33\2\62\1\33\2\62\1\26\1\65\5\62\6\33"+
262 "\3\62\7\66\1\67\1\70\7\66\1\71\11\66\1\72"+
263 "\1\66\1\73\26\66\3\33\1\26\1\74\1\75\2\33"+
264 "\1\61\1\63\6\33\1\36\1\64\10\33\1\31\1\33"+
265 "\1\40\6\33\1\26\17\33\4\76\1\77\3\76\1\61"+
266 "\7\76\1\100\11\76\1\101\1\76\1\102\33\76\1\77"+
267 "\2\76\1\61\7\76\1\100\11\76\1\101\1\76\1\102"+
268 "\26\76\10\103\1\104\7\103\1\105\11\103\1\106\1\103"+
269 "\1\107\3\103\1\110\22\103\1\33\1\62\1\33\1\26"+
270 "\4\33\1\35\2\33\1\111\4\62\1\36\1\112\10\62"+
271 "\1\31\1\33\1\40\1\33\2\62\1\33\2\62\1\26"+
272 "\1\33\1\62\1\113\1\114\2\62\6\33\3\62\3\33"+
273 "\1\26\1\115\1\116\2\33\1\35\2\33\1\111\4\33"+
274 "\1\36\1\112\10\33\1\31\1\33\1\40\6\33\1\26"+
275 "\20\33\2\62\1\26\1\117\1\120\1\62\1\121\1\122"+
276 "\3\33\2\62\1\123\1\62\1\124\1\125\4\62\1\126"+
277 "\3\62\1\127\1\130\1\131\1\132\2\62\1\133\2\62"+
278 "\1\26\1\33\1\62\1\134\1\135\2\62\1\136\1\137"+
279 "\1\140\1\141\1\142\1\143\3\62\4\45\1\144\3\45"+
280 "\1\47\7\45\1\50\11\45\1\51\1\45\1\52\26\45"+
281 "\5\53\1\144\2\53\1\54\7\53\1\55\11\53\1\56"+
282 "\1\53\1\57\26\53\10\25\1\145\7\25\1\146\11\25"+
283 "\1\147\1\25\1\32\26\25\3\33\1\26\4\33\1\35"+
284 "\2\33\1\111\4\33\1\36\1\33\1\150\7\33\1\31"+
285 "\1\33\1\40\6\33\1\26\17\33\7\66\1\151\1\70"+
286 "\7\66\1\71\11\66\1\72\1\66\1\73\26\66\66\0"+
287 "\1\26\37\0\1\26\30\0\1\152\1\153\25\0\1\154"+
288 "\42\0\1\155\43\0\1\156\12\0\4\156\2\0\10\156"+
289 "\3\0\1\157\2\156\1\0\2\156\2\0\5\156\6\0"+
290 "\3\156\1\0\1\156\12\0\4\156\2\0\10\156\4\0"+
291 "\2\156\1\0\2\156\2\0\5\156\6\0\3\156\1\0"+
292 "\2\34\3\0\2\34\4\0\4\34\2\0\10\34\4\0"+
293 "\2\34\1\0\2\34\2\0\5\34\6\0\3\34\12\0"+
294 "\1\160\71\0\1\161\41\0\4\45\1\0\62\45\1\0"+
295 "\5\45\1\162\54\45\1\0\13\45\1\163\43\45\1\164"+
296 "\2\45\1\0\7\45\4\164\2\45\10\164\3\45\1\165"+
297 "\2\164\1\45\2\164\2\45\5\164\6\45\3\164\1\45"+
298 "\1\164\2\45\1\0\7\45\4\164\2\45\10\164\4\45"+
299 "\2\164\1\45\2\164\2\45\5\164\6\45\3\164\5\53"+
300 "\1\0\62\53\1\0\4\53\1\166\55\53\1\0\12\53"+
301 "\1\167\43\53\1\170\3\53\1\0\6\53\4\170\2\53"+
302 "\10\170\3\53\1\171\2\170\1\53\2\170\2\53\5\170"+
303 "\6\53\3\170\1\53\1\170\3\53\1\0\6\53\4\170"+
304 "\2\53\10\170\4\53\2\170\1\53\2\170\2\53\5\170"+
305 "\6\53\3\170\1\0\2\60\3\0\2\60\4\0\4\60"+
306 "\2\0\10\60\4\0\2\60\1\0\2\60\2\0\5\60"+
307 "\6\0\3\60\11\0\1\152\1\160\51\0\2\62\3\0"+
308 "\2\62\4\0\4\62\2\0\10\62\4\0\2\62\1\0"+
309 "\2\62\2\0\5\62\6\0\3\62\21\0\1\172\41\0"+
310 "\7\66\1\173\62\66\1\174\62\66\1\173\2\66\1\175"+
311 "\57\66\1\173\10\66\1\176\43\66\1\177\5\66\1\173"+
312 "\4\66\4\177\2\66\10\177\3\66\1\200\2\177\1\66"+
313 "\2\177\2\66\5\177\6\66\3\177\1\66\1\177\5\66"+
314 "\1\173\4\66\4\177\2\66\10\177\4\66\2\177\1\66"+
315 "\2\177\2\66\5\177\6\66\3\177\21\0\1\201\42\0"+
316 "\2\62\3\0\2\62\4\0\4\62\2\0\3\62\1\202"+
317 "\4\62\4\0\2\62\1\0\2\62\2\0\5\62\6\0"+
318 "\3\62\1\0\2\62\3\0\2\62\4\0\4\62\2\0"+
319 "\10\62\4\0\2\62\1\0\2\62\2\0\1\203\4\62"+
320 "\6\0\3\62\4\204\1\76\56\204\5\205\1\76\55\205"+
321 "\1\0\2\62\3\0\1\62\1\206\4\0\4\62\2\0"+
322 "\10\62\4\0\2\62\1\0\2\62\2\0\5\62\6\0"+
323 "\3\62\12\0\1\207\51\0\2\62\3\0\2\62\4\0"+
324 "\4\62\2\0\1\62\1\210\6\62\4\0\2\62\1\0"+
325 "\2\62\2\0\5\62\6\0\3\62\1\0\2\62\3\0"+
326 "\2\62\4\0\4\62\2\0\10\62\4\0\2\62\1\0"+
327 "\2\62\2\0\3\62\1\211\1\62\6\0\3\62\22\0"+
328 "\1\212\6\0\1\213\14\0\1\214\12\0\1\215\2\0"+
329 "\2\62\3\0\2\62\4\0\4\62\2\0\3\62\1\216"+
330 "\4\62\4\0\2\62\1\0\2\62\2\0\5\62\6\0"+
331 "\3\62\1\0\2\62\3\0\2\62\4\0\4\62\2\0"+
332 "\10\62\4\0\2\62\1\0\2\62\2\0\1\217\4\62"+
333 "\6\0\3\62\12\0\1\220\70\0\1\221\65\0\1\222"+
334 "\3\0\1\223\33\0\7\66\1\224\53\66\7\0\1\225"+
335 "\3\0\1\226\1\0\1\227\1\230\4\0\1\231\2\0"+
336 "\1\232\72\0\1\233\45\0\1\234\42\0\2\156\3\0"+
337 "\2\156\4\0\4\156\2\0\10\156\1\0\1\235\2\0"+
338 "\2\156\1\0\2\156\2\0\5\156\6\0\3\156\2\0"+
339 "\1\236\33\0\1\237\33\0\1\225\3\0\1\226\47\0"+
340 "\4\45\1\0\6\45\1\240\53\45\1\0\14\45\1\241"+
341 "\42\45\2\164\1\45\1\0\1\45\2\164\4\45\4\164"+
342 "\2\45\10\164\1\45\1\242\2\45\2\164\1\45\2\164"+
343 "\2\45\5\164\6\45\3\164\2\45\1\243\1\45\1\0"+
344 "\31\45\1\244\24\45\5\53\1\0\5\53\1\245\54\53"+
345 "\1\0\13\53\1\246\42\53\2\170\2\53\1\0\2\170"+
346 "\4\53\4\170\2\53\10\170\1\53\1\247\2\53\2\170"+
347 "\1\53\2\170\2\53\5\170\6\53\3\170\2\53\1\250"+
348 "\2\53\1\0\30\53\1\251\24\53\7\66\1\0\53\66"+
349 "\21\0\1\252\41\0\7\66\1\253\3\66\1\254\56\66"+
350 "\1\173\11\66\1\255\42\66\2\177\3\66\1\177\1\256"+
351 "\4\66\4\177\2\66\10\177\1\66\1\257\2\66\2\177"+
352 "\1\66\2\177\2\66\5\177\6\66\3\177\2\66\1\260"+
353 "\4\66\1\173\26\66\1\261\24\66\1\0\2\62\3\0"+
354 "\2\62\4\0\4\62\2\0\10\62\4\0\2\62\1\0"+
355 "\2\62\2\0\4\62\1\262\6\0\3\62\1\0\2\62"+
356 "\3\0\2\62\4\0\4\62\2\0\10\62\4\0\2\62"+
357 "\1\0\2\62\2\0\2\62\1\263\2\62\6\0\3\62"+
358 "\7\0\1\225\3\0\1\226\2\0\1\230\4\0\1\231"+
359 "\2\0\1\232\35\0\2\62\3\0\2\62\4\0\4\62"+
360 "\2\0\10\62\4\0\2\62\1\0\2\62\2\0\1\264"+
361 "\4\62\6\0\3\62\1\0\2\62\3\0\2\62\4\0"+
362 "\4\62\2\0\10\62\4\0\2\62\1\0\2\62\2\0"+
363 "\1\62\1\265\3\62\6\0\3\62\50\0\1\266\40\0"+
364 "\1\267\50\0\1\270\70\0\1\271\41\0\2\62\3\0"+
365 "\2\62\4\0\4\62\2\0\10\62\4\0\2\62\1\0"+
366 "\2\62\2\0\4\62\1\272\6\0\3\62\1\0\2\62"+
367 "\3\0\2\62\4\0\4\62\2\0\10\62\4\0\2\62"+
368 "\1\0\2\62\2\0\2\62\1\273\2\62\6\0\3\62"+
369 "\7\0\1\274\3\0\1\226\70\0\1\275\55\0\1\276"+
370 "\71\0\1\277\46\0\1\300\67\0\1\301\76\0\1\302"+
371 "\51\0\1\303\73\0\1\304\55\0\1\305\1\306\77\0"+
372 "\1\307\23\0\1\236\30\0\1\310\31\0\1\311\11\0"+
373 "\3\311\7\0\1\311\10\0\1\311\11\0\1\311\7\0"+
374 "\1\311\1\0\4\45\1\0\7\45\1\312\50\45\1\243"+
375 "\1\45\1\0\26\45\1\313\31\45\1\314\1\45\1\0"+
376 "\7\45\3\314\7\45\1\314\10\45\1\314\11\45\1\314"+
377 "\7\45\1\314\1\45\5\53\1\0\6\53\1\315\50\53"+
378 "\1\250\2\53\1\0\25\53\1\316\31\53\1\317\2\53"+
379 "\1\0\6\53\3\317\7\53\1\317\10\53\1\317\11\53"+
380 "\1\317\7\53\1\317\1\53\7\66\1\300\62\66\1\173"+
381 "\4\66\1\320\47\66\2\177\3\66\1\177\1\156\4\66"+
382 "\4\177\2\66\10\177\1\66\1\257\2\66\2\177\1\66"+
383 "\2\177\2\66\5\177\6\66\3\177\2\66\1\260\4\66"+
384 "\1\173\23\66\1\321\31\66\1\322\4\66\1\173\4\66"+
385 "\3\322\7\66\1\322\10\66\1\322\11\66\1\322\7\66"+
386 "\1\322\1\66\1\0\2\62\3\0\2\62\4\0\4\62"+
387 "\2\0\2\62\1\323\5\62\4\0\2\62\1\0\2\62"+
388 "\2\0\5\62\6\0\3\62\1\0\2\62\3\0\2\62"+
389 "\4\0\3\62\1\324\2\0\10\62\4\0\2\62\1\0"+
390 "\2\62\2\0\5\62\6\0\3\62\1\0\2\62\3\0"+
391 "\2\62\4\0\3\62\1\325\2\0\10\62\4\0\2\62"+
392 "\1\0\2\62\2\0\5\62\6\0\3\62\46\0\1\326"+
393 "\74\0\1\327\17\0\1\330\127\0\1\331\1\0\2\62"+
394 "\3\0\2\62\4\0\4\62\2\0\2\62\1\332\5\62"+
395 "\4\0\2\62\1\0\2\62\2\0\5\62\6\0\3\62"+
396 "\1\0\2\62\3\0\2\62\4\0\3\62\1\333\2\0"+
397 "\10\62\4\0\2\62\1\0\2\62\2\0\5\62\6\0"+
398 "\3\62\7\0\1\25\77\0\1\334\66\0\1\335\47\0"+
399 "\1\336\61\0\1\337\65\0\1\340\62\0\1\341\62\0"+
400 "\1\342\71\0\1\343\76\0\1\344\22\0\1\311\11\0"+
401 "\3\311\7\0\1\311\4\0\1\310\3\0\1\311\11\0"+
402 "\1\311\7\0\1\311\1\0\4\45\1\0\10\45\1\345"+
403 "\47\45\1\314\1\45\1\0\7\45\3\314\7\45\1\314"+
404 "\4\45\1\313\3\45\1\314\11\45\1\314\7\45\1\314"+
405 "\1\45\5\53\1\0\7\53\1\346\47\53\1\317\2\53"+
406 "\1\0\6\53\3\317\7\53\1\317\4\53\1\316\3\53"+
407 "\1\317\11\53\1\317\7\53\1\317\1\53\7\66\1\173"+
408 "\5\66\1\347\47\66\1\322\4\66\1\173\4\66\3\322"+
409 "\7\66\1\322\4\66\1\321\3\66\1\322\11\66\1\322"+
410 "\7\66\1\322\1\66\1\0\2\62\3\0\2\62\4\0"+
411 "\4\62\2\0\1\350\7\62\4\0\2\62\1\0\2\62"+
412 "\2\0\5\62\6\0\3\62\1\0\2\62\3\0\2\62"+
413 "\4\0\4\62\2\0\4\62\1\351\3\62\4\0\2\62"+
414 "\1\0\2\62\2\0\5\62\6\0\3\62\1\0\2\62"+
415 "\3\0\2\62\4\0\4\62\2\0\10\62\4\0\2\62"+
416 "\1\0\2\62\2\0\1\352\4\62\6\0\3\62\24\0"+
417 "\1\353\63\0\1\354\53\0\1\355\72\0\1\356\35\0"+
418 "\2\62\3\0\2\62\4\0\4\62\2\0\1\357\7\62"+
419 "\4\0\2\62\1\0\2\62\2\0\5\62\6\0\3\62"+
420 "\1\0\2\62\3\0\2\62\4\0\4\62\2\0\4\62"+
421 "\1\360\3\62\4\0\2\62\1\0\2\62\2\0\5\62"+
422 "\6\0\3\62\25\0\1\361\66\0\1\362\47\0\1\363"+
423 "\63\0\1\364\67\0\1\365\54\0\1\366\66\0\1\367"+
424 "\110\0\1\370\55\0\1\371\17\0\4\45\1\0\11\45"+
425 "\1\372\44\45\5\53\1\0\10\53\1\373\44\53\7\66"+
426 "\1\173\6\66\1\374\44\66\1\0\2\62\3\0\2\62"+
427 "\4\0\1\375\3\62\2\0\10\62\4\0\2\62\1\0"+
428 "\2\62\2\0\5\62\6\0\3\62\1\0\2\62\3\0"+
429 "\2\62\4\0\4\62\2\0\10\62\4\0\2\62\1\0"+
430 "\2\62\2\0\3\62\1\376\1\62\6\0\3\62\22\0"+
431 "\1\377\62\0\1\u0100\57\0\1\u0101\60\0\1\u0102\46\0"+
432 "\2\62\3\0\2\62\4\0\1\u0103\3\62\2\0\10\62"+
433 "\4\0\2\62\1\0\2\62\2\0\5\62\6\0\3\62"+
434 "\1\0\2\62\3\0\2\62\4\0\4\62\2\0\10\62"+
435 "\4\0\2\62\1\0\2\62\2\0\3\62\1\u0104\1\62"+
436 "\6\0\3\62\15\0\1\u0105\73\0\1\u0106\53\0\1\u0107"+
437 "\110\0\1\u0108\37\0\1\u0109\57\0\1\u010a\62\0\1\u010b"+
438 "\71\0\1\u010c\34\0\4\45\1\0\12\45\1\u010d\43\45"+
439 "\5\53\1\0\11\53\1\u010e\43\53\7\66\1\173\7\66"+
440 "\1\u010f\43\66\26\0\1\u0110\65\0\1\u0111\47\0\1\u0112"+
441 "\72\0\1\u0113\52\0\1\u0114\112\0\1\u0115\63\0\1\u0116"+
442 "\35\0\1\u0117\105\0\1\u0118\40\0\1\u0119\37\0\4\45"+
443 "\1\0\11\45\1\u011a\44\45\5\53\1\0\10\53\1\u011b"+
444 "\44\53\7\66\1\173\6\66\1\u011c\44\66\15\0\1\u011d"+
445 "\73\0\1\u011e\47\0\1\u011f\75\0\1\u0120\53\0\1\u0121"+
446 "\73\0\1\u0122\51\0\1\u0123\43\0\4\45\1\0\6\45"+
447 "\1\u0124\47\45\5\53\1\0\5\53\1\u0125\47\53\7\66"+
448 "\1\173\3\66\1\u0126\47\66\15\0\1\u0127\70\0\1\u0128"+
449 "\37\0";
451 private static int [] zzUnpackTrans() {
452 int [] result = new int[10761];
453 int offset = 0;
454 offset = zzUnpackTrans(ZZ_TRANS_PACKED_0, offset, result);
455 return result;
458 private static int zzUnpackTrans(String packed, int offset, int [] result) {
459 int i = 0; /* index in packed string */
460 int j = offset; /* index in unpacked array */
461 int l = packed.length();
462 while (i < l) {
463 int count = packed.charAt(i++);
464 int value = packed.charAt(i++);
465 value--;
466 do result[j++] = value; while (--count > 0);
468 return j;
472 /* error codes */
473 private static final int ZZ_UNKNOWN_ERROR = 0;
474 private static final int ZZ_NO_MATCH = 1;
475 private static final int ZZ_PUSHBACK_2BIG = 2;
476 private static final char[] EMPTY_BUFFER = new char[0];
477 private static final int YYEOF = -1;
478 private static java.io.Reader zzReader = null; // Fake
480 /* error messages for the codes above */
481 private static final String ZZ_ERROR_MSG[] = {
482 "Unkown internal scanner error",
483 "Error: could not match input",
484 "Error: pushback value was too large"
488 * ZZ_ATTRIBUTE[aState] contains the attributes of state <code>aState</code>
490 private static final int [] ZZ_ATTRIBUTE = zzUnpackAttribute();
492 private static final String ZZ_ATTRIBUTE_PACKED_0 =
493 "\3\0\2\1\2\0\1\1\13\0\1\1\1\11\5\1"+
494 "\1\11\3\1\1\11\2\1\3\11\1\1\1\11\15\1"+
495 "\2\11\6\1\4\11\3\1\1\11\5\1\2\11\4\1"+
496 "\2\11\4\1\1\11\2\1\1\11\2\1\1\11\2\1"+
497 "\7\11\5\1\1\11\1\0\1\1\4\0\1\11\10\1"+
498 "\1\11\2\0\4\1\1\11\2\1\2\0\1\1\1\0"+
499 "\2\1\4\0\2\1\4\0\1\11\1\0\1\1\5\0"+
500 "\2\11\2\0\12\1\1\11\1\0\2\1\1\0\7\1"+
501 "\4\0\2\1\1\0\1\11\2\0\1\11\7\0\1\11"+
502 "\1\0\14\1\4\0\2\1\11\0\6\1\4\0\2\1"+
503 "\10\0\1\11\5\1\3\0\1\11\2\1\1\0\1\11"+
504 "\6\0\3\1\2\0\2\11\4\0\1\11\1\0\3\1"+
505 "\1\11\1\0\3\11\1\0\1\11\3\1\2\11";
507 private static int [] zzUnpackAttribute() {
508 int [] result = new int[296];
509 int offset = 0;
510 offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result);
511 return result;
514 private static int zzUnpackAttribute(String packed, int offset, int [] result) {
515 int i = 0; /* index in packed string */
516 int j = offset; /* index in unpacked array */
517 int l = packed.length();
518 while (i < l) {
519 int count = packed.charAt(i++);
520 int value = packed.charAt(i++);
521 do result[j++] = value; while (--count > 0);
523 return j;
526 /** the current state of the DFA */
527 private int zzState;
529 /** the current lexical state */
530 private int zzLexicalState = YYINITIAL;
532 /** this buffer contains the current text to be matched and is
533 the source of the yytext() string */
534 private CharSequence zzBuffer = "";
536 /** this buffer may contains the current text array to be matched when it is cheap to acquire it */
537 private char[] zzBufferArray;
539 /** the textposition at the last accepting state */
540 private int zzMarkedPos;
542 /** the textposition at the last state to be included in yytext */
543 private int zzPushbackPos;
545 /** the current text position in the buffer */
546 private int zzCurrentPos;
548 /** startRead marks the beginning of the yytext() string in the buffer */
549 private int zzStartRead;
551 /** endRead marks the last character in the buffer, that has been read
552 from input */
553 private int zzEndRead;
556 * zzAtBOL == true <=> the scanner is currently at the beginning of a line
558 private boolean zzAtBOL = true;
560 /** zzAtEOF == true <=> the scanner is at the EOF */
561 private boolean zzAtEOF;
563 /** denotes if the user-EOF-code has already been executed */
564 private boolean zzEOFDone;
566 /* user code: */
567 public _OldXmlLexer() {
568 this((java.io.Reader)null);
572 public _OldXmlLexer(java.io.Reader in) {
573 this.zzReader = in;
577 * Creates a new scanner.
578 * There is also java.io.Reader version of this constructor.
580 * @param in the java.io.Inputstream to read input from.
582 public _OldXmlLexer(java.io.InputStream in) {
583 this(new java.io.InputStreamReader(in));
586 /**
587 * Unpacks the compressed character translation table.
589 * @param packed the packed character translation table
590 * @return the unpacked character translation table
592 private static char [] zzUnpackCMap(String packed) {
593 char [] map = new char[0x10000];
594 int i = 0; /* index in packed string */
595 int j = 0; /* index in unpacked array */
596 while (i < 1234) {
597 int count = packed.charAt(i++);
598 char value = packed.charAt(i++);
599 do map[j++] = value; while (--count > 0);
601 return map;
604 public final int getTokenStart(){
605 return zzStartRead;
608 public final int getTokenEnd(){
609 return getTokenStart() + yylength();
612 public void reset(CharSequence buffer, int start, int end,int initialState){
613 zzBuffer = buffer;
614 zzBufferArray = com.intellij.util.text.CharArrayUtil.fromSequenceWithoutCopying(buffer);
615 zzCurrentPos = zzMarkedPos = zzStartRead = start;
616 zzPushbackPos = 0;
617 zzAtEOF = false;
618 zzAtBOL = true;
619 zzEndRead = end;
620 yybegin(initialState);
623 public void reset(CharSequence buffer, int initialState){
624 reset(buffer, 0, buffer.length(), initialState);
628 * Refills the input buffer.
630 * @return <code>false</code>, iff there was new input.
632 * @exception java.io.IOException if any I/O-Error occurs
634 private boolean zzRefill() throws java.io.IOException {
635 return true;
640 * Returns the current lexical state.
642 public final int yystate() {
643 return zzLexicalState;
648 * Enters a new lexical state
650 * @param newState the new lexical state
652 public final void yybegin(int newState) {
653 zzLexicalState = newState;
658 * Returns the text matched by the current regular expression.
660 public final CharSequence yytext() {
661 return zzBuffer.subSequence(zzStartRead, zzMarkedPos);
666 * Returns the character at position <tt>pos</tt> from the
667 * matched text.
669 * It is equivalent to yytext().charAt(pos), but faster
671 * @param pos the position of the character to fetch.
672 * A value from 0 to yylength()-1.
674 * @return the character at position pos
676 public final char yycharat(int pos) {
677 return zzBufferArray != null ? zzBufferArray[zzStartRead+pos]:zzBuffer.charAt(zzStartRead+pos);
682 * Returns the length of the matched text region.
684 public final int yylength() {
685 return zzMarkedPos-zzStartRead;
690 * Reports an error that occured while scanning.
692 * In a wellformed scanner (no or only correct usage of
693 * yypushback(int) and a match-all fallback rule) this method
694 * will only be called with things that "Can't Possibly Happen".
695 * If this method is called, something is seriously wrong
696 * (e.g. a JFlex bug producing a faulty scanner etc.).
698 * Usual syntax/scanner level error handling should be done
699 * in error fallback rules.
701 * @param errorCode the code of the errormessage to display
703 private void zzScanError(int errorCode) {
704 String message;
705 try {
706 message = ZZ_ERROR_MSG[errorCode];
708 catch (ArrayIndexOutOfBoundsException e) {
709 message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];
712 throw new Error(message);
717 * Pushes the specified amount of characters back into the input stream.
719 * They will be read again by then next call of the scanning method
721 * @param number the number of characters to be read again.
722 * This number must not be greater than yylength()!
724 public void yypushback(int number) {
725 if ( number > yylength() )
726 zzScanError(ZZ_PUSHBACK_2BIG);
728 zzMarkedPos -= number;
733 * Contains user EOF-code, which will be executed exactly once,
734 * when the end of file is reached
736 private void zzDoEOF() {
737 if (!zzEOFDone) {
738 zzEOFDone = true;
745 * Resumes scanning until the next regular expression is matched,
746 * the end of input is encountered or an I/O-Error occurs.
748 * @return the next token
749 * @exception java.io.IOException if any I/O-Error occurs
751 public IElementType advance() throws java.io.IOException {
752 int zzInput;
753 int zzAction;
755 // cached fields:
756 int zzCurrentPosL;
757 int zzMarkedPosL;
758 int zzEndReadL = zzEndRead;
759 CharSequence zzBufferL = zzBuffer;
760 char[] zzBufferArrayL = zzBufferArray;
761 char [] zzCMapL = ZZ_CMAP;
763 int [] zzTransL = ZZ_TRANS;
764 int [] zzRowMapL = ZZ_ROWMAP;
765 int [] zzAttrL = ZZ_ATTRIBUTE;
767 while (true) {
768 zzMarkedPosL = zzMarkedPos;
770 zzAction = -1;
772 zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL;
774 zzState = zzLexicalState;
777 zzForAction: {
778 while (true) {
780 if (zzCurrentPosL < zzEndReadL)
781 zzInput = zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++]:zzBufferL.charAt(zzCurrentPosL++);
782 else if (zzAtEOF) {
783 zzInput = YYEOF;
784 break zzForAction;
786 else {
787 // store back cached positions
788 zzCurrentPos = zzCurrentPosL;
789 zzMarkedPos = zzMarkedPosL;
790 boolean eof = zzRefill();
791 // get translated positions and possibly new buffer
792 zzCurrentPosL = zzCurrentPos;
793 zzMarkedPosL = zzMarkedPos;
794 zzBufferL = zzBuffer;
795 zzEndReadL = zzEndRead;
796 if (eof) {
797 zzInput = YYEOF;
798 break zzForAction;
800 else {
801 zzInput = zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++]:zzBufferL.charAt(zzCurrentPosL++);
804 int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ];
805 if (zzNext == -1) break zzForAction;
806 zzState = zzNext;
808 int zzAttributes = zzAttrL[zzState];
809 if ( (zzAttributes & 1) == 1 ) {
810 zzAction = zzState;
811 zzMarkedPosL = zzCurrentPosL;
812 if ( (zzAttributes & 8) == 8 ) break zzForAction;
818 // store back cached position
819 zzMarkedPos = zzMarkedPosL;
821 switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) {
822 case 21:
823 { yybegin(DOCTYPE_MARKUP); return XmlTokenType.XML_MARKUP_START;
825 case 71: break;
826 case 1:
827 { return XmlTokenType.XML_ATTRIBUTE_VALUE_TOKEN;
829 case 72: break;
830 case 59:
831 { return XmlTokenType.XML_DOCTYPE_SYSTEM;
833 case 73: break;
834 case 36:
835 { return XmlTokenType.XML_COMMA;
837 case 74: break;
838 case 11:
839 { return XmlTokenType.XML_EQ;
841 case 75: break;
842 case 65:
843 { yybegin(CDATA); return XmlTokenType.XML_CDATA_START;
845 case 76: break;
846 case 16:
847 { yybegin(ATTRIBUTE_VALUE_START); return XmlTokenType.XML_EQ;
849 case 77: break;
850 case 60:
851 { return XmlTokenType.XML_CONDITIONAL_IGNORE;
853 case 78: break;
854 case 28:
855 { return XmlTokenType.XML_SEMI;
857 case 79: break;
858 case 54:
859 { yybegin(DECL); return XmlTokenType.XML_DECL_START;
861 case 80: break;
862 case 9:
863 { yybegin(DECL_ATTR_VALUE_DQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER;
865 case 81: break;
866 case 68:
867 { yybegin(DOCTYPE_MARKUP); return XmlTokenType.XML_ELEMENT_DECL_START;
869 case 82: break;
870 case 14:
871 { return XmlTokenType.XML_NAME;
873 case 83: break;
874 case 19:
875 { yybegin(TAG_ATTRIBUTES); return XmlTokenType.XML_ATTRIBUTE_VALUE_END_DELIMITER;
877 case 84: break;
878 case 10:
879 { yybegin(DECL_ATTR_VALUE_SQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER;
881 case 85: break;
882 case 58:
883 { return XmlTokenType.XML_DOCTYPE_PUBLIC;
885 case 86: break;
886 case 51:
887 { yybegin(COMMENT); return XmlTokenType.XML_COMMENT_START;
889 case 87: break;
890 case 7:
891 { yybegin(DECL_ATTR); return XmlTokenType.XML_NAME;
893 case 88: break;
894 case 37:
895 { yybegin(DOCTYPE_MARKUP); return XmlTokenType.XML_ATTRIBUTE_VALUE_END_DELIMITER;
897 case 89: break;
898 case 64:
899 { return XmlTokenType.XML_ATT_IMPLIED;
901 case 90: break;
902 case 67:
903 { yybegin(DOCTYPE_MARKUP); return XmlTokenType.XML_ATTLIST_DECL_START;
905 case 91: break;
906 case 3:
907 { return XmlTokenType.XML_DATA_CHARACTERS;
909 case 92: break;
910 case 6:
911 { return XmlTokenType.XML_BAD_CHARACTER;
913 case 93: break;
914 case 15:
915 { yybegin(YYINITIAL); return XmlTokenType.XML_TAG_END;
917 case 94: break;
918 case 13:
919 { yybegin(TAG_ATTRIBUTES); return XmlTokenType.XML_TAG_NAME;
921 case 95: break;
922 case 48:
923 { yybegin(YYINITIAL); return XmlTokenType.XML_COMMENT_END;
925 case 96: break;
926 case 31:
927 { return XmlTokenType.XML_LEFT_PAREN;
929 case 97: break;
930 case 61:
931 { return XmlTokenType.XML_PCDATA;
933 case 98: break;
934 case 38:
935 { yybegin(TAG_NAME); return XmlTokenType.XML_END_TAG_START;
937 case 99: break;
938 case 57:
939 { return XmlTokenType.XML_ATT_FIXED;
941 case 100: break;
942 case 44:
943 { yybegin(DOCTYPE_MARKUP); return XmlTokenType.XML_COMMENT_END;
945 case 101: break;
946 case 25:
947 { yybegin(DOCTYPE); return XmlTokenType.XML_MARKUP_END;
949 case 102: break;
950 case 43:
951 { yybegin(DOCTYPE_COMMENT); return XmlTokenType.XML_COMMENT_START;
953 case 103: break;
954 case 20:
955 { return XmlTokenType.XML_PI_TARGET;
957 case 104: break;
958 case 62:
959 { return XmlTokenType.XML_CONDITIONAL_INCLUDE;
961 case 105: break;
962 case 41:
963 { yybegin(YYINITIAL); return XmlTokenType.XML_EMPTY_ELEMENT_END;
965 case 106: break;
966 case 32:
967 { return XmlTokenType.XML_RIGHT_PAREN;
969 case 107: break;
970 case 8:
971 { yybegin(YYINITIAL); return XmlTokenType.XML_BAD_CHARACTER;
973 case 108: break;
974 case 39:
975 { yybegin(PROCESSING_INSTRUCTION); return XmlTokenType.XML_PI_START;
977 case 109: break;
978 case 63:
979 { yybegin(DOCTYPE_MARKUP); return XmlTokenType.XML_ENTITY_DECL_START;
981 case 110: break;
982 case 24:
983 { yybegin(DOCTYPE_MARKUP_SQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER;
985 case 111: break;
986 case 53:
987 { return XmlTokenType.XML_CONTENT_EMPTY;
989 case 112: break;
990 case 33:
991 { return XmlTokenType.XML_PLUS;
993 case 113: break;
994 case 23:
995 { yybegin(DOCTYPE_MARKUP_DQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER;
997 case 114: break;
998 case 49:
999 { return XmlTokenType.XML_CONTENT_ANY;
1001 case 115: break;
1002 case 22:
1003 { yybegin(YYINITIAL); return XmlTokenType.XML_DOCTYPE_END;
1005 case 116: break;
1006 case 52:
1007 { return XmlTokenType.XML_CHAR_ENTITY_REF;
1009 case 117: break;
1010 case 69:
1011 { return XmlTokenType.XML_ATT_REQUIRED;
1013 case 118: break;
1014 case 30:
1015 { return XmlTokenType.XML_QUESTION;
1017 case 119: break;
1018 case 56:
1019 { yybegin(DOCTYPE_EXTERNAL_ID); return XmlTokenType.XML_DOCTYPE_SYSTEM;
1021 case 120: break;
1022 case 34:
1023 { return XmlTokenType.XML_STAR;
1025 case 121: break;
1026 case 40:
1027 { yybegin(YYINITIAL); return XmlTokenType.XML_DECL_END;
1029 case 122: break;
1030 case 4:
1031 { return XmlTokenType.XML_WHITE_SPACE;
1033 case 123: break;
1034 case 47:
1035 { return XmlTokenType.XML_ENTITY_REF_TOKEN;
1037 case 124: break;
1038 case 29:
1039 { return XmlTokenType.XML_PERCENT;
1041 case 125: break;
1042 case 5:
1043 { yybegin(TAG_NAME); return XmlTokenType.XML_START_TAG_START;
1045 case 126: break;
1046 case 46:
1047 { yybegin(YYINITIAL); return XmlTokenType.XML_CONDITIONAL_SECTION_END;
1049 case 127: break;
1050 case 50:
1051 { yybegin(YYINITIAL); return XmlTokenType.XML_CDATA_END;
1053 case 128: break;
1054 case 55:
1055 { yybegin(DOCTYPE_EXTERNAL_ID); return XmlTokenType.XML_DOCTYPE_PUBLIC;
1057 case 129: break;
1058 case 12:
1059 { yybegin(DECL); return XmlTokenType.XML_ATTRIBUTE_VALUE_END_DELIMITER;
1061 case 130: break;
1062 case 27:
1063 { return XmlTokenType.XML_AMP;
1065 case 131: break;
1066 case 42:
1067 { yybegin(YYINITIAL); return XmlTokenType.XML_PI_END;
1069 case 132: break;
1070 case 17:
1071 { yybegin(ATTRIBUTE_VALUE_DQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER;
1073 case 133: break;
1074 case 66:
1075 { yybegin(DOCTYPE); return XmlTokenType.XML_DOCTYPE_START;
1077 case 134: break;
1078 case 18:
1079 { yybegin(ATTRIBUTE_VALUE_SQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER;
1081 case 135: break;
1082 case 70:
1083 { yybegin(DOCTYPE_MARKUP); return XmlTokenType.XML_NOTATION_DECL_START;
1085 case 136: break;
1086 case 26:
1087 { return XmlTokenType.XML_TAG_END;
1089 case 137: break;
1090 case 35:
1091 { return XmlTokenType.XML_BAR;
1093 case 138: break;
1094 case 2:
1095 { return XmlTokenType.XML_COMMENT_CHARACTERS;
1097 case 139: break;
1098 case 45:
1099 { yybegin(CONDITIONAL); return XmlTokenType.XML_CONDITIONAL_SECTION_START;
1101 case 140: break;
1102 default:
1103 if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
1104 zzAtEOF = true;
1105 zzDoEOF();
1106 return null;
1108 else {
1109 zzScanError(ZZ_NO_MATCH);