jsyntaxpane.lexers.KevScriptLexer Maven / Gradle / Ivy
/* The following code was generated by JFlex 1.4.3 on 12/10/15 17:13 */
package jsyntaxpane.lexers;
import jsyntaxpane.Token;
import jsyntaxpane.TokenType;
/**
* This class is a scanner generated by
* JFlex 1.4.3
* on 12/10/15 17:13 from the specification file
* /home/leiko/dev/kevoree/kevoree/target/checkout/kevoree-tools/org.kevoree.tools.ui.kevscript/src/main/jflex/jsyntaxpane/lexers/kevscript.flex
*/
public final class KevScriptLexer extends DefaultJFlexLexer {
/** This character denotes the end of file */
public static final int YYEOF = -1;
/** initial size of the lookahead buffer */
private static final int ZZ_BUFFERSIZE = 16384;
/** lexical states */
public static final int STRING = 2;
public static final int YYINITIAL = 0;
/**
* ZZ_LEXSTATE[l] is the state in the DFA for the lexical state l
* ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l
* at the beginning of a line
* l is of the form l = 2*k, k a non negative integer
*/
private static final int ZZ_LEXSTATE[] = {
0, 0, 1, 1
};
/**
* Translates characters to character classes
*/
private static final String ZZ_CMAP_PACKED =
"\11\7\1\3\1\2\1\0\1\3\1\1\16\7\4\0\1\3\1\0"+
"\1\24\1\0\1\6\2\0\1\0\2\0\1\5\1\23\1\74\1\23"+
"\1\21\1\4\1\10\1\16\2\15\4\17\2\11\1\74\2\0\1\74"+
"\3\0\1\14\1\52\1\54\1\55\1\22\1\20\1\73\1\6\1\56"+
"\2\6\1\12\1\6\1\64\1\60\1\65\1\6\1\71\1\62\1\67"+
"\1\6\1\63\1\72\1\13\2\6\1\0\1\25\2\0\1\6\1\0"+
"\1\31\1\37\1\43\1\32\1\27\1\51\1\57\1\44\1\40\1\61"+
"\1\47\1\45\1\34\1\41\1\35\1\50\1\66\1\33\1\26\1\30"+
"\1\42\1\36\1\46\1\13\1\53\1\70\4\0\41\7\2\0\4\6"+
"\4\0\1\6\2\0\1\7\7\0\1\6\4\0\1\6\5\0\27\6"+
"\1\0\37\6\1\0\u01ca\6\4\0\14\6\16\0\5\6\7\0\1\6"+
"\1\0\1\6\21\0\160\7\5\6\1\0\2\6\2\0\4\6\10\0"+
"\1\6\1\0\3\6\1\0\1\6\1\0\24\6\1\0\123\6\1\0"+
"\213\6\1\0\5\7\2\0\236\6\11\0\46\6\2\0\1\6\7\0"+
"\47\6\7\0\1\6\1\0\55\7\1\0\1\7\1\0\2\7\1\0"+
"\2\7\1\0\1\7\10\0\33\6\5\0\3\6\15\0\5\7\6\0"+
"\1\6\4\0\13\7\5\0\53\6\37\7\4\0\2\6\1\7\143\6"+
"\1\0\1\6\10\7\1\0\6\7\2\6\2\7\1\0\4\7\2\6"+
"\12\7\3\6\2\0\1\6\17\0\1\7\1\6\1\7\36\6\33\7"+
"\2\0\131\6\13\7\1\6\16\0\12\7\41\6\11\7\2\6\4\0"+
"\1\6\5\0\26\6\4\7\1\6\11\7\1\6\3\7\1\6\5\7"+
"\22\0\31\6\3\7\104\0\1\6\1\0\13\6\67\0\33\7\1\0"+
"\4\7\66\6\3\7\1\6\22\7\1\6\7\7\12\6\2\7\2\0"+
"\12\7\1\0\7\6\1\0\7\6\1\0\3\7\1\0\10\6\2\0"+
"\2\6\2\0\26\6\1\0\7\6\1\0\1\6\3\0\4\6\2\0"+
"\1\7\1\6\7\7\2\0\2\7\2\0\3\7\1\6\10\0\1\7"+
"\4\0\2\6\1\0\3\6\2\7\2\0\12\7\4\6\7\0\1\6"+
"\5\0\3\7\1\0\6\6\4\0\2\6\2\0\26\6\1\0\7\6"+
"\1\0\2\6\1\0\2\6\1\0\2\6\2\0\1\7\1\0\5\7"+
"\4\0\2\7\2\0\3\7\3\0\1\7\7\0\4\6\1\0\1\6"+
"\7\0\14\7\3\6\1\7\13\0\3\7\1\0\11\6\1\0\3\6"+
"\1\0\26\6\1\0\7\6\1\0\2\6\1\0\5\6\2\0\1\7"+
"\1\6\10\7\1\0\3\7\1\0\3\7\2\0\1\6\17\0\2\6"+
"\2\7\2\0\12\7\1\0\1\6\17\0\3\7\1\0\10\6\2\0"+
"\2\6\2\0\26\6\1\0\7\6\1\0\2\6\1\0\5\6\2\0"+
"\1\7\1\6\7\7\2\0\2\7\2\0\3\7\10\0\2\7\4\0"+
"\2\6\1\0\3\6\2\7\2\0\12\7\1\0\1\6\20\0\1\7"+
"\1\6\1\0\6\6\3\0\3\6\1\0\4\6\3\0\2\6\1\0"+
"\1\6\1\0\2\6\3\0\2\6\3\0\3\6\3\0\14\6\4\0"+
"\5\7\3\0\3\7\1\0\4\7\2\0\1\6\6\0\1\7\16\0"+
"\12\7\11\0\1\6\7\0\3\7\1\0\10\6\1\0\3\6\1\0"+
"\27\6\1\0\12\6\1\0\5\6\3\0\1\6\7\7\1\0\3\7"+
"\1\0\4\7\7\0\2\7\1\0\2\6\6\0\2\6\2\7\2\0"+
"\12\7\22\0\2\7\1\0\10\6\1\0\3\6\1\0\27\6\1\0"+
"\12\6\1\0\5\6\2\0\1\7\1\6\7\7\1\0\3\7\1\0"+
"\4\7\7\0\2\7\7\0\1\6\1\0\2\6\2\7\2\0\12\7"+
"\1\0\2\6\17\0\2\7\1\0\10\6\1\0\3\6\1\0\51\6"+
"\2\0\1\6\7\7\1\0\3\7\1\0\4\7\1\6\10\0\1\7"+
"\10\0\2\6\2\7\2\0\12\7\12\0\6\6\2\0\2\7\1\0"+
"\22\6\3\0\30\6\1\0\11\6\1\0\1\6\2\0\7\6\3\0"+
"\1\7\4\0\6\7\1\0\1\7\1\0\10\7\22\0\2\7\15\0"+
"\60\6\1\7\2\6\7\7\4\0\10\6\10\7\1\0\12\7\47\0"+
"\2\6\1\0\1\6\2\0\2\6\1\0\1\6\2\0\1\6\6\0"+
"\4\6\1\0\7\6\1\0\3\6\1\0\1\6\1\0\1\6\2\0"+
"\2\6\1\0\4\6\1\7\2\6\6\7\1\0\2\7\1\6\2\0"+
"\5\6\1\0\1\6\1\0\6\7\2\0\12\7\2\0\4\6\40\0"+
"\1\6\27\0\2\7\6\0\12\7\13\0\1\7\1\0\1\7\1\0"+
"\1\7\4\0\2\7\10\6\1\0\44\6\4\0\24\7\1\0\2\7"+
"\5\6\13\7\1\0\44\7\11\0\1\7\71\0\53\6\24\7\1\6"+
"\12\7\6\0\6\6\4\7\4\6\3\7\1\6\3\7\2\6\7\7"+
"\3\6\4\7\15\6\14\7\1\6\17\7\2\0\46\6\1\0\1\6"+
"\5\0\1\6\2\0\53\6\1\0\u014d\6\1\0\4\6\2\0\7\6"+
"\1\0\1\6\1\0\4\6\2\0\51\6\1\0\4\6\2\0\41\6"+
"\1\0\4\6\2\0\7\6\1\0\1\6\1\0\4\6\2\0\17\6"+
"\1\0\71\6\1\0\4\6\2\0\103\6\2\0\3\7\40\0\20\6"+
"\20\0\125\6\14\0\u026c\6\2\0\21\6\1\0\32\6\5\0\113\6"+
"\3\0\3\6\17\0\15\6\1\0\4\6\3\7\13\0\22\6\3\7"+
"\13\0\22\6\2\7\14\0\15\6\1\0\3\6\1\0\2\7\14\0"+
"\64\6\40\7\3\0\1\6\3\0\2\6\1\7\2\0\12\7\41\0"+
"\3\7\2\0\12\7\6\0\130\6\10\0\51\6\1\7\1\6\5\0"+
"\106\6\12\0\35\6\3\0\14\7\4\0\14\7\12\0\12\7\36\6"+
"\2\0\5\6\13\0\54\6\4\0\21\7\7\6\2\7\6\0\12\7"+
"\46\0\27\6\5\7\4\0\65\6\12\7\1\0\35\7\2\0\13\7"+
"\6\0\12\7\15\0\1\6\130\0\5\7\57\6\21\7\7\6\4\0"+
"\12\7\21\0\11\7\14\0\3\7\36\6\15\7\2\6\12\7\54\6"+
"\16\7\14\0\44\6\24\7\10\0\12\7\3\0\3\6\12\7\44\6"+
"\122\0\3\7\1\0\25\7\4\6\1\7\4\6\3\7\2\6\11\0"+
"\300\6\47\7\25\0\4\7\u0116\6\2\0\6\6\2\0\46\6\2\0"+
"\6\6\2\0\10\6\1\0\1\6\1\0\1\6\1\0\1\6\1\0"+
"\37\6\2\0\65\6\1\0\7\6\1\0\1\6\3\0\3\6\1\0"+
"\7\6\3\0\4\6\2\0\6\6\4\0\15\6\5\0\3\6\1\0"+
"\7\6\16\0\5\7\32\0\5\7\20\0\2\6\23\0\1\6\13\0"+
"\5\7\5\0\6\7\1\0\1\6\15\0\1\6\20\0\15\6\3\0"+
"\33\6\25\0\15\7\4\0\1\7\3\0\14\7\21\0\1\6\4\0"+
"\1\6\2\0\12\6\1\0\1\6\3\0\5\6\6\0\1\6\1\0"+
"\1\6\1\0\1\6\1\0\4\6\1\0\13\6\2\0\4\6\5\0"+
"\5\6\4\0\1\6\21\0\51\6\u0a77\0\57\6\1\0\57\6\1\0"+
"\205\6\6\0\4\6\3\7\2\6\14\0\46\6\1\0\1\6\5\0"+
"\1\6\2\0\70\6\7\0\1\6\17\0\1\7\27\6\11\0\7\6"+
"\1\0\7\6\1\0\7\6\1\0\7\6\1\0\7\6\1\0\7\6"+
"\1\0\7\6\1\0\7\6\1\0\40\7\57\0\1\6\u01d5\0\3\6"+
"\31\0\11\6\6\7\1\0\5\6\2\0\5\6\4\0\126\6\2\0"+
"\2\7\2\0\3\6\1\0\132\6\1\0\4\6\5\0\51\6\3\0"+
"\136\6\21\0\33\6\65\0\20\6\u0200\0\u19b6\6\112\0\u51cd\6\63\0"+
"\u048d\6\103\0\56\6\2\0\u010d\6\3\0\20\6\12\7\2\6\24\0"+
"\57\6\1\7\4\0\12\7\1\0\31\6\7\0\1\7\120\6\2\7"+
"\45\0\11\6\2\0\147\6\2\0\4\6\1\0\4\6\14\0\13\6"+
"\115\0\12\6\1\7\3\6\1\7\4\6\1\7\27\6\5\7\20\0"+
"\1\6\7\0\64\6\14\0\2\7\62\6\21\7\13\0\12\7\6\0"+
"\22\7\6\6\3\0\1\6\4\0\12\7\34\6\10\7\2\0\27\6"+
"\15\7\14\0\35\6\3\0\4\7\57\6\16\7\16\0\1\6\12\7"+
"\46\0\51\6\16\7\11\0\3\6\1\7\10\6\2\7\2\0\12\7"+
"\6\0\27\6\3\0\1\6\1\7\4\0\60\6\1\7\1\6\3\7"+
"\2\6\2\7\5\6\2\7\1\6\1\7\1\6\30\0\3\6\2\0"+
"\13\6\5\7\2\0\3\6\2\7\12\0\6\6\2\0\6\6\2\0"+
"\6\6\11\0\7\6\1\0\7\6\221\0\43\6\10\7\1\0\2\7"+
"\2\0\12\7\6\0\u2ba4\6\14\0\27\6\4\0\61\6\u2104\0\u016e\6"+
"\2\0\152\6\46\0\7\6\14\0\5\6\5\0\1\6\1\7\12\6"+
"\1\0\15\6\1\0\5\6\1\0\1\6\1\0\2\6\1\0\2\6"+
"\1\0\154\6\41\0\u016b\6\22\0\100\6\2\0\66\6\50\0\15\6"+
"\3\0\20\7\20\0\7\7\14\0\2\6\30\0\3\6\31\0\1\6"+
"\6\0\5\6\1\0\207\6\2\0\1\7\4\0\1\6\13\0\12\7"+
"\7\0\32\6\4\0\1\6\1\0\32\6\13\0\131\6\3\0\6\6"+
"\2\0\6\6\2\0\6\6\2\0\3\6\3\0\2\6\3\0\2\6"+
"\22\0\3\7\4\0";
/**
* Translates characters to character classes
*/
private static final char [] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED);
/**
* Translates DFA states to action switch labels.
*/
private static final int [] ZZ_ACTION = zzUnpackAction();
private static final String ZZ_ACTION_PACKED_0 =
"\2\0\4\1\1\2\2\3\1\2\1\4\1\2\1\5"+
"\27\2\1\4\1\6\2\7\1\10\1\1\1\11\1\0"+
"\3\3\1\0\3\3\1\0\40\2\1\12\2\6\2\11"+
"\2\0\4\3\1\0\2\2\1\13\31\2\1\6\1\0"+
"\2\3\7\2\1\14\17\2\2\3\1\15\15\2\2\3"+
"\6\2\1\14\1\2\2\3\4\2\1\16\2\3\2\2"+
"\2\3\3\2\2\3\2\2\1\0\1\3\1\0\1\3"+
"\1\0\1\3\1\0\1\3\1\0\1\3\1\0\1\3"+
"\1\0\1\3\1\0\5\3";
private static int [] zzUnpackAction() {
int [] result = new int[217];
int offset = 0;
offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result);
return result;
}
private static int zzUnpackAction(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
do result[j++] = value; while (--count > 0);
}
return j;
}
/**
* Translates a state to a row index in the transition table
*/
private static final int [] ZZ_ROWMAP = zzUnpackRowMap();
private static final String ZZ_ROWMAP_PACKED_0 =
"\0\0\0\75\0\172\0\267\0\364\0\u0131\0\u016e\0\u01ab"+
"\0\u01e8\0\u0225\0\u0262\0\u029f\0\172\0\u02dc\0\u0319\0\u0356"+
"\0\u0393\0\u03d0\0\u040d\0\u044a\0\u0487\0\u04c4\0\u0501\0\u053e"+
"\0\u057b\0\u05b8\0\u05f5\0\u0632\0\u066f\0\u06ac\0\u06e9\0\u0726"+
"\0\u0763\0\u07a0\0\u07dd\0\u081a\0\172\0\u0857\0\u0894\0\172"+
"\0\172\0\u08d1\0\u090e\0\u094b\0\u0988\0\u09c5\0\172\0\u0a02"+
"\0\u0a3f\0\u0a7c\0\u0ab9\0\u0af6\0\u0b33\0\u0b70\0\u0bad\0\u0bea"+
"\0\u0c27\0\u0c64\0\u0ca1\0\u0cde\0\u0d1b\0\u0d58\0\u0d95\0\u0dd2"+
"\0\u0e0f\0\u0e4c\0\u0e89\0\u0ec6\0\u0f03\0\u0f40\0\u0f7d\0\u0fba"+
"\0\u0ff7\0\u1034\0\u1071\0\u10ae\0\u10eb\0\u1128\0\u1165\0\u11a2"+
"\0\u11df\0\u121c\0\u1259\0\u1296\0\172\0\u12d3\0\u1310\0\u134d"+
"\0\172\0\u138a\0\u13c7\0\u1404\0\u1441\0\u147e\0\u14bb\0\u14f8"+
"\0\u1535\0\u1572\0\u016e\0\u15af\0\u15ec\0\u1629\0\u1666\0\u16a3"+
"\0\u16e0\0\u171d\0\u175a\0\u1797\0\u17d4\0\u1811\0\u184e\0\u188b"+
"\0\u18c8\0\u1905\0\u1942\0\u197f\0\u19bc\0\u19f9\0\u1a36\0\u1a73"+
"\0\u1ab0\0\u1aed\0\u1b2a\0\u1b67\0\172\0\u1ba4\0\u1be1\0\u1c1e"+
"\0\u1c5b\0\u1c98\0\u1cd5\0\u1d12\0\u1d4f\0\u1d8c\0\u1dc9\0\u016e"+
"\0\u1e06\0\u1e43\0\u1e80\0\u1ebd\0\u1efa\0\u1f37\0\u1f74\0\u1fb1"+
"\0\u1fee\0\u202b\0\u2068\0\u20a5\0\u20e2\0\u211f\0\u215c\0\u2199"+
"\0\u21d6\0\u016e\0\u2213\0\u2250\0\u228d\0\u22ca\0\u2307\0\u2344"+
"\0\u2381\0\u23be\0\u23fb\0\u2438\0\u2475\0\u24b2\0\u24ef\0\u252c"+
"\0\u2569\0\u25a6\0\u25e3\0\u2620\0\u265d\0\u269a\0\u26d7\0\u2714"+
"\0\u2751\0\u278e\0\u27cb\0\u2808\0\u2845\0\u2882\0\u28bf\0\u016e"+
"\0\u28fc\0\u2939\0\u2976\0\u29b3\0\u29f0\0\u2a2d\0\u2a6a\0\u2aa7"+
"\0\u2ae4\0\u2b21\0\u2b5e\0\u2b9b\0\u2bd8\0\u2c15\0\u2c52\0\u2c8f"+
"\0\u2ccc\0\u2d09\0\u2d46\0\u2d83\0\u2dc0\0\u2dfd\0\u2e3a\0\u2e77"+
"\0\u2eb4\0\u2ef1\0\u2f2e\0\u2f6b\0\u2fa8\0\u2fe5\0\u3022\0\u305f"+
"\0\u309c";
private static int [] zzUnpackRowMap() {
int [] result = new int[217];
int offset = 0;
offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result);
return result;
}
private static int zzUnpackRowMap(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int high = packed.charAt(i++) << 16;
result[j++] = high | packed.charAt(i++);
}
return j;
}
/**
* The transition table of the DFA
*/
private static final int [] ZZ_TRANS = zzUnpackTrans();
private static final String ZZ_TRANS_PACKED_0 =
"\1\3\1\4\1\3\1\5\1\6\1\3\1\7\1\3"+
"\1\10\1\11\3\7\3\11\1\12\1\13\1\14\1\3"+
"\1\15\1\3\1\16\1\7\1\17\1\20\1\21\1\22"+
"\1\23\2\7\1\24\1\25\1\26\1\27\6\7\1\30"+
"\1\31\1\7\1\32\1\33\1\34\1\7\1\35\1\7"+
"\1\36\1\37\1\40\1\41\1\7\1\42\1\7\1\43"+
"\1\44\1\7\1\45\1\46\1\47\1\50\21\46\1\51"+
"\1\52\47\46\77\0\1\3\75\0\1\5\75\0\1\53"+
"\1\54\75\0\13\7\1\0\1\7\3\0\46\7\11\0"+
"\1\55\1\56\1\57\1\60\1\0\1\61\1\62\1\61"+
"\1\57\1\63\1\64\4\0\1\64\2\0\1\57\12\0"+
"\1\57\3\0\1\57\3\0\1\57\27\0\2\11\1\57"+
"\2\0\3\11\1\57\1\63\1\64\4\0\1\64\2\0"+
"\1\57\12\0\1\57\3\0\1\57\3\0\1\57\25\0"+
"\13\7\1\0\1\7\3\0\17\7\1\65\26\7\11\0"+
"\2\63\3\0\3\63\63\0\13\7\1\0\1\7\3\0"+
"\43\7\1\66\2\7\7\0\13\7\1\0\1\7\3\0"+
"\1\7\1\67\44\7\7\0\13\7\1\0\1\7\3\0"+
"\5\7\1\70\40\7\7\0\13\7\1\0\1\7\3\0"+
"\2\7\1\71\1\7\1\72\41\7\7\0\13\7\1\0"+
"\1\7\3\0\1\7\1\71\44\7\7\0\13\7\1\0"+
"\1\7\3\0\1\7\1\73\44\7\7\0\13\7\1\0"+
"\1\7\3\0\7\7\1\74\36\7\7\0\13\7\1\0"+
"\1\7\3\0\12\7\1\75\33\7\7\0\13\7\1\0"+
"\1\7\3\0\13\7\1\76\32\7\7\0\13\7\1\0"+
"\1\7\3\0\1\7\1\77\1\7\1\100\10\7\1\101"+
"\31\7\7\0\13\7\1\0\1\7\3\0\13\7\1\102"+
"\32\7\7\0\13\7\1\0\1\7\3\0\3\7\1\103"+
"\42\7\7\0\13\7\1\0\1\7\3\0\7\7\1\104"+
"\15\7\1\105\20\7\7\0\13\7\1\0\1\7\3\0"+
"\7\7\1\106\6\7\1\107\1\110\26\7\7\0\13\7"+
"\1\0\1\7\3\0\7\7\1\111\36\7\7\0\13\7"+
"\1\0\1\7\3\0\13\7\1\112\32\7\7\0\13\7"+
"\1\0\1\7\3\0\11\7\1\113\34\7\7\0\13\7"+
"\1\0\1\7\3\0\1\7\1\114\1\115\13\7\1\116"+
"\27\7\7\0\13\7\1\0\1\7\3\0\7\7\1\117"+
"\36\7\7\0\13\7\1\0\1\7\3\0\14\7\1\120"+
"\31\7\7\0\13\7\1\0\1\7\3\0\3\7\1\121"+
"\42\7\7\0\13\7\1\0\1\7\3\0\16\7\1\122"+
"\27\7\7\0\13\7\1\0\1\7\3\0\14\7\1\123"+
"\31\7\7\0\6\7\1\124\4\7\1\0\1\7\3\0"+
"\46\7\1\0\1\46\2\0\21\46\2\0\47\46\2\0"+
"\1\50\72\0\2\125\1\0\5\125\1\126\4\125\2\126"+
"\1\127\55\125\1\53\1\130\1\131\72\53\5\132\1\133"+
"\67\132\10\0\1\55\1\56\1\57\2\0\1\61\1\62"+
"\1\61\1\57\1\63\1\64\4\0\1\64\2\0\1\57"+
"\12\0\1\57\3\0\1\57\3\0\1\57\27\0\2\56"+
"\3\0\3\56\1\57\1\63\1\64\4\0\1\64\2\0"+
"\1\57\16\0\1\57\3\0\1\57\27\0\1\134\1\135"+
"\2\0\5\135\1\0\1\135\4\0\1\135\1\0\2\135"+
"\4\0\1\135\3\0\1\135\5\0\2\135\1\0\2\135"+
"\27\0\1\136\1\56\1\57\2\0\3\136\1\57\1\63"+
"\1\64\4\0\1\64\2\0\1\57\12\0\1\57\3\0"+
"\1\57\3\0\1\57\27\0\1\61\1\56\1\57\2\0"+
"\3\61\1\57\1\63\1\64\4\0\1\64\2\0\1\57"+
"\12\0\1\57\3\0\1\57\3\0\1\57\27\0\2\63"+
"\3\0\3\63\1\57\1\0\1\64\4\0\1\64\2\0"+
"\1\57\16\0\1\57\3\0\1\57\27\0\2\137\3\0"+
"\3\137\3\0\1\140\57\0\13\7\1\0\1\7\3\0"+
"\7\7\1\141\36\7\7\0\13\7\1\0\1\7\3\0"+
"\43\7\1\142\2\7\7\0\13\7\1\0\1\7\3\0"+
"\2\7\1\143\43\7\7\0\13\7\1\0\1\7\3\0"+
"\14\7\1\144\31\7\7\0\13\7\1\0\1\7\3\0"+
"\2\7\1\145\43\7\7\0\13\7\1\0\1\7\3\0"+
"\4\7\1\143\41\7\7\0\13\7\1\0\1\7\3\0"+
"\6\7\1\23\37\7\7\0\13\7\1\0\1\7\3\0"+
"\10\7\1\144\35\7\7\0\13\7\1\0\1\7\3\0"+
"\13\7\1\72\32\7\7\0\13\7\1\0\1\7\3\0"+
"\15\7\1\146\30\7\7\0\13\7\1\0\1\7\3\0"+
"\2\7\1\147\43\7\7\0\13\7\1\0\1\7\3\0"+
"\6\7\1\150\37\7\7\0\13\7\1\0\1\7\3\0"+
"\17\7\1\151\26\7\7\0\13\7\1\0\1\7\3\0"+
"\11\7\1\24\34\7\7\0\13\7\1\0\1\7\3\0"+
"\17\7\1\152\26\7\7\0\13\7\1\0\1\7\3\0"+
"\7\7\1\153\36\7\7\0\13\7\1\0\1\7\3\0"+
"\2\7\1\154\43\7\7\0\13\7\1\0\1\7\3\0"+
"\6\7\1\155\37\7\7\0\13\7\1\0\1\7\3\0"+
"\3\7\1\156\42\7\7\0\13\7\1\0\1\7\3\0"+
"\3\7\1\157\3\7\1\160\36\7\7\0\13\7\1\0"+
"\1\7\3\0\14\7\1\161\31\7\7\0\13\7\1\0"+
"\1\7\3\0\2\7\1\162\43\7\7\0\13\7\1\0"+
"\1\7\3\0\33\7\1\163\12\7\7\0\13\7\1\0"+
"\1\7\3\0\5\7\1\164\40\7\7\0\13\7\1\0"+
"\1\7\3\0\5\7\1\165\40\7\7\0\13\7\1\0"+
"\1\7\3\0\7\7\1\166\36\7\7\0\13\7\1\0"+
"\1\7\3\0\12\7\1\167\33\7\7\0\13\7\1\0"+
"\1\7\3\0\6\7\1\170\37\7\7\0\13\7\1\0"+
"\1\7\3\0\15\7\1\171\30\7\7\0\13\7\1\0"+
"\1\7\3\0\5\7\1\172\40\7\7\0\13\7\1\0"+
"\1\7\3\0\13\7\1\173\32\7\7\0\13\7\1\0"+
"\1\7\3\0\43\7\1\174\2\7\11\0\1\127\4\0"+
"\3\127\65\0\1\175\4\0\3\175\57\0\1\131\72\0"+
"\5\132\1\176\67\132\4\0\1\131\1\133\77\0\1\134"+
"\1\135\1\57\1\0\5\135\1\0\1\135\4\0\1\135"+
"\1\0\2\135\4\0\1\135\3\0\1\135\1\0\1\57"+
"\3\0\2\135\1\0\2\135\27\0\2\177\1\57\1\0"+
"\5\177\1\0\1\177\4\0\1\177\1\0\2\177\4\0"+
"\1\177\3\0\1\177\1\0\1\57\3\0\2\177\1\0"+
"\2\177\27\0\1\200\1\56\1\57\2\0\3\200\1\57"+
"\1\63\1\64\4\0\1\64\2\0\1\57\12\0\1\57"+
"\3\0\1\57\3\0\1\57\27\0\2\137\3\0\3\137"+
"\1\57\11\0\1\57\16\0\1\57\3\0\1\57\27\0"+
"\2\137\3\0\3\137\63\0\13\7\1\0\1\7\3\0"+
"\3\7\1\201\42\7\7\0\13\7\1\0\1\7\3\0"+
"\32\7\1\202\13\7\7\0\13\7\1\0\1\7\3\0"+
"\1\7\1\143\44\7\7\0\13\7\1\0\1\7\3\0"+
"\3\7\1\203\42\7\7\0\13\7\1\0\1\7\3\0"+
"\17\7\1\204\26\7\7\0\13\7\1\0\1\7\3\0"+
"\20\7\1\205\25\7\7\0\13\7\1\0\1\7\3\0"+
"\1\7\1\206\44\7\7\0\13\7\1\0\1\7\3\0"+
"\17\7\1\143\26\7\7\0\13\7\1\0\1\7\3\0"+
"\1\144\45\7\7\0\13\7\1\0\1\7\3\0\17\7"+
"\1\207\26\7\7\0\13\7\1\0\1\7\3\0\1\7"+
"\1\210\44\7\7\0\13\7\1\0\1\7\3\0\22\7"+
"\1\211\23\7\7\0\13\7\1\0\1\7\3\0\5\7"+
"\1\212\40\7\7\0\13\7\1\0\1\7\3\0\1\213"+
"\45\7\7\0\13\7\1\0\1\7\3\0\13\7\1\214"+
"\32\7\7\0\13\7\1\0\1\7\3\0\11\7\1\215"+
"\34\7\7\0\13\7\1\0\1\7\3\0\1\7\1\216"+
"\44\7\7\0\13\7\1\0\1\7\3\0\1\7\1\217"+
"\44\7\7\0\13\7\1\0\1\7\3\0\12\7\1\220"+
"\33\7\7\0\13\7\1\0\1\7\3\0\12\7\1\221"+
"\33\7\7\0\13\7\1\0\1\7\3\0\5\7\1\201"+
"\40\7\7\0\13\7\1\0\1\7\3\0\4\7\1\210"+
"\41\7\7\0\13\7\1\0\1\7\3\0\11\7\1\222"+
"\34\7\7\0\13\7\1\0\1\7\3\0\21\7\1\223"+
"\24\7\7\0\13\7\1\0\1\7\3\0\1\7\1\224"+
"\5\7\1\225\36\7\7\0\13\7\1\0\1\7\3\0"+
"\13\7\1\226\32\7\7\0\13\7\1\0\1\7\3\0"+
"\36\7\1\227\7\7\1\0\4\132\1\131\1\176\67\132"+
"\10\0\2\230\1\57\1\0\5\230\1\0\1\230\4\0"+
"\1\230\1\0\2\230\4\0\1\230\3\0\1\230\1\0"+
"\1\57\3\0\2\230\1\0\2\230\27\0\1\231\1\56"+
"\1\57\2\0\3\231\1\57\1\63\1\64\4\0\1\64"+
"\2\0\1\57\12\0\1\57\3\0\1\57\3\0\1\57"+
"\25\0\13\7\1\0\1\7\3\0\2\7\1\210\43\7"+
"\7\0\13\7\1\0\1\7\3\0\43\7\1\232\2\7"+
"\7\0\13\7\1\0\1\7\3\0\15\7\1\233\30\7"+
"\7\0\13\7\1\0\1\7\3\0\14\7\1\234\31\7"+
"\7\0\13\7\1\0\1\7\3\0\7\7\1\235\36\7"+
"\7\0\13\7\1\0\1\7\3\0\1\236\45\7\7\0"+
"\13\7\1\0\1\7\3\0\1\7\1\237\44\7\7\0"+
"\13\7\1\0\1\7\3\0\3\7\1\240\42\7\7\0"+
"\13\7\1\0\1\7\3\0\3\7\1\241\30\7\1\242"+
"\11\7\7\0\13\7\1\0\1\7\3\0\1\210\45\7"+
"\7\0\13\7\1\0\1\7\3\0\1\7\1\226\44\7"+
"\7\0\13\7\1\0\1\7\3\0\17\7\1\154\26\7"+
"\7\0\13\7\1\0\1\7\3\0\31\7\1\222\14\7"+
"\7\0\13\7\1\0\1\7\3\0\15\7\1\201\30\7"+
"\7\0\13\7\1\0\1\7\3\0\3\7\1\243\42\7"+
"\7\0\13\7\1\0\1\7\3\0\13\7\1\244\32\7"+
"\7\0\13\7\1\0\1\7\3\0\1\7\1\245\44\7"+
"\7\0\13\7\1\0\1\7\3\0\3\7\1\246\42\7"+
"\7\0\13\7\1\0\1\7\3\0\3\7\1\167\42\7"+
"\7\0\13\7\1\0\1\7\3\0\20\7\1\226\25\7"+
"\7\0\13\7\1\0\1\7\3\0\3\7\1\161\42\7"+
"\7\0\13\7\1\0\1\7\3\0\30\7\1\247\15\7"+
"\11\0\2\250\1\57\1\0\5\250\1\0\1\250\4\0"+
"\1\250\1\0\2\250\4\0\1\250\3\0\1\250\1\0"+
"\1\57\3\0\2\250\1\0\2\250\27\0\1\251\1\56"+
"\1\57\2\0\3\251\1\57\1\63\1\64\4\0\1\64"+
"\2\0\1\57\12\0\1\57\3\0\1\57\3\0\1\57"+
"\25\0\13\7\1\0\1\7\3\0\16\7\1\143\27\7"+
"\7\0\13\7\1\0\1\7\3\0\4\7\1\144\41\7"+
"\7\0\13\7\1\0\1\7\3\0\5\7\1\252\40\7"+
"\7\0\13\7\1\0\1\7\3\0\22\7\1\253\23\7"+
"\7\0\13\7\1\0\1\7\3\0\3\7\1\254\42\7"+
"\7\0\13\7\1\0\1\7\3\0\5\7\1\226\40\7"+
"\7\0\13\7\1\0\1\7\3\0\15\7\1\255\30\7"+
"\7\0\13\7\1\0\1\7\3\0\1\7\1\256\44\7"+
"\7\0\13\7\1\0\1\7\3\0\17\7\1\257\26\7"+
"\7\0\13\7\1\0\1\7\3\0\31\7\1\260\14\7"+
"\7\0\13\7\1\0\1\7\3\0\5\7\1\210\40\7"+
"\7\0\13\7\1\0\1\7\3\0\31\7\1\154\14\7"+
"\7\0\13\7\1\0\1\7\3\0\36\7\1\261\7\7"+
"\11\0\2\262\1\57\1\0\5\262\1\0\1\262\4\0"+
"\1\262\1\0\2\262\4\0\1\262\3\0\1\262\1\0"+
"\1\57\3\0\2\262\1\0\2\262\27\0\1\263\1\56"+
"\1\57\2\0\3\263\1\57\1\63\1\64\4\0\1\64"+
"\2\0\1\57\12\0\1\57\3\0\1\57\3\0\1\57"+
"\25\0\13\7\1\0\1\7\3\0\21\7\1\143\24\7"+
"\7\0\13\7\1\0\1\7\3\0\3\7\1\264\42\7"+
"\7\0\13\7\1\0\1\7\3\0\13\7\1\210\32\7"+
"\7\0\13\7\1\0\1\7\3\0\2\7\1\222\43\7"+
"\7\0\13\7\1\0\1\7\3\0\40\7\1\265\5\7"+
"\7\0\13\7\1\0\1\7\3\0\12\7\1\266\33\7"+
"\7\0\13\7\1\0\1\7\3\0\24\7\1\267\21\7"+
"\7\0\13\7\1\0\1\7\3\0\45\7\1\270\11\0"+
"\2\271\1\57\1\0\5\271\1\0\1\271\4\0\1\271"+
"\1\0\2\271\4\0\1\271\3\0\1\271\1\0\1\57"+
"\3\0\2\271\1\0\2\271\27\0\1\272\1\56\1\57"+
"\2\0\3\272\1\57\1\63\1\64\4\0\1\64\2\0"+
"\1\57\12\0\1\57\3\0\1\57\3\0\1\57\25\0"+
"\13\7\1\0\1\7\3\0\15\7\1\144\30\7\7\0"+
"\13\7\1\0\1\7\3\0\14\7\1\273\31\7\7\0"+
"\13\7\1\0\1\7\3\0\42\7\1\226\3\7\7\0"+
"\13\7\1\0\1\7\3\0\14\7\1\274\31\7\11\0"+
"\2\275\1\57\1\0\5\275\1\0\1\275\4\0\1\275"+
"\1\0\2\275\4\0\1\275\3\0\1\275\1\0\1\57"+
"\3\0\2\275\1\0\2\275\27\0\1\276\1\56\1\57"+
"\2\0\3\276\1\57\1\63\1\64\4\0\1\64\2\0"+
"\1\57\12\0\1\57\3\0\1\57\3\0\1\57\25\0"+
"\13\7\1\0\1\7\3\0\1\7\1\277\44\7\7\0"+
"\13\7\1\0\1\7\3\0\12\7\1\300\10\7\1\301"+
"\22\7\11\0\2\302\1\57\1\0\5\302\1\0\1\302"+
"\4\0\1\302\1\0\2\302\4\0\1\302\3\0\1\302"+
"\1\0\1\57\3\0\2\302\1\0\2\302\27\0\1\303"+
"\1\56\1\57\2\0\3\303\1\57\1\63\1\64\4\0"+
"\1\64\2\0\1\57\12\0\1\57\3\0\1\57\3\0"+
"\1\57\25\0\13\7\1\0\1\7\3\0\13\7\1\304"+
"\32\7\7\0\13\7\1\0\1\7\3\0\17\7\1\305"+
"\26\7\7\0\13\7\1\0\1\7\3\0\23\7\1\222"+
"\22\7\11\0\2\306\1\57\1\0\5\306\1\0\1\306"+
"\4\0\1\306\1\0\2\306\4\0\1\306\3\0\1\306"+
"\1\0\1\57\3\0\2\306\1\0\2\306\27\0\1\307"+
"\1\56\1\57\2\0\3\307\1\57\1\63\1\64\4\0"+
"\1\64\2\0\1\57\12\0\1\57\3\0\1\57\3\0"+
"\1\57\25\0\13\7\1\0\1\7\3\0\15\7\1\154"+
"\30\7\7\0\13\7\1\0\1\7\3\0\4\7\1\222"+
"\41\7\11\0\2\310\1\57\1\0\5\310\1\0\1\310"+
"\4\0\1\310\1\0\2\310\4\0\1\310\3\0\1\310"+
"\1\0\1\57\3\0\2\310\1\0\2\310\27\0\1\311"+
"\1\56\1\57\2\0\3\311\1\57\1\63\1\64\4\0"+
"\1\64\2\0\1\57\12\0\1\57\3\0\1\57\3\0"+
"\1\57\27\0\2\312\1\57\1\0\5\312\1\0\1\312"+
"\4\0\1\312\1\0\2\312\4\0\1\312\3\0\1\312"+
"\1\0\1\57\3\0\2\312\1\0\2\312\27\0\1\313"+
"\1\56\1\57\2\0\3\313\1\57\1\63\1\64\4\0"+
"\1\64\2\0\1\57\12\0\1\57\3\0\1\57\3\0"+
"\1\57\27\0\2\314\1\57\1\0\5\314\1\0\1\314"+
"\4\0\1\314\1\0\2\314\4\0\1\314\3\0\1\314"+
"\1\0\1\57\3\0\2\314\1\0\2\314\27\0\1\315"+
"\1\56\1\57\2\0\3\315\1\57\1\63\1\64\4\0"+
"\1\64\2\0\1\57\12\0\1\57\3\0\1\57\3\0"+
"\1\57\27\0\2\316\1\57\1\0\5\316\1\0\1\316"+
"\4\0\1\316\1\0\2\316\4\0\1\316\3\0\1\316"+
"\1\0\1\57\3\0\2\316\1\0\2\316\27\0\1\317"+
"\1\56\1\57\2\0\3\317\1\57\1\63\1\64\4\0"+
"\1\64\2\0\1\57\12\0\1\57\3\0\1\57\3\0"+
"\1\57\27\0\2\320\1\57\1\0\5\320\1\0\1\320"+
"\4\0\1\320\1\0\2\320\4\0\1\320\3\0\1\320"+
"\1\0\1\57\3\0\2\320\1\0\2\320\27\0\1\321"+
"\1\56\1\57\2\0\3\321\1\57\1\63\1\64\4\0"+
"\1\64\2\0\1\57\12\0\1\57\3\0\1\57\3\0"+
"\1\57\27\0\2\322\1\57\1\0\5\322\1\0\1\322"+
"\4\0\1\322\1\0\2\322\4\0\1\322\3\0\1\322"+
"\1\0\1\57\3\0\2\322\1\0\2\322\27\0\1\323"+
"\1\56\1\57\2\0\3\323\1\57\1\63\1\64\4\0"+
"\1\64\2\0\1\57\12\0\1\57\3\0\1\57\3\0"+
"\1\57\27\0\2\324\1\57\1\0\5\324\1\0\1\324"+
"\4\0\1\324\1\0\2\324\4\0\1\324\3\0\1\324"+
"\1\0\1\57\3\0\2\324\1\0\2\324\27\0\1\325"+
"\1\56\1\57\2\0\3\325\1\57\1\63\1\64\4\0"+
"\1\64\2\0\1\57\12\0\1\57\3\0\1\57\3\0"+
"\1\57\31\0\1\57\32\0\1\57\37\0\1\326\1\56"+
"\1\57\2\0\3\326\1\57\1\63\1\64\4\0\1\64"+
"\2\0\1\57\12\0\1\57\3\0\1\57\3\0\1\57"+
"\27\0\1\327\1\56\1\57\2\0\3\327\1\57\1\63"+
"\1\64\4\0\1\64\2\0\1\57\12\0\1\57\3\0"+
"\1\57\3\0\1\57\27\0\1\330\1\56\1\57\2\0"+
"\3\330\1\57\1\63\1\64\4\0\1\64\2\0\1\57"+
"\12\0\1\57\3\0\1\57\3\0\1\57\27\0\1\331"+
"\1\56\1\57\2\0\3\331\1\57\1\63\1\64\4\0"+
"\1\64\2\0\1\57\12\0\1\57\3\0\1\57\3\0"+
"\1\57\27\0\2\56\1\57\2\0\3\56\1\57\1\63"+
"\1\64\4\0\1\64\2\0\1\57\12\0\1\57\3\0"+
"\1\57\3\0\1\57\17\0";
private static int [] zzUnpackTrans() {
int [] result = new int[12505];
int offset = 0;
offset = zzUnpackTrans(ZZ_TRANS_PACKED_0, offset, result);
return result;
}
private static int zzUnpackTrans(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
value--;
do result[j++] = value; while (--count > 0);
}
return j;
}
/* error codes */
private static final int ZZ_UNKNOWN_ERROR = 0;
private static final int ZZ_NO_MATCH = 1;
private static final int ZZ_PUSHBACK_2BIG = 2;
/* error messages for the codes above */
private static final String ZZ_ERROR_MSG[] = {
"Unkown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
/**
* ZZ_ATTRIBUTE[aState] contains the attributes of state aState
*/
private static final int [] ZZ_ATTRIBUTE = zzUnpackAttribute();
private static final String ZZ_ATTRIBUTE_PACKED_0 =
"\2\0\1\11\11\1\1\11\27\1\1\11\2\1\2\11"+
"\2\1\1\0\2\1\1\11\1\0\3\1\1\0\40\1"+
"\1\11\3\1\1\11\2\0\4\1\1\0\34\1\1\11"+
"\1\0\107\1\1\0\1\1\1\0\1\1\1\0\1\1"+
"\1\0\1\1\1\0\1\1\1\0\1\1\1\0\1\1"+
"\1\0\5\1";
private static int [] zzUnpackAttribute() {
int [] result = new int[217];
int offset = 0;
offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result);
return result;
}
private static int zzUnpackAttribute(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
do result[j++] = value; while (--count > 0);
}
return j;
}
/** the input device */
private java.io.Reader zzReader;
/** the current state of the DFA */
private int zzState;
/** the current lexical state */
private int zzLexicalState = YYINITIAL;
/** this buffer contains the current text to be matched and is
the source of the yytext() string */
private char zzBuffer[] = new char[ZZ_BUFFERSIZE];
/** the textposition at the last accepting state */
private int zzMarkedPos;
/** the current text position in the buffer */
private int zzCurrentPos;
/** startRead marks the beginning of the yytext() string in the buffer */
private int zzStartRead;
/** endRead marks the last character in the buffer, that has been read
from input */
private int zzEndRead;
/** number of newlines encountered up to the start of the matched text */
private int yyline;
/** the number of characters up to the start of the matched text */
private int yychar;
/**
* the number of characters from the last newline up to the start of the
* matched text
*/
private int yycolumn;
/**
* zzAtBOL == true <=> the scanner is currently at the beginning of a line
*/
private boolean zzAtBOL = true;
/** zzAtEOF == true <=> the scanner is at the EOF */
private boolean zzAtEOF;
/** denotes if the user-EOF-code has already been executed */
private boolean zzEOFDone;
/* user code: */
/**
* Create an empty lexer, yyrset will be called later to reset and assign
* the reader
*/
public KevScriptLexer() {
super();
}
@Override
public int yychar() {
return yychar;
}
private static final byte PARAN = 1;
private static final byte BRACKET = 2;
private static final byte CURLY = 3;
/**
* Creates a new scanner
* There is also a java.io.InputStream version of this constructor.
*
* @param in the java.io.Reader to read input from.
*/
public KevScriptLexer(java.io.Reader in) {
this.zzReader = in;
}
/**
* Creates a new scanner.
* There is also java.io.Reader version of this constructor.
*
* @param in the java.io.Inputstream to read input from.
*/
public KevScriptLexer(java.io.InputStream in) {
this(new java.io.InputStreamReader(in));
}
/**
* Unpacks the compressed character translation table.
*
* @param packed the packed character translation table
* @return the unpacked character translation table
*/
private static char [] zzUnpackCMap(String packed) {
char [] map = new char[0x10000];
int i = 0; /* index in packed string */
int j = 0; /* index in unpacked array */
while (i < 2286) {
int count = packed.charAt(i++);
char value = packed.charAt(i++);
do map[j++] = value; while (--count > 0);
}
return map;
}
/**
* Refills the input buffer.
*
* @return false
, iff there was new input.
*
* @exception java.io.IOException if any I/O-Error occurs
*/
private boolean zzRefill() throws java.io.IOException {
/* first: make room (if you can) */
if (zzStartRead > 0) {
System.arraycopy(zzBuffer, zzStartRead,
zzBuffer, 0,
zzEndRead-zzStartRead);
/* translate stored positions */
zzEndRead-= zzStartRead;
zzCurrentPos-= zzStartRead;
zzMarkedPos-= zzStartRead;
zzStartRead = 0;
}
/* is the buffer big enough? */
if (zzCurrentPos >= zzBuffer.length) {
/* if not: blow it up */
char newBuffer[] = new char[zzCurrentPos*2];
System.arraycopy(zzBuffer, 0, newBuffer, 0, zzBuffer.length);
zzBuffer = newBuffer;
}
/* finally: fill the buffer with new input */
int numRead = zzReader.read(zzBuffer, zzEndRead,
zzBuffer.length-zzEndRead);
if (numRead > 0) {
zzEndRead+= numRead;
return false;
}
// unlikely but not impossible: read 0 characters, but not at end of stream
if (numRead == 0) {
int c = zzReader.read();
if (c == -1) {
return true;
} else {
zzBuffer[zzEndRead++] = (char) c;
return false;
}
}
// numRead < 0
return true;
}
/**
* Closes the input stream.
*/
public final void yyclose() throws java.io.IOException {
zzAtEOF = true; /* indicate end of file */
zzEndRead = zzStartRead; /* invalidate buffer */
if (zzReader != null)
zzReader.close();
}
/**
* Resets the scanner to read from a new input stream.
* Does not close the old reader.
*
* All internal variables are reset, the old input stream
* cannot be reused (internal buffer is discarded and lost).
* Lexical state is set to ZZ_INITIAL.
*
* @param reader the new input stream
*/
public final void yyreset(java.io.Reader reader) {
zzReader = reader;
zzAtBOL = true;
zzAtEOF = false;
zzEOFDone = false;
zzEndRead = zzStartRead = 0;
zzCurrentPos = zzMarkedPos = 0;
yyline = yychar = yycolumn = 0;
zzLexicalState = YYINITIAL;
}
/**
* Returns the current lexical state.
*/
public final int yystate() {
return zzLexicalState;
}
/**
* Enters a new lexical state
*
* @param newState the new lexical state
*/
public final void yybegin(int newState) {
zzLexicalState = newState;
}
/**
* Returns the text matched by the current regular expression.
*/
public final String yytext() {
return new String( zzBuffer, zzStartRead, zzMarkedPos-zzStartRead );
}
/**
* Returns the character at position pos from the
* matched text.
*
* It is equivalent to yytext().charAt(pos), but faster
*
* @param pos the position of the character to fetch.
* A value from 0 to yylength()-1.
*
* @return the character at position pos
*/
public final char yycharat(int pos) {
return zzBuffer[zzStartRead+pos];
}
/**
* Returns the length of the matched text region.
*/
public final int yylength() {
return zzMarkedPos-zzStartRead;
}
/**
* Reports an error that occured while scanning.
*
* In a wellformed scanner (no or only correct usage of
* yypushback(int) and a match-all fallback rule) this method
* will only be called with things that "Can't Possibly Happen".
* If this method is called, something is seriously wrong
* (e.g. a JFlex bug producing a faulty scanner etc.).
*
* Usual syntax/scanner level error handling should be done
* in error fallback rules.
*
* @param errorCode the code of the errormessage to display
*/
private void zzScanError(int errorCode) {
String message;
try {
message = ZZ_ERROR_MSG[errorCode];
}
catch (ArrayIndexOutOfBoundsException e) {
message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];
}
throw new Error(message);
}
/**
* Pushes the specified amount of characters back into the input stream.
*
* They will be read again by then next call of the scanning method
*
* @param number the number of characters to be read again.
* This number must not be greater than yylength()!
*/
public void yypushback(int number) {
if ( number > yylength() )
zzScanError(ZZ_PUSHBACK_2BIG);
zzMarkedPos -= number;
}
/**
* Resumes scanning until the next regular expression is matched,
* the end of input is encountered or an I/O-Error occurs.
*
* @return the next token
* @exception java.io.IOException if any I/O-Error occurs
*/
public Token yylex() throws java.io.IOException {
int zzInput;
int zzAction;
// cached fields:
int zzCurrentPosL;
int zzMarkedPosL;
int zzEndReadL = zzEndRead;
char [] zzBufferL = zzBuffer;
char [] zzCMapL = ZZ_CMAP;
int [] zzTransL = ZZ_TRANS;
int [] zzRowMapL = ZZ_ROWMAP;
int [] zzAttrL = ZZ_ATTRIBUTE;
while (true) {
zzMarkedPosL = zzMarkedPos;
yychar+= zzMarkedPosL-zzStartRead;
zzAction = -1;
zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL;
zzState = ZZ_LEXSTATE[zzLexicalState];
zzForAction: {
while (true) {
if (zzCurrentPosL < zzEndReadL)
zzInput = zzBufferL[zzCurrentPosL++];
else if (zzAtEOF) {
zzInput = YYEOF;
break zzForAction;
}
else {
// store back cached positions
zzCurrentPos = zzCurrentPosL;
zzMarkedPos = zzMarkedPosL;
boolean eof = zzRefill();
// get translated positions and possibly new buffer
zzCurrentPosL = zzCurrentPos;
zzMarkedPosL = zzMarkedPos;
zzBufferL = zzBuffer;
zzEndReadL = zzEndRead;
if (eof) {
zzInput = YYEOF;
break zzForAction;
}
else {
zzInput = zzBufferL[zzCurrentPosL++];
}
}
int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ];
if (zzNext == -1) break zzForAction;
zzState = zzNext;
int zzAttributes = zzAttrL[zzState];
if ( (zzAttributes & 1) == 1 ) {
zzAction = zzState;
zzMarkedPosL = zzCurrentPosL;
if ( (zzAttributes & 8) == 8 ) break zzForAction;
}
}
}
// store back cached position
zzMarkedPos = zzMarkedPosL;
switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) {
case 11:
{ return token(TokenType.KEYWORD);
}
case 15: break;
case 5:
{ yybegin(STRING);
tokenStart = yychar;
tokenLength = 1;
}
case 16: break;
case 4:
{ return token(TokenType.OPERATOR);
}
case 17: break;
case 8:
{ yybegin(YYINITIAL);
// length also includes the trailing quote
return token(TokenType.STRING, tokenStart, tokenLength + 1);
}
case 18: break;
case 10:
{ tokenLength += 2;
}
case 19: break;
case 2:
{ return token(TokenType.IDENTIFIER);
}
case 20: break;
case 13:
{ return token(TokenType.ERROR);
}
case 21: break;
case 9:
{ return token(TokenType.COMMENT);
}
case 22: break;
case 14:
{ return token(TokenType.WARNING);
}
case 23: break;
case 12:
{ return token(TokenType.TYPE);
}
case 24: break;
case 3:
{ return token(TokenType.NUMBER);
}
case 25: break;
case 7:
{ yybegin(YYINITIAL);
}
case 26: break;
case 1:
{
}
case 27: break;
case 6:
{ tokenLength += yylength();
}
case 28: break;
default:
if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
zzAtEOF = true;
{
return null;
}
}
else {
zzScanError(ZZ_NO_MATCH);
}
}
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy