JFlex: regen all lexers

This commit is contained in:
Gregory.Shrago
2016-05-27 18:38:57 +03:00
parent c1fdf11ac0
commit c0d05e8946
21 changed files with 1823 additions and 2064 deletions
@@ -40,21 +40,25 @@ public class _BuildoutCfgFlexLexer implements FlexLexer, BuildoutCfgTokenTypes {
/**
* Translates characters to character classes
* Chosen bits are [9, 6, 6]
* Total runtime size is 1568 bytes
*/
private static final String ZZ_CMAP_PACKED =
"\11\0\1\4\1\2\1\1\1\5\1\3\22\0\1\13\2\0\1\10"+
"\26\0\1\12\1\11\1\0\1\12\35\0\1\6\1\0\1\7\47\0"+
"\1\1\u1fa2\0\1\1\1\1\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\udfe6\0";
public static int ZZ_CMAP(int ch) {
return ZZ_CMAP_A[(ZZ_CMAP_Y[ZZ_CMAP_Z[ch>>12]|((ch>>6)&0x3f)]<<6)|(ch&0x3f)];
}
/**
* Translates characters to character classes
*/
private static final int ZZ_SX = 0x0700;
private static final int ZZ_MX = 0x10000;
private static final int ZZ_LX = 0x110000;
private static char [] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED, ZZ_SX);
private static class M { static final char [] MAP = zzUnpackCMap(ZZ_CMAP_PACKED, ZZ_MX); }
private static class L { static final char [] MAP = zzUnpackCMap(ZZ_CMAP_PACKED, ZZ_LX); }
/* The ZZ_CMAP_Z table has 272 entries */
static final char ZZ_CMAP_Z[] = zzUnpackCMap(
"\1\0\1\100\1\200\u010d\100");
/* The ZZ_CMAP_Y table has 192 entries */
static final char ZZ_CMAP_Y[] = zzUnpackCMap(
"\1\0\1\1\1\2\175\3\1\4\77\3");
/* The ZZ_CMAP_A table has 320 entries */
static final char ZZ_CMAP_A[] = zzUnpackCMap(
"\11\0\1\4\1\2\1\1\1\5\1\3\22\0\1\13\2\0\1\10\26\0\1\12\1\11\1\0\1\12\35\0"+
"\1\6\1\0\1\7\47\0\1\1\242\0\2\1\26\0");
/**
* Translates DFA states to action switch labels.
@@ -250,14 +254,18 @@ public class _BuildoutCfgFlexLexer implements FlexLexer, BuildoutCfgTokenTypes {
* @param packed the packed character translation table
* @return the unpacked character translation table
*/
private static char [] zzUnpackCMap(String packed, int limit) {
char [] map = new char[limit];
private static char [] zzUnpackCMap(String packed) {
int size = 0;
for (int i = 0, length = packed.length(); i < length; i += 2) {
size += packed.charAt(i);
}
char[] map = new char[size];
int i = 0; /* index in packed string */
int j = 0; /* index in unpacked array */
while (i < 82 && j < limit) {
while (i < packed.length()) {
int count = packed.charAt(i++);
char value = packed.charAt(i++);
do map[j++] = value; while (--count > 0 && j < limit);
do map[j++] = value; while (--count > 0);
}
return map;
}
@@ -400,7 +408,6 @@ public class _BuildoutCfgFlexLexer implements FlexLexer, BuildoutCfgTokenTypes {
int zzMarkedPosL;
int zzEndReadL = zzEndRead;
CharSequence zzBufferL = zzBuffer;
char [] zzCMapL = ZZ_CMAP;
int [] zzTransL = ZZ_TRANS;
int [] zzRowMapL = ZZ_ROWMAP;
@@ -452,8 +459,7 @@ public class _BuildoutCfgFlexLexer implements FlexLexer, BuildoutCfgTokenTypes {
zzCurrentPosL += Character.charCount(zzInput);
}
}
if (zzInput >= zzCMapL.length) ZZ_CMAP = zzCMapL = zzInput >= ZZ_MX ? L.MAP : M.MAP;
int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ];
int zzNext = zzTransL[ zzRowMapL[zzState] + ZZ_CMAP(zzInput) ];
if (zzNext == -1) break zzForAction;
zzState = zzNext;
@@ -39,161 +39,137 @@ class _PythonLexer implements FlexLexer {
/**
* Translates characters to character classes
* Chosen bits are [11, 6, 4]
* Total runtime size is 15040 bytes
*/
private static final String ZZ_CMAP_PACKED =
"\11\0\1\30\1\32\1\110\1\31\1\13\22\0\1\27\1\75\1\26"+
"\1\12\1\0\1\67\1\70\1\24\1\77\1\100\1\64\1\62\1\105"+
"\1\20\1\16\1\66\1\1\1\5\6\3\2\2\1\106\1\33\1\74"+
"\1\63\1\73\1\0\1\65\1\4\1\10\1\22\1\4\1\17\1\4"+
"\3\14\1\21\1\14\1\11\2\14\1\7\2\14\1\23\2\14\1\23"+
"\2\14\1\6\2\14\1\101\1\25\1\102\1\72\1\14\1\107\1\34"+
"\1\43\1\45\1\36\1\40\1\52\1\57\1\61\1\50\1\21\1\44"+
"\1\46\1\56\1\35\1\47\1\54\1\14\1\41\1\37\1\42\1\51"+
"\1\14\1\60\1\53\1\55\1\14\1\103\1\71\1\104\1\76\6\0"+
"\1\110\44\0\1\14\12\0\1\14\4\0\1\14\5\0\27\14\1\0"+
"\37\14\1\0\u01ca\14\4\0\14\14\16\0\5\14\7\0\1\14\1\0"+
"\1\14\21\0\165\14\1\0\2\14\2\0\4\14\1\0\1\14\6\0"+
"\1\14\1\0\3\14\1\0\1\14\1\0\24\14\1\0\123\14\1\0"+
"\213\14\1\0\255\14\1\0\46\14\2\0\1\14\7\0\47\14\11\0"+
"\55\14\1\0\1\14\1\0\2\14\1\0\2\14\1\0\1\14\10\0"+
"\33\14\5\0\3\14\35\0\13\14\5\0\100\14\12\15\4\0\146\14"+
"\1\0\10\14\2\0\12\14\1\0\6\14\12\15\3\14\2\0\1\14"+
"\20\0\73\14\2\0\145\14\16\0\12\15\54\14\4\0\1\14\5\0"+
"\56\14\22\0\34\14\104\0\25\14\56\0\201\14\2\0\12\15\1\0"+
"\23\14\1\0\10\14\2\0\2\14\2\0\26\14\1\0\7\14\1\0"+
"\1\14\3\0\4\14\2\0\11\14\2\0\2\14\2\0\4\14\10\0"+
"\1\14\4\0\2\14\1\0\5\14\2\0\12\15\2\14\17\0\3\14"+
"\1\0\6\14\4\0\2\14\2\0\26\14\1\0\7\14\1\0\2\14"+
"\1\0\2\14\1\0\2\14\2\0\1\14\1\0\5\14\4\0\2\14"+
"\2\0\3\14\3\0\1\14\7\0\4\14\1\0\1\14\7\0\12\15"+
"\6\14\13\0\3\14\1\0\11\14\1\0\3\14\1\0\26\14\1\0"+
"\7\14\1\0\2\14\1\0\5\14\2\0\12\14\1\0\3\14\1\0"+
"\3\14\2\0\1\14\17\0\4\14\2\0\12\15\11\0\1\14\7\0"+
"\3\14\1\0\10\14\2\0\2\14\2\0\26\14\1\0\7\14\1\0"+
"\2\14\1\0\5\14\2\0\11\14\2\0\2\14\2\0\3\14\10\0"+
"\2\14\4\0\2\14\1\0\5\14\2\0\12\15\1\0\1\14\20\0"+
"\2\14\1\0\6\14\3\0\3\14\1\0\4\14\3\0\2\14\1\0"+
"\1\14\1\0\2\14\3\0\2\14\3\0\3\14\3\0\14\14\4\0"+
"\5\14\3\0\3\14\1\0\4\14\2\0\1\14\6\0\1\14\16\0"+
"\12\15\20\0\4\14\1\0\10\14\1\0\3\14\1\0\27\14\1\0"+
"\20\14\3\0\10\14\1\0\3\14\1\0\4\14\7\0\2\14\1\0"+
"\3\14\5\0\4\14\2\0\12\15\21\0\3\14\1\0\10\14\1\0"+
"\3\14\1\0\27\14\1\0\12\14\1\0\5\14\2\0\11\14\1\0"+
"\3\14\1\0\4\14\7\0\2\14\7\0\1\14\1\0\4\14\2\0"+
"\12\15\1\0\2\14\16\0\3\14\1\0\10\14\1\0\3\14\1\0"+
"\51\14\2\0\10\14\1\0\3\14\1\0\5\14\10\0\1\14\7\0"+
"\5\14\2\0\12\15\12\0\6\14\2\0\2\14\1\0\22\14\3\0"+
"\30\14\1\0\11\14\1\0\1\14\2\0\7\14\3\0\1\14\4\0"+
"\6\14\1\0\1\14\1\0\10\14\6\0\12\15\2\0\2\14\15\0"+
"\72\14\5\0\17\14\1\0\12\15\47\0\2\14\1\0\1\14\2\0"+
"\2\14\1\0\1\14\2\0\1\14\6\0\4\14\1\0\7\14\1\0"+
"\3\14\1\0\1\14\1\0\1\14\2\0\2\14\1\0\15\14\1\0"+
"\3\14\2\0\5\14\1\0\1\14\1\0\6\14\2\0\12\15\2\0"+
"\4\14\40\0\1\14\27\0\2\14\6\0\12\15\13\0\1\14\1\0"+
"\1\14\1\0\1\14\4\0\12\14\1\0\44\14\4\0\24\14\1\0"+
"\22\14\1\0\44\14\11\0\1\14\71\0\100\14\12\15\6\0\100\14"+
"\12\15\4\14\2\0\46\14\1\0\1\14\5\0\1\14\2\0\53\14"+
"\1\0\u014d\14\1\0\4\14\2\0\7\14\1\0\1\14\1\0\4\14"+
"\2\0\51\14\1\0\4\14\2\0\41\14\1\0\4\14\2\0\7\14"+
"\1\0\1\14\1\0\4\14\2\0\17\14\1\0\71\14\1\0\4\14"+
"\2\0\103\14\2\0\3\14\40\0\20\14\20\0\126\14\2\0\6\14"+
"\3\0\u026c\14\2\0\21\14\1\0\32\14\5\0\113\14\3\0\13\14"+
"\7\0\15\14\1\0\7\14\13\0\25\14\13\0\24\14\14\0\15\14"+
"\1\0\3\14\1\0\2\14\14\0\124\14\3\0\1\14\4\0\2\14"+
"\2\0\12\15\41\0\3\14\2\0\12\15\6\0\130\14\10\0\53\14"+
"\5\0\106\14\12\0\37\14\1\0\14\14\4\0\14\14\12\0\12\15"+
"\36\14\2\0\5\14\13\0\54\14\4\0\32\14\6\0\12\15\46\0"+
"\34\14\4\0\77\14\1\0\35\14\2\0\1\14\12\15\6\0\12\15"+
"\15\0\1\14\10\0\17\14\101\0\114\14\4\0\12\15\21\0\11\14"+
"\14\0\60\14\12\15\72\14\14\0\70\14\10\0\12\15\3\0\3\14"+
"\12\15\44\14\122\0\3\14\1\0\43\14\1\0\2\14\6\0\366\14"+
"\6\0\u011a\14\2\0\6\14\2\0\46\14\2\0\6\14\2\0\10\14"+
"\1\0\1\14\1\0\1\14\1\0\1\14\1\0\37\14\2\0\65\14"+
"\1\0\7\14\1\0\1\14\3\0\3\14\1\0\7\14\3\0\4\14"+
"\2\0\6\14\4\0\15\14\5\0\3\14\1\0\7\14\53\0\1\110"+
"\1\110\25\0\2\14\23\0\1\14\34\0\1\14\15\0\1\14\20\0"+
"\15\14\63\0\41\14\21\0\1\14\4\0\1\14\2\0\12\14\1\0"+
"\1\14\3\0\5\14\6\0\1\14\1\0\1\14\1\0\1\14\1\0"+
"\4\14\1\0\13\14\2\0\4\14\5\0\5\14\4\0\1\14\21\0"+
"\51\14\u032d\0\64\14\u0716\0\57\14\1\0\57\14\1\0\205\14\6\0"+
"\11\14\14\0\46\14\1\0\1\14\5\0\1\14\2\0\70\14\7\0"+
"\1\14\17\0\30\14\11\0\7\14\1\0\7\14\1\0\7\14\1\0"+
"\7\14\1\0\7\14\1\0\7\14\1\0\7\14\1\0\7\14\1\0"+
"\40\14\57\0\1\14\u01d5\0\3\14\31\0\17\14\1\0\5\14\2\0"+
"\5\14\4\0\126\14\2\0\2\14\2\0\3\14\1\0\132\14\1\0"+
"\4\14\5\0\51\14\3\0\136\14\21\0\33\14\65\0\20\14\u0200\0"+
"\u19b6\14\112\0\u51d6\14\52\0\u048d\14\103\0\56\14\2\0\u010d\14\3\0"+
"\20\14\12\15\2\14\24\0\63\14\1\0\12\14\1\0\163\14\45\0"+
"\11\14\2\0\147\14\2\0\43\14\2\0\10\14\77\0\61\14\30\0"+
"\64\14\14\0\105\14\13\0\12\15\6\0\30\14\3\0\1\14\1\0"+
"\1\14\2\0\12\15\44\14\2\0\44\14\14\0\35\14\3\0\101\14"+
"\16\0\1\14\12\15\6\0\20\14\12\15\5\14\1\0\67\14\11\0"+
"\16\14\2\0\12\15\6\0\27\14\3\0\111\14\30\0\3\14\2\0"+
"\20\14\2\0\5\14\12\0\6\14\2\0\6\14\2\0\6\14\11\0"+
"\7\14\1\0\7\14\1\0\53\14\1\0\12\14\12\0\173\14\1\0"+
"\2\14\2\0\12\15\6\0\u2ba4\14\14\0\27\14\4\0\61\14\u2104\0"+
"\u016e\14\2\0\152\14\46\0\7\14\14\0\5\14\5\0\14\14\1\0"+
"\15\14\1\0\5\14\1\0\1\14\1\0\2\14\1\0\2\14\1\0"+
"\154\14\41\0\u016b\14\22\0\100\14\2\0\66\14\50\0\14\14\4\0"+
"\20\14\20\0\20\14\3\0\2\14\30\0\3\14\40\0\5\14\1\0"+
"\207\14\23\0\12\15\7\0\32\14\4\0\1\14\1\0\32\14\13\0"+
"\131\14\3\0\6\14\2\0\6\14\2\0\6\14\2\0\3\14\43\0"+
"\14\14\1\0\32\14\1\0\23\14\1\0\2\14\1\0\17\14\2\0"+
"\16\14\42\0\173\14\105\0\65\14\210\0\1\14\202\0\35\14\3\0"+
"\61\14\17\0\1\14\37\0\40\14\20\0\33\14\5\0\53\14\5\0"+
"\36\14\2\0\44\14\4\0\10\14\1\0\5\14\52\0\236\14\2\0"+
"\12\15\126\0\50\14\10\0\64\14\234\0\u0137\14\11\0\26\14\12\0"+
"\10\14\230\0\6\14\2\0\1\14\1\0\54\14\1\0\2\14\3\0"+
"\1\14\2\0\27\14\12\0\27\14\11\0\37\14\101\0\23\14\1\0"+
"\2\14\12\0\26\14\12\0\32\14\106\0\70\14\6\0\2\14\100\0"+
"\4\14\1\0\2\14\5\0\10\14\1\0\3\14\1\0\33\14\4\0"+
"\3\14\4\0\1\14\40\0\35\14\3\0\35\14\43\0\10\14\1\0"+
"\36\14\31\0\66\14\12\0\26\14\12\0\23\14\15\0\22\14\156\0"+
"\111\14\67\0\63\14\15\0\63\14\u030d\0\107\14\37\0\12\15\17\0"+
"\74\14\25\0\31\14\7\0\12\15\6\0\65\14\1\0\12\15\20\0"+
"\44\14\2\0\1\14\11\0\105\14\5\0\3\14\3\0\12\15\1\14"+
"\1\0\1\14\43\0\22\14\1\0\45\14\110\0\7\14\1\0\1\14"+
"\1\0\4\14\1\0\17\14\1\0\12\14\7\0\73\14\5\0\12\15"+
"\6\0\4\14\1\0\10\14\2\0\2\14\2\0\26\14\1\0\7\14"+
"\1\0\2\14\1\0\5\14\2\0\11\14\2\0\2\14\2\0\3\14"+
"\2\0\1\14\6\0\1\14\5\0\7\14\2\0\7\14\3\0\5\14"+
"\u010b\0\106\14\1\0\1\14\10\0\12\15\246\0\66\14\2\0\11\14"+
"\27\0\6\14\42\0\101\14\3\0\1\14\13\0\12\15\46\0\70\14"+
"\10\0\12\15\66\0\32\14\3\0\17\14\4\0\12\15\u0166\0\100\14"+
"\12\15\25\0\1\14\u01c0\0\71\14\u0507\0\u039a\14\146\0\157\14\21\0"+
"\304\14\u0abc\0\u042f\14\u0fd1\0\u0247\14\u21b9\0\u0239\14\7\0\37\14\1\0"+
"\12\15\146\0\36\14\2\0\5\14\13\0\67\14\11\0\4\14\14\0"+
"\12\15\11\0\25\14\5\0\23\14\u0370\0\105\14\13\0\57\14\20\0"+
"\21\14\u4060\0\2\14\u0bfe\0\153\14\5\0\15\14\3\0\11\14\7\0"+
"\12\14\3\0\2\14\u14c6\0\5\14\3\0\6\14\10\0\10\14\2\0"+
"\7\14\36\0\4\14\224\0\3\14\u01bb\0\125\14\1\0\107\14\1\0"+
"\2\14\2\0\1\14\2\0\2\14\2\0\4\14\1\0\14\14\1\0"+
"\1\14\1\0\7\14\1\0\101\14\1\0\4\14\2\0\10\14\1\0"+
"\7\14\1\0\34\14\1\0\4\14\1\0\5\14\1\0\1\14\3\0"+
"\7\14\1\0\u0154\14\2\0\31\14\1\0\31\14\1\0\37\14\1\0"+
"\31\14\1\0\37\14\1\0\31\14\1\0\37\14\1\0\31\14\1\0"+
"\37\14\1\0\31\14\1\0\10\14\2\0\62\15\u0200\0\67\14\4\0"+
"\62\14\10\0\1\14\16\0\1\14\26\0\5\14\1\0\17\14\u0d50\0"+
"\305\14\13\0\7\14\u0529\0\4\14\1\0\33\14\1\0\2\14\1\0"+
"\1\14\2\0\1\14\1\0\12\14\1\0\4\14\1\0\1\14\1\0"+
"\1\14\6\0\1\14\4\0\1\14\1\0\1\14\1\0\1\14\1\0"+
"\3\14\1\0\2\14\1\0\1\14\2\0\1\14\1\0\1\14\1\0"+
"\1\14\1\0\1\14\1\0\1\14\1\0\2\14\1\0\1\14\2\0"+
"\4\14\1\0\7\14\1\0\4\14\1\0\4\14\1\0\1\14\1\0"+
"\12\14\1\0\21\14\5\0\3\14\1\0\5\14\1\0\21\14\u0274\0"+
"\32\14\6\0\32\14\6\0\32\14\u0e76\0\ua6d7\14\51\0\u1035\14\13\0"+
"\336\14\2\0\u1682\14\u295e\0\u021e\14\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\u06ed\0"+
"\360\14\uffff\0\uffff\0\ufe12\0";
public static int ZZ_CMAP(int ch) {
return ZZ_CMAP_A[(ZZ_CMAP_Y[(ZZ_CMAP_Z[ch>>10]<<6)|((ch>>4)&0x3f)]<<4)|(ch&0xf)];
}
/**
* Translates characters to character classes
*/
private static final int ZZ_SX = 0x0700;
private static final int ZZ_MX = 0x10000;
private static final int ZZ_LX = 0x110000;
private static char [] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED, ZZ_SX);
private static class M { static final char [] MAP = zzUnpackCMap(ZZ_CMAP_PACKED, ZZ_MX); }
private static class L { static final char [] MAP = zzUnpackCMap(ZZ_CMAP_PACKED, ZZ_LX); }
/* The ZZ_CMAP_Z table has 1088 entries */
static final char ZZ_CMAP_Z[] = zzUnpackCMap(
"\1\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\6\15\1\16\23\15"+
"\1\17\1\15\1\20\1\21\12\15\1\22\10\12\1\23\1\24\1\25\1\26\1\27\1\30\1\31\1"+
"\32\1\33\1\12\1\34\1\35\2\12\1\15\1\36\3\12\1\37\10\12\1\40\1\41\20\12\1\42"+
"\2\12\1\43\4\12\1\44\1\45\1\46\3\12\1\47\1\50\1\51\3\12\51\15\1\52\3\15\1"+
"\53\1\54\4\15\1\55\12\12\1\56\u02c1\12\1\57\277\12");
/* The ZZ_CMAP_Y table has 3072 entries */
static final char ZZ_CMAP_Y[] = zzUnpackCMap(
"\1\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\1\1\11\1\12\1\13\1\14\1\13\1\14\34"+
"\13\1\15\1\16\1\17\1\1\7\13\1\20\1\21\1\13\1\22\4\13\1\23\10\13\1\22\12\13"+
"\1\24\1\13\1\25\1\24\1\13\1\26\1\24\1\13\1\27\1\30\1\13\1\31\1\32\1\1\1\31"+
"\4\13\1\33\6\13\1\34\1\35\1\36\1\1\3\13\1\37\6\13\1\16\1\40\2\13\1\41\2\13"+
"\1\42\1\1\1\13\1\43\4\1\1\13\1\44\2\1\1\45\7\13\1\46\1\24\1\34\1\47\1\35\1"+
"\50\1\51\1\52\1\46\1\16\1\53\1\47\1\35\1\54\1\55\1\56\1\57\1\60\1\61\1\22"+
"\1\35\1\62\1\63\1\64\1\46\1\65\1\66\1\47\1\35\1\62\1\67\1\70\1\46\1\71\1\72"+
"\1\73\1\74\1\75\1\76\1\77\1\57\1\1\1\100\1\101\1\35\1\102\1\103\1\104\1\46"+
"\1\1\1\105\1\101\1\35\1\106\1\103\1\107\1\46\1\110\1\105\1\101\1\13\1\37\1"+
"\111\1\112\1\46\1\113\1\114\1\115\1\13\1\116\1\117\1\120\1\57\1\121\1\24\2"+
"\13\1\31\1\122\1\123\2\1\1\124\1\125\1\126\1\127\1\130\1\131\2\1\1\64\1\132"+
"\1\123\1\133\1\134\1\13\1\135\1\24\1\136\1\134\1\13\1\135\1\137\3\1\4\13\1"+
"\123\4\13\1\140\2\13\1\141\2\13\1\142\24\13\1\143\1\144\2\13\1\143\2\13\1"+
"\145\1\146\1\14\3\13\1\146\3\13\1\37\2\1\1\13\1\1\5\13\1\147\1\24\45\13\1"+
"\150\1\13\1\24\1\31\4\13\1\151\1\152\1\153\1\44\1\13\1\44\1\13\1\154\1\153"+
"\1\155\5\13\1\156\1\123\1\1\1\157\1\123\5\13\1\26\2\13\1\31\4\13\1\60\1\13"+
"\1\122\2\43\1\57\1\13\1\42\1\44\2\13\1\43\1\13\1\160\1\123\2\1\1\13\1\43\3"+
"\13\1\122\1\13\1\150\2\123\1\161\1\122\4\1\4\13\1\43\1\123\1\162\1\154\3\13"+
"\1\40\3\13\1\154\3\13\1\26\1\163\1\40\1\13\1\42\5\1\1\164\1\13\1\165\17\13"+
"\1\166\21\13\1\147\2\13\1\147\1\167\1\13\1\42\3\13\1\170\1\171\1\172\1\135"+
"\1\171\2\1\1\173\1\174\1\64\1\175\1\1\1\176\1\1\1\135\3\1\2\13\1\64\1\177"+
"\1\200\1\201\1\202\1\203\1\1\2\13\1\152\62\1\1\204\2\13\1\160\161\1\2\13\1"+
"\122\2\13\1\122\10\13\1\205\1\154\2\13\1\141\3\13\1\206\1\174\1\13\1\207\4"+
"\210\2\13\2\1\1\174\35\1\1\211\1\1\1\24\1\212\1\24\4\13\1\213\1\24\4\13\1"+
"\142\1\214\1\13\1\42\1\24\4\13\1\122\1\1\1\13\1\31\3\1\1\13\40\1\133\13\1"+
"\60\4\1\135\13\1\60\2\1\10\13\1\135\4\1\2\13\1\42\20\13\1\135\1\13\1\215\1"+
"\1\3\13\1\216\7\13\1\16\1\1\1\217\1\220\5\13\1\221\1\13\1\42\1\26\3\1\1\217"+
"\2\13\1\26\1\1\3\13\1\154\4\13\1\44\1\123\1\13\1\222\1\40\1\13\1\42\2\13\1"+
"\154\1\13\1\135\4\13\1\223\1\123\1\13\1\224\3\13\1\207\1\42\1\123\1\13\1\115"+
"\4\13\1\32\1\157\1\13\1\225\1\226\1\227\1\210\2\13\1\142\1\60\7\13\1\230\1"+
"\123\72\13\1\154\1\13\1\231\2\13\1\43\20\1\26\13\1\42\6\13\1\160\2\1\1\207"+
"\1\232\1\35\1\233\1\234\6\13\1\16\1\1\1\45\25\13\1\42\1\1\4\13\1\220\2\13"+
"\1\26\2\1\1\43\1\13\1\1\1\13\1\235\1\236\2\1\1\136\7\13\1\135\1\1\1\123\1"+
"\24\1\237\1\24\1\31\1\204\4\13\1\122\1\240\1\241\2\1\1\242\1\13\1\14\1\243"+
"\2\42\2\1\7\13\1\31\4\1\3\13\1\44\7\1\1\244\10\1\1\13\1\135\3\13\2\64\1\1"+
"\2\13\1\1\1\13\1\31\2\13\1\31\1\13\1\42\2\13\1\245\1\246\2\1\11\13\1\42\1"+
"\123\5\1\2\13\1\26\3\13\1\154\11\1\23\13\1\207\1\13\1\60\1\26\11\1\1\247\2"+
"\13\1\250\1\13\1\60\1\13\1\207\1\13\1\122\4\1\1\13\1\251\1\13\1\60\1\13\1"+
"\160\4\1\3\13\1\252\4\1\1\253\1\254\1\13\1\255\2\1\1\13\1\135\1\13\1\135\2"+
"\1\1\134\1\13\1\207\1\1\3\13\1\60\1\13\1\60\1\13\1\32\1\13\1\16\6\1\4\13\1"+
"\152\3\1\3\13\1\32\3\13\1\32\60\1\4\13\1\207\1\1\1\57\1\174\3\13\1\31\1\1"+
"\1\13\1\152\1\123\3\13\1\256\1\1\2\13\1\257\4\13\1\260\1\261\2\1\1\13\1\22"+
"\1\13\1\26\4\1\1\262\1\27\1\152\3\13\1\31\1\123\1\34\1\47\1\35\1\62\1\67\1"+
"\263\1\264\1\44\20\1\4\13\1\265\1\123\12\1\3\13\1\266\1\64\1\267\2\1\4\13"+
"\1\270\1\123\2\1\3\13\1\26\1\123\3\1\1\13\1\102\1\43\1\123\26\1\4\13\1\123"+
"\1\174\34\1\3\13\1\152\20\1\71\13\1\160\6\1\6\13\1\122\1\1\14\13\1\154\53"+
"\1\2\13\1\122\75\1\44\13\1\207\33\1\43\13\1\152\1\13\1\122\1\123\6\1\1\13"+
"\1\42\1\44\3\13\1\207\1\154\1\123\1\45\1\271\1\13\67\1\4\13\1\44\2\13\1\122"+
"\1\174\1\13\6\1\1\16\77\1\6\13\1\31\1\135\1\152\1\272\114\1\1\273\1\274\1"+
"\275\1\1\1\276\11\1\1\277\33\1\5\13\1\136\3\13\1\153\1\300\1\301\1\302\3\13"+
"\1\303\1\304\1\13\1\305\1\306\1\101\24\13\1\266\1\13\1\101\1\142\1\13\1\142"+
"\1\13\1\136\1\13\1\136\1\122\1\13\1\122\1\13\1\35\1\13\1\35\1\13\1\307\3\310"+
"\40\1\3\13\1\231\2\13\1\135\1\311\1\175\1\162\1\24\25\1\14\13\1\44\1\207\122"+
"\1\1\302\1\13\1\312\1\313\1\314\1\315\1\316\1\317\1\320\1\43\1\321\1\43\47"+
"\1\1\13\1\160\1\13\1\160\1\13\1\160\47\1\55\13\1\207\2\1\103\13\1\44\15\13"+
"\1\42\150\13\1\16\25\1\41\13\1\42\56\1\17\13\41\1");
/* The ZZ_CMAP_A table has 3360 entries */
static final char ZZ_CMAP_A[] = zzUnpackCMap(
"\11\0\1\30\1\32\1\110\1\31\1\13\22\0\1\27\1\75\1\26\1\12\1\0\1\67\1\70\1\24"+
"\1\77\1\100\1\64\1\62\1\105\1\20\1\16\1\66\1\1\1\5\6\3\2\2\1\106\1\33\1\74"+
"\1\63\1\73\1\0\1\65\1\4\1\10\1\22\1\4\1\17\1\4\3\14\1\21\1\14\1\11\2\14\1"+
"\7\2\14\1\23\2\14\1\23\2\14\1\6\2\14\1\101\1\25\1\102\1\72\1\14\1\107\1\34"+
"\1\43\1\45\1\36\1\40\1\52\1\57\1\61\1\50\1\21\1\44\1\46\1\56\1\35\1\47\1\54"+
"\1\14\1\41\1\37\1\42\1\51\1\14\1\60\1\53\1\55\1\14\1\103\1\71\1\104\1\76\6"+
"\0\1\110\24\0\1\14\12\0\1\14\4\0\1\14\5\0\27\14\1\0\12\14\4\0\14\14\16\0\5"+
"\14\7\0\1\14\1\0\1\14\1\0\5\14\1\0\2\14\2\0\4\14\1\0\1\14\6\0\1\14\1\0\3\14"+
"\1\0\1\14\1\0\4\14\1\0\23\14\1\0\11\14\1\0\26\14\2\0\1\14\6\0\10\14\10\0\16"+
"\14\1\0\1\14\1\0\2\14\1\0\2\14\1\0\1\14\10\0\13\14\5\0\3\14\15\0\12\15\4\0"+
"\6\14\1\0\10\14\2\0\12\14\1\0\6\14\12\15\3\14\2\0\14\14\2\0\3\14\12\15\14"+
"\14\4\0\1\14\5\0\16\14\2\0\14\14\4\0\5\14\16\0\21\14\2\0\12\15\1\14\2\0\16"+
"\14\1\0\1\14\3\0\4\14\2\0\11\14\2\0\2\14\2\0\4\14\10\0\1\14\4\0\2\14\1\0\1"+
"\14\1\0\3\14\1\0\6\14\4\0\2\14\1\0\2\14\1\0\2\14\1\0\2\14\2\0\1\14\1\0\5\14"+
"\4\0\2\14\2\0\3\14\3\0\1\14\7\0\4\14\1\0\1\14\7\0\12\15\6\14\13\0\3\14\1\0"+
"\11\14\1\0\2\14\1\0\2\14\1\0\5\14\2\0\12\14\1\0\3\14\1\0\3\14\2\0\1\14\30"+
"\0\1\14\7\0\3\14\1\0\10\14\2\0\6\14\2\0\2\14\2\0\3\14\10\0\2\14\4\0\2\14\1"+
"\0\1\14\1\0\1\14\20\0\2\14\1\0\6\14\3\0\3\14\1\0\4\14\3\0\2\14\1\0\1\14\1"+
"\0\2\14\3\0\2\14\3\0\3\14\3\0\14\14\4\0\5\14\3\0\3\14\1\0\4\14\2\0\1\14\6"+
"\0\1\14\10\0\4\14\1\0\10\14\1\0\3\14\1\0\30\14\3\0\10\14\1\0\3\14\1\0\4\14"+
"\7\0\2\14\1\0\3\14\6\0\3\14\1\0\10\14\1\0\6\14\1\0\5\14\2\0\4\14\5\0\2\14"+
"\7\0\1\14\2\0\2\14\15\0\5\14\1\0\3\14\1\0\5\14\10\0\1\14\7\0\1\14\12\0\6\14"+
"\2\0\2\14\1\0\22\14\3\0\10\14\1\0\11\14\1\0\1\14\2\0\7\14\3\0\1\14\4\0\6\14"+
"\1\0\1\14\1\0\10\14\2\0\2\14\14\0\17\14\1\0\12\15\7\0\2\14\1\0\1\14\2\0\2"+
"\14\1\0\1\14\2\0\1\14\6\0\4\14\1\0\7\14\1\0\3\14\1\0\1\14\1\0\1\14\2\0\2\14"+
"\1\0\15\14\1\0\3\14\2\0\5\14\1\0\1\14\1\0\6\14\2\0\12\15\2\0\4\14\10\0\2\14"+
"\13\0\1\14\1\0\1\14\1\0\1\14\4\0\12\14\1\0\24\14\3\0\5\14\1\0\12\14\6\0\1"+
"\14\11\0\12\15\4\14\2\0\6\14\1\0\1\14\5\0\1\14\2\0\13\14\1\0\15\14\1\0\4\14"+
"\2\0\7\14\1\0\1\14\1\0\4\14\2\0\1\14\1\0\4\14\2\0\7\14\1\0\1\14\1\0\4\14\2"+
"\0\16\14\2\0\6\14\2\0\15\14\2\0\14\14\3\0\13\14\7\0\15\14\1\0\6\14\14\0\1"+
"\14\1\0\2\14\14\0\4\14\3\0\1\14\4\0\2\14\15\0\3\14\2\0\12\14\15\0\1\14\23"+
"\0\5\14\12\15\3\0\6\14\1\0\23\14\1\0\2\14\6\0\6\14\6\0\14\14\1\0\1\14\1\0"+
"\1\14\1\0\1\14\1\0\6\14\1\0\7\14\1\0\1\14\3\0\3\14\1\0\7\14\3\0\4\14\2\0\6"+
"\14\14\0\2\110\25\0\1\14\4\0\1\14\14\0\1\14\15\0\1\14\2\0\1\14\4\0\1\14\2"+
"\0\12\14\1\0\1\14\3\0\5\14\6\0\1\14\1\0\1\14\1\0\1\14\1\0\4\14\1\0\13\14\2"+
"\0\4\14\5\0\5\14\4\0\1\14\7\0\17\14\6\0\15\14\7\0\10\14\11\0\7\14\1\0\7\14"+
"\6\0\3\14\11\0\5\14\2\0\5\14\3\0\7\14\2\0\2\14\2\0\3\14\5\0\13\14\12\15\2"+
"\14\4\0\3\14\1\0\12\14\1\0\1\14\7\0\11\14\2\0\27\14\2\0\15\14\3\0\1\14\1\0"+
"\1\14\2\0\1\14\16\0\1\14\12\15\5\14\3\0\5\14\12\0\6\14\2\0\6\14\2\0\6\14\11"+
"\0\13\14\1\0\2\14\2\0\7\14\4\0\5\14\3\0\5\14\5\0\12\14\1\0\5\14\1\0\1\14\1"+
"\0\2\14\1\0\2\14\1\0\12\14\3\0\2\14\30\0\16\14\4\0\1\14\2\0\6\14\2\0\6\14"+
"\2\0\6\14\2\0\3\14\3\0\14\14\1\0\16\14\1\0\2\14\1\0\1\14\15\0\1\14\2\0\4\14"+
"\4\0\10\14\1\0\5\14\12\0\6\14\2\0\1\14\1\0\14\14\1\0\2\14\3\0\1\14\2\0\4\14"+
"\1\0\2\14\12\0\10\14\6\0\6\14\1\0\2\14\5\0\10\14\1\0\3\14\1\0\13\14\4\0\3"+
"\14\4\0\6\14\1\0\12\15\4\14\2\0\1\14\11\0\5\14\5\0\3\14\3\0\12\15\1\14\1\0"+
"\1\14\3\0\7\14\1\0\1\14\1\0\4\14\1\0\2\14\6\0\1\14\5\0\7\14\2\0\7\14\3\0\6"+
"\14\1\0\1\14\10\0\6\14\2\0\10\14\10\0\6\14\2\0\1\14\3\0\1\14\13\0\10\14\5"+
"\0\15\14\3\0\2\14\6\0\5\14\3\0\6\14\10\0\10\14\2\0\7\14\16\0\4\14\4\0\3\14"+
"\15\0\1\14\2\0\2\14\2\0\4\14\1\0\14\14\1\0\1\14\1\0\7\14\1\0\21\14\1\0\4\14"+
"\2\0\10\14\1\0\7\14\1\0\14\14\1\0\4\14\1\0\5\14\1\0\1\14\3\0\11\14\1\0\10"+
"\14\2\0\22\15\5\0\1\14\13\0\2\14\1\0\1\14\2\0\1\14\1\0\12\14\1\0\4\14\1\0"+
"\1\14\1\0\1\14\6\0\1\14\4\0\1\14\1\0\1\14\1\0\1\14\1\0\3\14\1\0\2\14\1\0\1"+
"\14\2\0\1\14\1\0\1\14\1\0\1\14\1\0\1\14\1\0\1\14\1\0\2\14\1\0\1\14\2\0\4\14"+
"\1\0\7\14\1\0\4\14\1\0\4\14\1\0\1\14\1\0\12\14\1\0\5\14\1\0\3\14\1\0\5\14"+
"\1\0\5\14");
/**
* Translates DFA states to action switch labels.
@@ -696,14 +672,18 @@ return yylength()-s.length();
* @param packed the packed character translation table
* @return the unpacked character translation table
*/
private static char [] zzUnpackCMap(String packed, int limit) {
char [] map = new char[limit];
private static char [] zzUnpackCMap(String packed) {
int size = 0;
for (int i = 0, length = packed.length(); i < length; i += 2) {
size += packed.charAt(i);
}
char[] map = new char[size];
int i = 0; /* index in packed string */
int j = 0; /* index in unpacked array */
while (i < 2862 && j < limit) {
while (i < packed.length()) {
int count = packed.charAt(i++);
char value = packed.charAt(i++);
do map[j++] = value; while (--count > 0 && j < limit);
do map[j++] = value; while (--count > 0);
}
return map;
}
@@ -846,7 +826,6 @@ return yylength()-s.length();
int zzMarkedPosL;
int zzEndReadL = zzEndRead;
CharSequence zzBufferL = zzBuffer;
char [] zzCMapL = ZZ_CMAP;
int [] zzTransL = ZZ_TRANS;
int [] zzRowMapL = ZZ_ROWMAP;
@@ -898,8 +877,7 @@ return yylength()-s.length();
zzCurrentPosL += Character.charCount(zzInput);
}
}
if (zzInput >= zzCMapL.length) ZZ_CMAP = zzCMapL = zzInput >= ZZ_MX ? L.MAP : M.MAP;
int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ];
int zzNext = zzTransL[ zzRowMapL[zzState] + ZZ_CMAP(zzInput) ];
if (zzNext == -1) break zzForAction;
zzState = zzNext;
@@ -36,24 +36,27 @@ public class _PyTypeLexer implements FlexLexer {
/**
* Translates characters to character classes
* Chosen bits are [8, 6, 7]
* Total runtime size is 1040 bytes
*/
private static final String ZZ_CMAP_PACKED =
"\11\0\1\2\1\1\2\0\1\1\22\0\1\2\1\13\6\0\2\20"+
"\1\20\1\0\1\20\1\30\1\17\1\0\12\34\1\3\1\0\1\26"+
"\1\27\1\31\2\0\23\14\7\32\1\20\1\0\1\20\1\0\1\33"+
"\1\12\1\10\1\33\1\6\2\33\1\23\5\33\1\7\1\24\1\33"+
"\1\21\1\4\1\33\1\22\1\11\1\25\4\33\1\5\1\33\1\15"+
"\1\20\1\16\1\13\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uffff\0\uff91\0";
public static int ZZ_CMAP(int ch) {
return ZZ_CMAP_A[ZZ_CMAP_Y[ZZ_CMAP_Z[ch>>13]|((ch>>7)&0x3f)]|(ch&0x7f)];
}
/**
* Translates characters to character classes
*/
private static final int ZZ_SX = 0x0700;
private static final int ZZ_MX = 0x10000;
private static final int ZZ_LX = 0x110000;
private static char [] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED, ZZ_SX);
private static class M { static final char [] MAP = zzUnpackCMap(ZZ_CMAP_PACKED, ZZ_MX); }
private static class L { static final char [] MAP = zzUnpackCMap(ZZ_CMAP_PACKED, ZZ_LX); }
/* The ZZ_CMAP_Z table has 136 entries */
static final char ZZ_CMAP_Z[] = zzUnpackCMap(
"\1\0\207\100");
/* The ZZ_CMAP_Y table has 128 entries */
static final char ZZ_CMAP_Y[] = zzUnpackCMap(
"\1\0\177\200");
/* The ZZ_CMAP_A table has 256 entries */
static final char ZZ_CMAP_A[] = zzUnpackCMap(
"\11\0\1\2\1\1\2\0\1\1\22\0\1\2\1\13\6\0\3\20\1\0\1\20\1\30\1\17\1\0\12\34"+
"\1\3\1\0\1\26\1\27\1\31\2\0\23\14\7\32\1\20\1\0\1\20\1\0\1\33\1\12\1\10\1"+
"\33\1\6\2\33\1\23\5\33\1\7\1\24\1\33\1\21\1\4\1\33\1\22\1\11\1\25\4\33\1\5"+
"\1\33\1\15\1\20\1\16\1\13\201\0");
/**
* Translates DFA states to action switch labels.
@@ -253,14 +256,18 @@ public class _PyTypeLexer implements FlexLexer {
* @param packed the packed character translation table
* @return the unpacked character translation table
*/
private static char [] zzUnpackCMap(String packed, int limit) {
char [] map = new char[limit];
private static char [] zzUnpackCMap(String packed) {
int size = 0;
for (int i = 0, length = packed.length(); i < length; i += 2) {
size += packed.charAt(i);
}
char[] map = new char[size];
int i = 0; /* index in packed string */
int j = 0; /* index in unpacked array */
while (i < 140 && j < limit) {
while (i < packed.length()) {
int count = packed.charAt(i++);
char value = packed.charAt(i++);
do map[j++] = value; while (--count > 0 && j < limit);
do map[j++] = value; while (--count > 0);
}
return map;
}
@@ -403,7 +410,6 @@ public class _PyTypeLexer implements FlexLexer {
int zzMarkedPosL;
int zzEndReadL = zzEndRead;
CharSequence zzBufferL = zzBuffer;
char [] zzCMapL = ZZ_CMAP;
int [] zzTransL = ZZ_TRANS;
int [] zzRowMapL = ZZ_ROWMAP;
@@ -455,8 +461,7 @@ public class _PyTypeLexer implements FlexLexer {
zzCurrentPosL += Character.charCount(zzInput);
}
}
if (zzInput >= zzCMapL.length) ZZ_CMAP = zzCMapL = zzInput >= ZZ_MX ? L.MAP : M.MAP;
int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ];
int zzNext = zzTransL[ zzRowMapL[zzState] + ZZ_CMAP(zzInput) ];
if (zzNext == -1) break zzForAction;
zzState = zzNext;