diff --git a/xml/impl/src/com/intellij/lexer/_XmlLexer.java b/xml/impl/src/com/intellij/lexer/_XmlLexer.java
index fb8c9a00af9e..d78deb86e315 100644
--- a/xml/impl/src/com/intellij/lexer/_XmlLexer.java
+++ b/xml/impl/src/com/intellij/lexer/_XmlLexer.java
@@ -23,7 +23,12 @@ public class _XmlLexer extends FlexAdapter {
private int myState = __XmlLexer.YYINITIAL;
public _XmlLexer(final __XmlLexer flexLexer) {
+ this(flexLexer, false);
+ }
+
+ public _XmlLexer(final __XmlLexer flexLexer, final boolean conditionalCommentsSupport) {
super(flexLexer);
+ flexLexer.setConditionalCommentsSupport(conditionalCommentsSupport);
}
private void packState() {
diff --git a/xml/impl/src/com/intellij/lexer/__XmlLexer.java b/xml/impl/src/com/intellij/lexer/__XmlLexer.java
index 205b197a5f32..42c7d9c8eb34 100644
--- a/xml/impl/src/com/intellij/lexer/__XmlLexer.java
+++ b/xml/impl/src/com/intellij/lexer/__XmlLexer.java
@@ -1,20 +1,4 @@
-/*
- * Copyright 2000-2009 JetBrains s.r.o.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/* The following code was generated by JFlex 1.4.1 on 9/1/07 12:05 PM */
+/* The following code was generated by JFlex 1.4.1 on 10/26/09 6:47 PM */
/* It's an automatically generated code. Do not modify it. */
package com.intellij.lexer;
@@ -27,8 +11,8 @@ import com.intellij.psi.xml.XmlTokenType;
/**
* This class is a scanner generated by
* JFlex 1.4.1
- * on 9/1/07 12:05 PM from the specification file
- * C:/work/Irida/tools/lexer/_XmlLexer.flex
+ * on 10/26/09 6:47 PM from the specification file
+ * /Users/spleaner/ideadev/tools/lexer/_XmlLexer.flex
*/
public class __XmlLexer implements FlexLexer {
/** initial size of the lookahead buffer */
@@ -39,6 +23,7 @@ public class __XmlLexer implements FlexLexer {
public static final int ATTR_LIST = 6;
public static final int END_TAG = 4;
public static final int ATTR_VALUE_DQ = 9;
+ public static final int C_COMMENT_END = 14;
public static final int DTD_MARKUP = 8;
public static final int CDATA = 12;
public static final int ATTR = 7;
@@ -48,75 +33,76 @@ public class __XmlLexer implements FlexLexer {
public static final int YYINITIAL = 0;
public static final int COMMENT = 5;
public static final int DOCTYPE = 11;
+ public static final int C_COMMENT_START = 13;
public static final int ATTR_VALUE_SQ = 10;
/**
* Translates characters to character classes
*/
private static final String ZZ_CMAP_PACKED =
- "\11\0\2\3\1\0\2\3\22\0\1\3\1\13\1\55\1\6\1\4"+
- "\1\63\1\23\1\56\5\0\1\10\1\7\1\61\12\2\1\11\1\26"+
- "\1\12\1\62\1\22\1\57\1\0\1\17\1\52\1\15\1\16\1\46"+
- "\1\42\2\1\1\54\2\1\1\53\1\50\1\1\1\43\1\45\2\1"+
- "\1\47\1\20\1\51\3\1\1\44\1\1\1\14\1\64\1\21\1\0"+
- "\1\1\1\0\1\30\1\37\4\42\1\27\4\1\1\24\1\40\1\36"+
- "\1\32\1\31\1\34\1\1\1\33\1\25\1\35\2\1\1\41\2\1"+
- "\1\5\1\0\1\60\54\0\1\1\12\0\1\1\4\0\1\1\5\0"+
- "\27\1\1\0\37\1\1\0\u013f\1\31\0\162\1\4\0\14\1\16\0"+
- "\5\1\11\0\1\1\213\0\1\1\13\0\1\1\1\0\3\1\1\0"+
- "\1\1\1\0\24\1\1\0\54\1\1\0\46\1\1\0\5\1\4\0"+
- "\202\1\10\0\105\1\1\0\46\1\2\0\2\1\6\0\20\1\41\0"+
- "\46\1\2\0\1\1\7\0\47\1\110\0\33\1\5\0\3\1\56\0"+
- "\32\1\5\0\13\1\43\0\2\1\1\0\143\1\1\0\1\1\17\0"+
- "\2\1\7\0\2\1\12\0\3\1\2\0\1\1\20\0\1\1\1\0"+
- "\36\1\35\0\3\1\60\0\46\1\13\0\1\1\u0152\0\66\1\3\0"+
- "\1\1\22\0\1\1\7\0\12\1\43\0\10\1\2\0\2\1\2\0"+
- "\26\1\1\0\7\1\1\0\1\1\3\0\4\1\3\0\1\1\36\0"+
- "\2\1\1\0\3\1\16\0\2\1\23\0\6\1\4\0\2\1\2\0"+
- "\26\1\1\0\7\1\1\0\2\1\1\0\2\1\1\0\2\1\37\0"+
- "\4\1\1\0\1\1\23\0\3\1\20\0\11\1\1\0\3\1\1\0"+
- "\26\1\1\0\7\1\1\0\2\1\1\0\5\1\3\0\1\1\22\0"+
- "\1\1\17\0\2\1\43\0\10\1\2\0\2\1\2\0\26\1\1\0"+
- "\7\1\1\0\2\1\1\0\5\1\3\0\1\1\36\0\2\1\1\0"+
- "\3\1\17\0\1\1\21\0\1\1\1\0\6\1\3\0\3\1\1\0"+
- "\4\1\3\0\2\1\1\0\1\1\1\0\2\1\3\0\2\1\3\0"+
- "\3\1\3\0\10\1\1\0\3\1\113\0\10\1\1\0\3\1\1\0"+
- "\27\1\1\0\12\1\1\0\5\1\46\0\2\1\43\0\10\1\1\0"+
- "\3\1\1\0\27\1\1\0\12\1\1\0\5\1\3\0\1\1\40\0"+
- "\1\1\1\0\2\1\43\0\10\1\1\0\3\1\1\0\27\1\1\0"+
- "\20\1\46\0\2\1\43\0\22\1\3\0\30\1\1\0\11\1\1\0"+
- "\1\1\2\0\7\1\72\0\60\1\1\0\2\1\14\0\7\1\72\0"+
- "\2\1\1\0\1\1\2\0\2\1\1\0\1\1\2\0\1\1\6\0"+
- "\4\1\1\0\7\1\1\0\3\1\1\0\1\1\1\0\1\1\2\0"+
- "\2\1\1\0\4\1\1\0\2\1\11\0\1\1\2\0\5\1\1\0"+
- "\1\1\25\0\2\1\42\0\1\1\77\0\10\1\1\0\42\1\35\0"+
- "\4\1\164\0\42\1\1\0\5\1\1\0\2\1\45\0\6\1\112\0"+
- "\46\1\12\0\51\1\7\0\132\1\5\0\104\1\5\0\122\1\6\0"+
- "\7\1\1\0\77\1\1\0\1\1\1\0\4\1\2\0\7\1\1\0"+
- "\1\1\1\0\4\1\2\0\47\1\1\0\1\1\1\0\4\1\2\0"+
- "\37\1\1\0\1\1\1\0\4\1\2\0\7\1\1\0\1\1\1\0"+
- "\4\1\2\0\7\1\1\0\7\1\1\0\27\1\1\0\37\1\1\0"+
- "\1\1\1\0\4\1\2\0\7\1\1\0\47\1\1\0\23\1\105\0"+
- "\125\1\14\0\u026c\1\2\0\10\1\12\0\32\1\5\0\113\1\25\0"+
- "\15\1\1\0\4\1\16\0\22\1\16\0\22\1\16\0\15\1\1\0"+
- "\3\1\17\0\64\1\43\0\1\1\4\0\1\1\103\0\130\1\10\0"+
- "\51\1\127\0\35\1\63\0\36\1\2\0\5\1\u038b\0\154\1\224\0"+
- "\234\1\4\0\132\1\6\0\26\1\2\0\6\1\2\0\46\1\2\0"+
- "\6\1\2\0\10\1\1\0\1\1\1\0\1\1\1\0\1\1\1\0"+
- "\37\1\2\0\65\1\1\0\7\1\1\0\1\1\3\0\3\1\1\0"+
- "\7\1\3\0\4\1\2\0\6\1\4\0\15\1\5\0\3\1\1\0"+
- "\7\1\164\0\1\1\15\0\1\1\202\0\1\1\4\0\1\1\2\0"+
- "\12\1\1\0\1\1\3\0\5\1\6\0\1\1\1\0\1\1\1\0"+
- "\1\1\1\0\4\1\1\0\3\1\1\0\7\1\3\0\3\1\5\0"+
- "\5\1\u0ebb\0\2\1\52\0\5\1\5\0\2\1\4\0\126\1\6\0"+
- "\3\1\1\0\132\1\1\0\4\1\5\0\50\1\4\0\136\1\21\0"+
- "\30\1\70\0\20\1\u0200\0\u19b6\1\112\0\u51a6\1\132\0\u048d\1\u0773\0"+
- "\u2ba4\1\u215c\0\u012e\1\2\0\73\1\225\0\7\1\14\0\5\1\5\0"+
- "\1\1\1\0\12\1\1\0\15\1\1\0\5\1\1\0\1\1\1\0"+
- "\2\1\1\0\2\1\1\0\154\1\41\0\u016b\1\22\0\100\1\2\0"+
- "\66\1\50\0\14\1\164\0\5\1\1\0\207\1\44\0\32\1\6\0"+
- "\32\1\13\0\131\1\3\0\6\1\2\0\6\1\2\0\6\1\2\0"+
- "\3\1\43\0";
+ "\11\0\2\3\1\0\2\3\22\0\1\3\1\15\1\57\1\6\1\4"+
+ "\1\65\1\16\1\60\1\14\1\14\3\0\1\11\1\10\1\63\12\2"+
+ "\1\12\1\30\1\17\1\64\1\13\1\61\1\0\1\23\1\54\1\21"+
+ "\1\22\1\50\1\44\2\1\1\56\2\1\1\55\1\52\1\1\1\45"+
+ "\1\47\2\1\1\51\1\24\1\53\3\1\1\46\1\1\1\20\1\66"+
+ "\1\25\1\0\1\7\1\0\1\32\1\41\4\44\1\31\4\1\1\26"+
+ "\1\42\1\40\1\34\1\33\1\36\1\1\1\35\1\27\1\37\2\1"+
+ "\1\43\2\1\1\5\1\14\1\62\54\0\1\1\12\0\1\1\4\0"+
+ "\1\1\5\0\27\1\1\0\37\1\1\0\u013f\1\31\0\162\1\4\0"+
+ "\14\1\16\0\5\1\11\0\1\1\213\0\1\1\13\0\1\1\1\0"+
+ "\3\1\1\0\1\1\1\0\24\1\1\0\54\1\1\0\46\1\1\0"+
+ "\5\1\4\0\202\1\10\0\105\1\1\0\46\1\2\0\2\1\6\0"+
+ "\20\1\41\0\46\1\2\0\1\1\7\0\47\1\110\0\33\1\5\0"+
+ "\3\1\56\0\32\1\5\0\13\1\43\0\2\1\1\0\143\1\1\0"+
+ "\1\1\17\0\2\1\7\0\2\1\12\0\3\1\2\0\1\1\20\0"+
+ "\1\1\1\0\36\1\35\0\3\1\60\0\46\1\13\0\1\1\u0152\0"+
+ "\66\1\3\0\1\1\22\0\1\1\7\0\12\1\43\0\10\1\2\0"+
+ "\2\1\2\0\26\1\1\0\7\1\1\0\1\1\3\0\4\1\3\0"+
+ "\1\1\36\0\2\1\1\0\3\1\16\0\2\1\23\0\6\1\4\0"+
+ "\2\1\2\0\26\1\1\0\7\1\1\0\2\1\1\0\2\1\1\0"+
+ "\2\1\37\0\4\1\1\0\1\1\23\0\3\1\20\0\11\1\1\0"+
+ "\3\1\1\0\26\1\1\0\7\1\1\0\2\1\1\0\5\1\3\0"+
+ "\1\1\22\0\1\1\17\0\2\1\43\0\10\1\2\0\2\1\2\0"+
+ "\26\1\1\0\7\1\1\0\2\1\1\0\5\1\3\0\1\1\36\0"+
+ "\2\1\1\0\3\1\17\0\1\1\21\0\1\1\1\0\6\1\3\0"+
+ "\3\1\1\0\4\1\3\0\2\1\1\0\1\1\1\0\2\1\3\0"+
+ "\2\1\3\0\3\1\3\0\10\1\1\0\3\1\113\0\10\1\1\0"+
+ "\3\1\1\0\27\1\1\0\12\1\1\0\5\1\46\0\2\1\43\0"+
+ "\10\1\1\0\3\1\1\0\27\1\1\0\12\1\1\0\5\1\3\0"+
+ "\1\1\40\0\1\1\1\0\2\1\43\0\10\1\1\0\3\1\1\0"+
+ "\27\1\1\0\20\1\46\0\2\1\43\0\22\1\3\0\30\1\1\0"+
+ "\11\1\1\0\1\1\2\0\7\1\72\0\60\1\1\0\2\1\14\0"+
+ "\7\1\72\0\2\1\1\0\1\1\2\0\2\1\1\0\1\1\2\0"+
+ "\1\1\6\0\4\1\1\0\7\1\1\0\3\1\1\0\1\1\1\0"+
+ "\1\1\2\0\2\1\1\0\4\1\1\0\2\1\11\0\1\1\2\0"+
+ "\5\1\1\0\1\1\25\0\2\1\42\0\1\1\77\0\10\1\1\0"+
+ "\42\1\35\0\4\1\164\0\42\1\1\0\5\1\1\0\2\1\45\0"+
+ "\6\1\112\0\46\1\12\0\51\1\7\0\132\1\5\0\104\1\5\0"+
+ "\122\1\6\0\7\1\1\0\77\1\1\0\1\1\1\0\4\1\2\0"+
+ "\7\1\1\0\1\1\1\0\4\1\2\0\47\1\1\0\1\1\1\0"+
+ "\4\1\2\0\37\1\1\0\1\1\1\0\4\1\2\0\7\1\1\0"+
+ "\1\1\1\0\4\1\2\0\7\1\1\0\7\1\1\0\27\1\1\0"+
+ "\37\1\1\0\1\1\1\0\4\1\2\0\7\1\1\0\47\1\1\0"+
+ "\23\1\105\0\125\1\14\0\u026c\1\2\0\10\1\12\0\32\1\5\0"+
+ "\113\1\25\0\15\1\1\0\4\1\16\0\22\1\16\0\22\1\16\0"+
+ "\15\1\1\0\3\1\17\0\64\1\43\0\1\1\4\0\1\1\103\0"+
+ "\130\1\10\0\51\1\127\0\35\1\63\0\36\1\2\0\5\1\u038b\0"+
+ "\154\1\224\0\234\1\4\0\132\1\6\0\26\1\2\0\6\1\2\0"+
+ "\46\1\2\0\6\1\2\0\10\1\1\0\1\1\1\0\1\1\1\0"+
+ "\1\1\1\0\37\1\2\0\65\1\1\0\7\1\1\0\1\1\3\0"+
+ "\3\1\1\0\7\1\3\0\4\1\2\0\6\1\4\0\15\1\5\0"+
+ "\3\1\1\0\7\1\164\0\1\1\15\0\1\1\202\0\1\1\4\0"+
+ "\1\1\2\0\12\1\1\0\1\1\3\0\5\1\6\0\1\1\1\0"+
+ "\1\1\1\0\1\1\1\0\4\1\1\0\3\1\1\0\7\1\3\0"+
+ "\3\1\5\0\5\1\u0ebb\0\2\1\52\0\5\1\5\0\2\1\4\0"+
+ "\126\1\6\0\3\1\1\0\132\1\1\0\4\1\5\0\50\1\4\0"+
+ "\136\1\21\0\30\1\70\0\20\1\u0200\0\u19b6\1\112\0\u51a6\1\132\0"+
+ "\u048d\1\u0773\0\u2ba4\1\u215c\0\u012e\1\2\0\73\1\225\0\7\1\14\0"+
+ "\5\1\5\0\1\1\1\0\12\1\1\0\15\1\1\0\5\1\1\0"+
+ "\1\1\1\0\2\1\1\0\2\1\1\0\154\1\41\0\u016b\1\22\0"+
+ "\100\1\2\0\66\1\50\0\14\1\164\0\5\1\1\0\207\1\44\0"+
+ "\32\1\6\0\32\1\13\0\131\1\3\0\6\1\2\0\6\1\2\0"+
+ "\6\1\2\0\3\1\43\0";
/**
* Translates characters to character classes
@@ -129,19 +115,19 @@ public class __XmlLexer implements FlexLexer {
private static final int [] ZZ_ACTION = zzUnpackAction();
private static final String ZZ_ACTION_PACKED_0 =
- "\1\1\4\0\1\2\7\0\1\1\1\3\1\1\1\4"+
- "\1\5\1\1\1\5\1\6\1\7\1\5\1\10\1\5"+
- "\2\11\1\5\4\12\1\13\1\2\1\14\1\15\3\16"+
- "\1\17\1\20\1\21\3\22\1\14\1\23\3\22\1\5"+
- "\1\24\2\13\2\5\2\1\2\0\1\25\1\26\6\0"+
- "\1\6\1\0\1\27\2\11\1\30\1\13\2\0\1\15"+
- "\5\0\1\31\1\0\2\13\3\0\1\32\4\0\1\33"+
- "\7\0\1\34\1\35\1\36\1\37\2\13\1\40\1\41"+
- "\2\0\1\42\2\0\2\13\2\0\2\13\2\0\1\43"+
- "\1\44\4\0\1\45\1\46";
+ "\1\1\16\0\1\1\1\2\1\1\1\3\1\4\1\1"+
+ "\1\3\1\5\1\6\1\7\2\3\2\10\1\3\4\11"+
+ "\1\12\3\13\1\14\1\15\3\16\1\17\1\20\1\21"+
+ "\2\22\1\23\1\22\1\24\3\22\1\25\1\3\2\12"+
+ "\2\3\2\1\1\26\1\13\4\26\1\27\10\0\1\30"+
+ "\1\31\1\5\1\0\1\32\2\10\1\33\1\12\2\0"+
+ "\1\15\5\0\1\34\1\0\2\12\3\0\1\35\1\36"+
+ "\1\0\1\37\12\0\1\40\1\41\1\42\1\43\1\44"+
+ "\2\12\1\45\1\46\2\0\1\47\2\0\2\12\2\0"+
+ "\2\12\2\0\1\50\1\51\4\0\1\52\1\53";
private static int [] zzUnpackAction() {
- int [] result = new int[132];
+ int [] result = new int[145];
int offset = 0;
offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result);
return result;
@@ -166,26 +152,28 @@ public class __XmlLexer implements FlexLexer {
private static final int [] ZZ_ROWMAP = zzUnpackRowMap();
private static final String ZZ_ROWMAP_PACKED_0 =
- "\0\0\0\65\0\152\0\237\0\324\0\u0109\0\u013e\0\u0173"+
- "\0\u01a8\0\u01dd\0\u0212\0\u0247\0\u027c\0\u02b1\0\u02e6\0\u031b"+
- "\0\u0350\0\u0385\0\u03ba\0\u03ef\0\u0424\0\u0459\0\u048e\0\u03ef"+
- "\0\u04c3\0\u04f8\0\u052d\0\u0562\0\u03ef\0\u048e\0\u0385\0\u0562"+
- "\0\u0597\0\u05cc\0\u0601\0\u0636\0\u03ef\0\u048e\0\u0385\0\u03ef"+
- "\0\u03ef\0\u03ef\0\u03ef\0\u066b\0\u048e\0\u0385\0\u03ef\0\u06a0"+
- "\0\u06d5\0\u070a\0\u073f\0\u03ef\0\u0774\0\u07a9\0\u07de\0\u0813"+
- "\0\u03ef\0\u0848\0\u087d\0\u08b2\0\u03ef\0\u03ef\0\u08e7\0\u091c"+
- "\0\u0951\0\u0986\0\u09bb\0\u09f0\0\u0a25\0\u0a5a\0\u03ef\0\u0a8f"+
- "\0\u0ac4\0\u03ef\0\u0af9\0\u0b2e\0\u0b63\0\u0b98\0\u0bcd\0\u0c02"+
- "\0\u0c37\0\u0c6c\0\u073f\0\u03ef\0\u0ca1\0\u0cd6\0\u0d0b\0\u07de"+
- "\0\u0813\0\u0d40\0\u03ef\0\u0d75\0\u0daa\0\u0ddf\0\u0e14\0\u03ef"+
- "\0\u0e49\0\u0e7e\0\u0eb3\0\u0ee8\0\u0f1d\0\u0f52\0\u0f87\0\u04f8"+
- "\0\u03ef\0\u03ef\0\u03ef\0\u0fbc\0\u0ff1\0\u03ef\0\u03ef\0\u1026"+
- "\0\u105b\0\u03ef\0\u1090\0\u10c5\0\u10fa\0\u112f\0\u1164\0\u1199"+
- "\0\u11ce\0\u1203\0\u1238\0\u126d\0\u0597\0\u0597\0\u12a2\0\u12d7"+
- "\0\u130c\0\u1341\0\u03ef\0\u03ef";
+ "\0\0\0\67\0\156\0\245\0\334\0\u0113\0\u014a\0\u0181"+
+ "\0\u01b8\0\u01ef\0\u0226\0\u025d\0\u0294\0\u02cb\0\u0302\0\u0339"+
+ "\0\u0370\0\u03a7\0\u03de\0\u0415\0\u044c\0\u0483\0\u04ba\0\u04f1"+
+ "\0\u0483\0\u0528\0\u055f\0\u0596\0\u05cd\0\u0604\0\u0483\0\u03de"+
+ "\0\u0528\0\u0604\0\u063b\0\u0483\0\u0672\0\u06a9\0\u0483\0\u06e0"+
+ "\0\u0483\0\u03de\0\u0528\0\u0483\0\u0483\0\u0483\0\u0483\0\u0717"+
+ "\0\u03de\0\u0528\0\u0483\0\u074e\0\u0785\0\u07bc\0\u0483\0\u07f3"+
+ "\0\u082a\0\u0861\0\u0898\0\u08cf\0\u0483\0\u0906\0\u0483\0\u093d"+
+ "\0\u0672\0\u03de\0\u0528\0\u0974\0\u0483\0\u09ab\0\u09e2\0\u0a19"+
+ "\0\u0a50\0\u0a87\0\u0abe\0\u0af5\0\u0b2c\0\u0483\0\u0483\0\u0b63"+
+ "\0\u0b9a\0\u0483\0\u0bd1\0\u0c08\0\u0483\0\u0c3f\0\u0c76\0\u0cad"+
+ "\0\u0ce4\0\u0d1b\0\u0d52\0\u0d89\0\u0dc0\0\u07f3\0\u0483\0\u0df7"+
+ "\0\u0e2e\0\u0e65\0\u0898\0\u08cf\0\u0e9c\0\u0483\0\u0483\0\u0ed3"+
+ "\0\u0483\0\u0f0a\0\u0f41\0\u0f78\0\u0faf\0\u0fe6\0\u101d\0\u1054"+
+ "\0\u108b\0\u10c2\0\u10f9\0\u0596\0\u0483\0\u0483\0\u0483\0\u0483"+
+ "\0\u1130\0\u1167\0\u0483\0\u0483\0\u119e\0\u11d5\0\u0483\0\u120c"+
+ "\0\u1243\0\u127a\0\u12b1\0\u12e8\0\u131f\0\u1356\0\u138d\0\u13c4"+
+ "\0\u13fb\0\u063b\0\u063b\0\u1432\0\u1469\0\u14a0\0\u14d7\0\u0483"+
+ "\0\u0483";
private static int [] zzUnpackRowMap() {
- int [] result = new int[132];
+ int [] result = new int[145];
int offset = 0;
offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result);
return result;
@@ -208,101 +196,106 @@ public class __XmlLexer implements FlexLexer {
private static final int [] ZZ_TRANS = zzUnpackTrans();
private static final String ZZ_TRANS_PACKED_0 =
- "\3\16\1\17\1\20\1\16\1\20\3\16\1\21\10\16"+
- "\1\22\40\16\1\23\1\24\1\25\1\24\1\26\6\24"+
- "\1\27\2\24\4\25\1\24\1\30\1\22\2\25\1\24"+
- "\26\25\4\24\1\31\4\24\1\32\10\24\1\27\2\24"+
- "\4\32\2\24\1\22\2\32\1\24\12\32\1\33\13\32"+
- "\2\24\1\34\5\24\3\35\1\26\6\35\1\36\10\35"+
- "\1\37\33\35\1\40\5\35\1\24\1\41\1\24\1\26"+
- "\6\24\1\27\2\24\4\41\1\24\1\30\1\22\2\41"+
- "\1\24\26\41\10\24\10\42\1\43\54\42\1\24\1\44"+
- "\1\24\1\26\6\24\1\27\2\24\4\44\2\24\1\22"+
- "\2\44\1\24\26\44\10\24\3\45\1\26\6\45\1\46"+
- "\10\45\1\47\31\45\1\50\1\51\3\45\1\52\2\45"+
- "\12\24\1\27\10\24\1\22\41\24\4\53\1\54\1\53"+
- "\1\54\3\53\1\55\10\53\1\56\31\53\1\57\5\53"+
- "\1\60\5\53\1\61\1\53\1\61\3\53\1\55\10\53"+
- "\1\56\32\53\1\57\4\53\1\62\1\53\1\24\1\41"+
- "\1\24\1\26\6\24\1\27\1\24\1\63\4\41\1\24"+
- "\1\64\1\22\2\41\1\24\16\41\1\65\1\41\1\66"+
- "\5\41\1\67\1\70\6\24\21\71\1\72\43\71\3\16"+
- "\2\0\1\16\1\0\3\16\1\0\10\16\1\0\40\16"+
- "\1\23\3\0\1\17\66\0\1\73\72\0\1\74\43\0"+
- "\1\75\1\0\1\76\4\0\1\77\4\0\1\100\6\0"+
- "\4\77\3\0\1\101\1\77\1\0\1\101\1\102\3\77"+
- "\1\103\1\77\1\104\16\77\10\0\3\16\1\0\6\16"+
- "\1\0\10\16\1\0\40\16\1\23\66\0\2\25\4\0"+
- "\2\25\1\105\3\0\4\25\3\0\2\25\1\0\26\25"+
- "\13\0\1\26\74\0\1\106\73\0\1\107\43\0\2\32"+
- "\4\0\2\32\1\110\3\0\4\32\3\0\2\32\1\0"+
- "\26\32\11\0\2\32\4\0\2\32\1\110\3\0\4\32"+
- "\3\0\2\32\1\0\11\32\1\111\14\32\32\0\1\112"+
- "\43\0\2\41\4\0\2\41\1\113\3\0\4\41\3\0"+
- "\2\41\1\0\26\41\10\0\10\42\1\114\64\42\1\115"+
- "\54\42\1\0\2\44\4\0\2\44\1\116\3\0\4\44"+
- "\3\0\2\44\1\0\26\44\15\0\1\117\141\0\1\120"+
- "\7\0\1\121\141\0\1\122\2\0\21\123\1\124\33\123"+
- "\1\125\7\123\1\0\2\41\4\0\2\41\1\113\3\0"+
- "\4\41\3\0\2\41\1\0\22\41\1\126\3\41\11\0"+
- "\2\41\4\0\2\41\1\113\3\0\4\41\3\0\2\41"+
- "\1\0\15\41\1\127\10\41\10\0\55\130\1\53\7\130"+
- "\56\131\1\53\6\131\21\0\1\132\43\0\12\73\1\0"+
- "\45\73\1\133\4\73\10\0\1\134\3\0\1\135\1\0"+
- "\1\136\47\0\2\77\4\0\2\77\1\137\3\0\4\77"+
- "\3\0\2\77\1\140\26\77\12\0\1\141\36\0\1\142"+
- "\24\0\2\77\4\0\2\77\1\137\3\0\4\77\3\0"+
- "\1\77\1\143\1\140\26\77\11\0\2\77\4\0\2\77"+
- "\1\137\3\0\4\77\3\0\2\77\1\140\2\77\1\144"+
- "\6\77\1\145\14\77\11\0\2\77\4\0\2\77\1\137"+
- "\3\0\4\77\3\0\2\77\1\140\6\77\1\146\17\77"+
- "\11\0\2\77\4\0\2\77\1\137\3\0\4\77\3\0"+
- "\2\77\1\140\10\77\1\147\15\77\11\0\2\105\4\0"+
- "\2\105\4\0\4\105\3\0\2\105\1\0\26\105\20\0"+
- "\1\134\3\0\1\135\51\0\2\110\4\0\2\110\4\0"+
- "\4\110\3\0\2\110\1\0\26\110\11\0\2\32\4\0"+
- "\2\32\1\110\3\0\4\32\3\0\1\150\1\32\1\0"+
- "\26\32\11\0\2\113\4\0\2\113\4\0\4\113\3\0"+
- "\2\113\1\0\26\113\10\0\10\42\1\0\54\42\22\0"+
- "\1\151\43\0\2\116\4\0\2\116\4\0\4\116\3\0"+
- "\2\116\1\0\26\116\10\0\55\117\1\0\2\117\1\152"+
- "\4\117\55\120\1\0\5\120\1\153\1\120\56\121\1\0"+
- "\1\121\1\152\4\121\56\122\1\0\4\122\1\153\1\122"+
- "\55\125\1\123\7\125\1\0\2\41\4\0\2\41\1\113"+
- "\3\0\4\41\3\0\2\41\1\0\23\41\1\154\2\41"+
- "\11\0\2\41\4\0\2\41\1\113\3\0\4\41\3\0"+
- "\2\41\1\0\20\41\1\155\5\41\32\0\1\156\52\0"+
- "\1\157\71\0\1\160\112\0\1\161\22\0\2\137\4\0"+
- "\2\137\4\0\4\137\3\0\2\137\1\140\26\137\12\0"+
- "\1\141\23\0\1\162\40\0\1\163\12\0\3\163\10\0"+
- "\1\163\6\0\1\163\2\0\1\163\3\0\1\163\3\0"+
- "\1\163\13\0\2\77\4\0\2\77\1\137\3\0\4\77"+
- "\3\0\2\77\1\162\26\77\11\0\2\77\4\0\2\77"+
- "\1\137\3\0\4\77\3\0\2\77\1\140\3\77\1\164"+
- "\22\77\11\0\2\77\4\0\2\77\1\137\3\0\4\77"+
- "\3\0\2\77\1\140\2\77\1\143\23\77\11\0\2\77"+
- "\4\0\2\77\1\137\3\0\4\77\3\0\2\77\1\140"+
- "\3\77\1\101\22\77\11\0\2\77\4\0\2\77\1\137"+
- "\3\0\4\77\3\0\2\77\1\140\4\77\1\145\21\77"+
- "\11\0\2\41\4\0\2\41\1\113\3\0\4\41\3\0"+
- "\2\41\1\0\24\41\1\165\1\41\11\0\2\41\4\0"+
- "\2\41\1\113\3\0\3\41\1\166\3\0\2\41\1\0"+
- "\26\41\26\0\1\167\63\0\1\170\51\0\1\163\12\0"+
- "\3\163\6\0\1\162\1\0\1\163\6\0\1\163\2\0"+
- "\1\163\3\0\1\163\3\0\1\163\13\0\2\77\4\0"+
- "\2\77\1\137\3\0\4\77\3\0\2\77\1\140\4\77"+
- "\1\143\21\77\11\0\2\41\4\0\2\41\1\113\3\0"+
- "\4\41\3\0\2\41\1\0\25\41\1\171\11\0\2\41"+
- "\4\0\2\41\1\113\3\0\4\41\3\0\2\41\1\0"+
- "\17\41\1\172\6\41\27\0\1\173\65\0\1\174\45\0"+
- "\2\41\4\0\2\41\1\113\3\0\1\175\3\41\3\0"+
- "\2\41\1\0\26\41\11\0\2\41\4\0\2\41\1\113"+
- "\3\0\4\41\3\0\2\41\1\0\21\41\1\176\4\41"+
- "\30\0\1\177\110\0\1\200\37\0\1\201\112\0\1\202"+
- "\33\0\1\203\116\0\1\204\16\0";
+ "\3\20\1\21\1\22\1\20\1\22\7\20\1\23\1\24"+
+ "\46\20\1\25\1\26\1\27\1\26\1\30\3\26\1\27"+
+ "\3\26\1\31\2\26\1\23\1\32\1\26\4\27\1\26"+
+ "\2\27\1\26\26\27\4\26\1\33\4\26\1\34\5\26"+
+ "\1\34\6\26\1\23\1\32\1\26\4\34\1\26\2\34"+
+ "\1\26\12\34\1\35\13\34\2\26\1\36\5\26\3\37"+
+ "\1\30\12\37\1\40\1\41\41\37\1\42\5\37\1\26"+
+ "\1\43\1\26\1\30\3\26\1\43\3\26\1\31\2\26"+
+ "\1\23\1\32\1\26\4\43\1\26\2\43\1\26\26\43"+
+ "\10\26\11\44\1\45\5\44\1\46\1\47\46\44\1\26"+
+ "\1\50\1\26\1\30\3\26\1\50\6\26\1\23\1\32"+
+ "\1\26\4\50\1\26\2\50\1\26\26\50\10\26\3\51"+
+ "\1\30\12\51\1\52\1\53\37\51\1\54\1\55\3\51"+
+ "\1\56\2\51\16\26\1\23\1\32\47\26\4\57\1\60"+
+ "\1\57\1\60\7\57\1\61\1\62\37\57\1\63\5\57"+
+ "\1\64\5\57\1\65\1\57\1\65\7\57\1\61\1\62"+
+ "\40\57\1\63\4\57\1\66\1\57\1\26\1\43\1\26"+
+ "\1\30\3\26\1\43\3\26\1\67\2\26\1\23\1\32"+
+ "\1\70\4\43\1\26\2\43\1\26\16\43\1\71\1\43"+
+ "\1\72\5\43\1\73\1\74\6\26\25\75\1\76\41\75"+
+ "\1\77\1\100\7\77\1\101\4\77\1\102\1\103\1\77"+
+ "\4\100\1\104\2\100\1\77\26\100\11\77\1\100\7\77"+
+ "\1\101\4\77\1\102\1\103\1\77\4\100\1\105\2\100"+
+ "\1\77\26\100\10\77\3\20\2\0\1\20\1\0\7\20"+
+ "\2\0\46\20\1\25\3\0\1\21\70\0\1\106\62\0"+
+ "\1\107\4\0\1\110\1\107\11\0\4\107\1\0\1\111"+
+ "\1\107\1\0\1\111\1\112\3\107\1\113\1\107\1\114"+
+ "\16\107\25\0\1\115\43\0\1\116\1\0\1\117\3\0"+
+ "\3\20\1\0\12\20\2\0\46\20\1\25\70\0\2\27"+
+ "\4\0\3\27\1\120\6\0\4\27\1\0\2\27\1\0"+
+ "\26\27\13\0\1\30\100\0\1\121\64\0\1\122\54\0"+
+ "\2\34\4\0\3\34\1\123\6\0\4\34\1\0\2\34"+
+ "\1\0\26\34\11\0\2\34\4\0\3\34\1\123\6\0"+
+ "\4\34\1\0\2\34\1\0\11\34\1\124\14\34\23\0"+
+ "\1\125\54\0\2\43\4\0\3\43\1\126\6\0\4\43"+
+ "\1\0\2\43\1\0\26\43\21\0\1\127\72\0\1\130"+
+ "\52\0\2\50\4\0\3\50\1\131\6\0\4\50\1\0"+
+ "\2\50\1\0\26\50\15\0\1\132\145\0\1\133\7\0"+
+ "\1\134\145\0\1\135\2\0\25\136\1\137\31\136\1\140"+
+ "\7\136\1\0\2\43\4\0\3\43\1\126\6\0\4\43"+
+ "\1\0\2\43\1\0\22\43\1\141\3\43\11\0\2\43"+
+ "\4\0\3\43\1\126\6\0\4\43\1\0\2\43\1\0"+
+ "\15\43\1\142\10\43\10\0\57\143\1\57\7\143\60\144"+
+ "\1\57\6\144\25\0\1\145\42\0\3\100\4\0\1\100"+
+ "\3\0\3\100\2\0\4\100\1\0\2\100\1\0\26\100"+
+ "\23\0\1\146\53\0\17\106\1\0\42\106\1\147\4\106"+
+ "\1\0\2\107\4\0\3\107\1\150\6\0\4\107\1\0"+
+ "\2\107\1\151\26\107\12\0\1\152\40\0\1\153\24\0"+
+ "\2\107\4\0\3\107\1\150\6\0\4\107\1\0\1\107"+
+ "\1\154\1\151\26\107\11\0\2\107\4\0\3\107\1\150"+
+ "\6\0\4\107\1\0\2\107\1\151\2\107\1\155\6\107"+
+ "\1\156\14\107\11\0\2\107\4\0\3\107\1\150\6\0"+
+ "\4\107\1\0\2\107\1\151\6\107\1\157\17\107\11\0"+
+ "\2\107\4\0\3\107\1\150\6\0\4\107\1\0\2\107"+
+ "\1\151\10\107\1\160\15\107\21\0\1\161\6\0\1\162"+
+ "\1\0\1\163\45\0\2\120\4\0\3\120\7\0\4\120"+
+ "\1\0\2\120\1\0\26\120\21\0\1\161\6\0\1\162"+
+ "\47\0\2\123\4\0\3\123\7\0\4\123\1\0\2\123"+
+ "\1\0\26\123\11\0\2\34\4\0\3\34\1\123\6\0"+
+ "\4\34\1\0\1\164\1\34\1\0\26\34\11\0\2\126"+
+ "\4\0\3\126\7\0\4\126\1\0\2\126\1\0\26\126"+
+ "\23\0\1\165\73\0\1\166\47\0\2\131\4\0\3\131"+
+ "\7\0\4\131\1\0\2\131\1\0\26\131\10\0\57\132"+
+ "\1\0\2\132\1\167\4\132\57\133\1\0\5\133\1\170"+
+ "\1\133\60\134\1\0\1\134\1\167\4\134\60\135\1\0"+
+ "\4\135\1\170\1\135\57\140\1\136\7\140\1\0\2\43"+
+ "\4\0\3\43\1\126\6\0\4\43\1\0\2\43\1\0"+
+ "\23\43\1\171\2\43\11\0\2\43\4\0\3\43\1\126"+
+ "\6\0\4\43\1\0\2\43\1\0\20\43\1\172\5\43"+
+ "\23\0\1\173\54\0\2\150\4\0\3\150\7\0\4\150"+
+ "\1\0\2\150\1\151\26\150\12\0\1\152\25\0\1\174"+
+ "\40\0\1\175\16\0\3\175\6\0\1\175\6\0\1\175"+
+ "\2\0\1\175\3\0\1\175\3\0\1\175\13\0\2\107"+
+ "\4\0\3\107\1\150\6\0\4\107\1\0\2\107\1\174"+
+ "\26\107\11\0\2\107\4\0\3\107\1\150\6\0\4\107"+
+ "\1\0\2\107\1\151\3\107\1\176\22\107\11\0\2\107"+
+ "\4\0\3\107\1\150\6\0\4\107\1\0\2\107\1\151"+
+ "\2\107\1\154\23\107\11\0\2\107\4\0\3\107\1\150"+
+ "\6\0\4\107\1\0\2\107\1\151\3\107\1\111\22\107"+
+ "\11\0\2\107\4\0\3\107\1\150\6\0\4\107\1\0"+
+ "\2\107\1\151\4\107\1\156\21\107\21\0\1\177\76\0"+
+ "\1\200\112\0\1\201\22\0\2\43\4\0\3\43\1\126"+
+ "\6\0\4\43\1\0\2\43\1\0\24\43\1\202\1\43"+
+ "\11\0\2\43\4\0\3\43\1\126\6\0\3\43\1\203"+
+ "\1\0\2\43\1\0\26\43\12\0\1\175\16\0\3\175"+
+ "\4\0\1\174\1\0\1\175\6\0\1\175\2\0\1\175"+
+ "\3\0\1\175\3\0\1\175\13\0\2\107\4\0\3\107"+
+ "\1\150\6\0\4\107\1\0\2\107\1\151\4\107\1\154"+
+ "\21\107\32\0\1\204\65\0\1\205\46\0\2\43\4\0"+
+ "\3\43\1\126\6\0\4\43\1\0\2\43\1\0\25\43"+
+ "\1\206\11\0\2\43\4\0\3\43\1\126\6\0\4\43"+
+ "\1\0\2\43\1\0\17\43\1\207\6\43\33\0\1\210"+
+ "\67\0\1\211\43\0\2\43\4\0\3\43\1\126\6\0"+
+ "\1\212\3\43\1\0\2\43\1\0\26\43\11\0\2\43"+
+ "\4\0\3\43\1\126\6\0\4\43\1\0\2\43\1\0"+
+ "\21\43\1\213\4\43\34\0\1\214\110\0\1\215\43\0"+
+ "\1\216\112\0\1\217\37\0\1\220\116\0\1\221\16\0";
private static int [] zzUnpackTrans() {
- int [] result = new int[4982];
+ int [] result = new int[5390];
int offset = 0;
offset = zzUnpackTrans(ZZ_TRANS_PACKED_0, offset, result);
return result;
@@ -343,16 +336,17 @@ public class __XmlLexer implements FlexLexer {
private static final int [] ZZ_ATTRIBUTE = zzUnpackAttribute();
private static final String ZZ_ATTRIBUTE_PACKED_0 =
- "\1\1\4\0\1\1\7\0\6\1\1\11\3\1\1\11"+
- "\4\1\1\11\7\1\1\11\2\1\4\11\3\1\1\11"+
- "\4\1\1\11\4\1\1\11\1\1\2\0\2\11\6\0"+
- "\1\1\1\0\1\11\2\1\1\11\1\1\2\0\1\1"+
- "\5\0\1\11\1\0\2\1\3\0\1\11\4\0\1\11"+
- "\7\0\1\1\3\11\2\1\2\11\2\0\1\11\2\0"+
- "\2\1\2\0\2\1\2\0\2\1\4\0\2\11";
+ "\1\1\16\0\6\1\1\11\2\1\1\11\5\1\1\11"+
+ "\4\1\1\11\2\1\1\11\1\1\1\11\2\1\4\11"+
+ "\3\1\1\11\3\1\1\11\5\1\1\11\1\1\1\11"+
+ "\5\1\1\11\10\0\2\11\1\1\1\0\1\11\2\1"+
+ "\1\11\1\1\2\0\1\1\5\0\1\11\1\0\2\1"+
+ "\3\0\2\11\1\0\1\11\12\0\1\1\4\11\2\1"+
+ "\2\11\2\0\1\11\2\0\2\1\2\0\2\1\2\0"+
+ "\2\1\4\0\2\11";
private static int [] zzUnpackAttribute() {
- int [] result = new int[132];
+ int [] result = new int[145];
int offset = 0;
offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result);
return result;
@@ -411,9 +405,23 @@ public class __XmlLexer implements FlexLexer {
private boolean zzEOFDone;
/* user code: */
- protected IElementType elTokenType = XmlTokenType.XML_DATA_CHARACTERS;
- protected IElementType elTokenType2 = XmlTokenType.XML_ATTRIBUTE_VALUE_TOKEN;
- protected IElementType javaEmbeddedTokenType = XmlTokenType.XML_ATTRIBUTE_VALUE_TOKEN;
+ private IElementType elTokenType = XmlTokenType.XML_DATA_CHARACTERS;
+ private IElementType elTokenType2 = XmlTokenType.XML_ATTRIBUTE_VALUE_TOKEN;
+ private IElementType javaEmbeddedTokenType = XmlTokenType.XML_ATTRIBUTE_VALUE_TOKEN;
+ private boolean myConditionalCommentsSupport;
+
+ public void setConditionalCommentsSupport(final boolean b) {
+ myConditionalCommentsSupport = b;
+ }
+
+ public void setElTypes(IElementType _elTokenType,IElementType _elTokenType2) {
+ elTokenType = _elTokenType;
+ elTokenType2 = _elTokenType2;
+ }
+
+ public void setJavaEmbeddedType(IElementType _tokenType) {
+ javaEmbeddedTokenType = _tokenType;
+ }
private int myPrevState = YYINITIAL;
@@ -456,7 +464,7 @@ public class __XmlLexer implements FlexLexer {
char [] map = new char[0x10000];
int i = 0; /* index in packed string */
int j = 0; /* index in unpacked array */
- while (i < 1244) {
+ while (i < 1248) {
int count = packed.charAt(i++);
char value = packed.charAt(i++);
do map[j++] = value; while (--count > 0);
@@ -485,7 +493,14 @@ public class __XmlLexer implements FlexLexer {
// For Demetra compatibility
public void reset(CharSequence buffer, int initialState){
- reset(buffer, 0, buffer.length(), initialState);
+ zzBuffer = buffer;
+ zzBufferArray = null;
+ zzCurrentPos = zzMarkedPos = zzStartRead = 0;
+ zzPushbackPos = 0;
+ zzAtEOF = false;
+ zzAtBOL = true;
+ zzEndRead = buffer.length();
+ yybegin(initialState);
}
/**
@@ -683,161 +698,187 @@ public class __XmlLexer implements FlexLexer {
zzMarkedPos = zzMarkedPosL;
switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) {
- case 19:
+ case 20:
{ yybegin(ATTR_LIST); return XmlTokenType.XML_ATTRIBUTE_VALUE_END_DELIMITER;
}
- case 39: break;
+ case 44: break;
case 18:
{ return XmlTokenType.XML_ATTRIBUTE_VALUE_TOKEN;
}
- case 40: break;
- case 36:
+ case 45: break;
+ case 41:
{ return XmlTokenType.XML_DOCTYPE_SYSTEM;
}
- case 41: break;
+ case 46: break;
case 17:
{ return XmlTokenType.XML_EQ;
}
- case 42: break;
- case 10:
+ case 47: break;
+ case 9:
{ return XmlTokenType.XML_TAG_CHARACTERS;
}
- case 43: break;
- case 37:
+ case 48: break;
+ case 42:
{ yybegin(CDATA); return XmlTokenType.XML_CDATA_START;
}
- case 44: break;
- case 6:
+ case 49: break;
+ case 5:
{ yybegin(ATTR_LIST); pushState(TAG); return XmlTokenType.XML_NAME;
}
- case 45: break;
- case 22:
+ case 50: break;
+ case 25:
{ yybegin(END_TAG); return XmlTokenType.XML_END_TAG_START;
}
- case 46: break;
- case 26:
- { return elTokenType;
- }
- case 47: break;
- case 11:
- { return XmlTokenType.XML_NAME;
- }
- case 48: break;
- case 35:
- { return XmlTokenType.XML_DOCTYPE_PUBLIC;
- }
- case 49: break;
- case 33:
- { yybegin(COMMENT); return XmlTokenType.XML_COMMENT_START;
- }
- case 50: break;
- case 31:
- { return javaEmbeddedTokenType;
- }
case 51: break;
- case 25:
- { return XmlElementType.XML_MARKUP;
+ case 34:
+ { if (myConditionalCommentsSupport) {
+ yybegin(C_COMMENT_END);
+ return XmlTokenType.XML_CONDITIONAL_COMMENT_END_START;
+ } else return XmlTokenType.XML_COMMENT_CHARACTERS;
}
case 52: break;
- case 28:
- { yybegin(ATTR_LIST); pushState(PROCESSING_INSTRUCTION); return XmlTokenType.XML_NAME;
+ case 30:
+ { return elTokenType;
}
case 53: break;
- case 3:
- { return XmlTokenType.XML_REAL_WHITE_SPACE;
+ case 10:
+ { return XmlTokenType.XML_NAME;
}
case 54: break;
+ case 40:
+ { return XmlTokenType.XML_DOCTYPE_PUBLIC;
+ }
+ case 55: break;
+ case 39:
+ { yybegin(COMMENT); return XmlTokenType.XML_COMMENT_START;
+ }
+ case 56: break;
+ case 36:
+ { return javaEmbeddedTokenType;
+ }
+ case 57: break;
+ case 28:
+ { return XmlElementType.XML_MARKUP;
+ }
+ case 58: break;
+ case 32:
+ { yybegin(ATTR_LIST); pushState(PROCESSING_INSTRUCTION); return XmlTokenType.XML_NAME;
+ }
+ case 59: break;
+ case 2:
+ { return XmlTokenType.XML_REAL_WHITE_SPACE;
+ }
+ case 60: break;
case 1:
{ return XmlTokenType.XML_DATA_CHARACTERS;
}
- case 55: break;
- case 12:
+ case 61: break;
+ case 23:
+ { yybegin(COMMENT); return XmlTokenType.XML_CONDITIONAL_COMMENT_END;
+ }
+ case 62: break;
+ case 19:
{ return XmlTokenType.XML_BAD_CHARACTER;
}
- case 56: break;
- case 8:
+ case 63: break;
+ case 7:
{ yybegin(YYINITIAL); return XmlTokenType.XML_TAG_END;
}
- case 57: break;
- case 5:
+ case 64: break;
+ case 29:
+ { yybegin(COMMENT); return XmlTokenType.XML_CONDITIONAL_COMMENT_START_END;
+ }
+ case 65: break;
+ case 33:
+ { yybegin(YYINITIAL); return XmlTokenType.XML_COMMENT_END;
+ }
+ case 66: break;
+ case 4:
+ { yybegin(TAG); return XmlTokenType.XML_START_TAG_START;
+ }
+ case 67: break;
+ case 26:
+ { yybegin(YYINITIAL); return XmlTokenType.XML_EMPTY_ELEMENT_END;
+ }
+ case 68: break;
+ case 24:
+ { yybegin(PROCESSING_INSTRUCTION); return XmlTokenType.XML_PI_START;
+ }
+ case 69: break;
+ case 8:
+ { yybegin(PI_ANY); return XmlTokenType.XML_NAME;
+ }
+ case 70: break;
+ case 12:
+ { if (myConditionalCommentsSupport) {
+ yybegin(C_COMMENT_START);
+ return XmlTokenType.XML_CONDITIONAL_COMMENT_START;
+ } else return XmlTokenType.XML_COMMENT_CHARACTERS;
+ }
+ case 71: break;
+ case 13:
+ { yybegin(ATTR); return XmlTokenType.XML_NAME;
+ }
+ case 72: break;
+ case 14:
+ { yybegin(ATTR_LIST); yypushback(yylength());
+ }
+ case 73: break;
+ case 21:
+ { yybegin(YYINITIAL); return XmlTokenType.XML_DOCTYPE_END;
+ }
+ case 74: break;
+ case 38:
+ { return XmlTokenType.XML_CHAR_ENTITY_REF;
+ }
+ case 75: break;
+ case 6:
+ { return XmlTokenType.XML_WHITE_SPACE;
+ }
+ case 76: break;
+ case 31:
+ { return XmlTokenType.XML_ENTITY_REF_TOKEN;
+ }
+ case 77: break;
+ case 15:
+ { yybegin(ATTR_VALUE_DQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER;
+ }
+ case 78: break;
+ case 16:
+ { yybegin(ATTR_VALUE_SQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER;
+ }
+ case 79: break;
+ case 22:
+ { yybegin(COMMENT); return XmlTokenType.XML_COMMENT_CHARACTERS;
+ }
+ case 80: break;
+ case 37:
+ { yybegin(YYINITIAL); return XmlTokenType.XML_CDATA_END;
+ }
+ case 81: break;
+ case 3:
{ if(yystate() == YYINITIAL){
return XmlTokenType.XML_BAD_CHARACTER;
}
else yybegin(popState()); yypushback(yylength());
}
- case 58: break;
- case 29:
- { yybegin(YYINITIAL); return XmlTokenType.XML_COMMENT_END;
- }
- case 59: break;
- case 4:
- { yybegin(TAG); return XmlTokenType.XML_START_TAG_START;
- }
- case 60: break;
- case 23:
- { yybegin(YYINITIAL); return XmlTokenType.XML_EMPTY_ELEMENT_END;
- }
- case 61: break;
- case 21:
- { yybegin(PROCESSING_INSTRUCTION); return XmlTokenType.XML_PI_START;
- }
- case 62: break;
- case 9:
- { yybegin(PI_ANY); return XmlTokenType.XML_NAME;
- }
- case 63: break;
- case 13:
- { yybegin(ATTR); return XmlTokenType.XML_NAME;
- }
- case 64: break;
- case 14:
- { yybegin(ATTR_LIST); yypushback(yylength());
- }
- case 65: break;
- case 20:
- { yybegin(YYINITIAL); return XmlTokenType.XML_DOCTYPE_END;
- }
- case 66: break;
- case 34:
- { return XmlTokenType.XML_CHAR_ENTITY_REF;
- }
- case 67: break;
- case 7:
- { return XmlTokenType.XML_WHITE_SPACE;
- }
- case 68: break;
- case 27:
- { return XmlTokenType.XML_ENTITY_REF_TOKEN;
- }
- case 69: break;
- case 15:
- { yybegin(ATTR_VALUE_DQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER;
- }
- case 70: break;
- case 16:
- { yybegin(ATTR_VALUE_SQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER;
- }
- case 71: break;
- case 32:
- { yybegin(YYINITIAL); return XmlTokenType.XML_CDATA_END;
- }
- case 72: break;
- case 30:
+ case 82: break;
+ case 35:
{ return elTokenType2;
}
- case 73: break;
- case 24:
+ case 83: break;
+ case 27:
{ yybegin(YYINITIAL); return XmlTokenType.XML_PI_END;
}
- case 74: break;
- case 38:
+ case 84: break;
+ case 43:
{ yybegin(DOCTYPE); return XmlTokenType.XML_DOCTYPE_START;
}
- case 75: break;
- case 2:
+ case 85: break;
+ case 11:
{ return XmlTokenType.XML_COMMENT_CHARACTERS;
}
- case 76: break;
+ case 86: break;
default:
if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
zzAtEOF = true;