Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/* The following code was generated by JFlex 1.4.3 on 2/08/15 8:21 PM */
package net.ripe.db.whois.common.generated;
import net.ripe.db.whois.common.rpsl.ParserHelper;
/*
filename: default.flex
description:
Defines the tokenizer for an RPSL default attribute. It was mostly
stolen from the IRRToolSet, simplified by removing ability to parse
things defined by a dictionary.
notes:
Tokens are defined in the associated grammar, default.y.
*/
/**
* This class is a scanner generated by
* JFlex 1.4.3
* on 2/08/15 8:21 PM from the specification file
* /Users/benjamin/Uni/COMP3500/rpsl4j-parser/src/main/parser/jflex/default.flex
*/
public class DefaultLexer implements net.ripe.db.whois.common.rpsl.AttributeLexer {
/** 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 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
};
/**
* Translates characters to character classes
*/
private static final String ZZ_CMAP_PACKED =
"\11\0\1\35\1\35\25\0\1\16\11\0\1\55\1\33\1\60\1\17"+
"\1\30\1\31\1\4\1\10\1\11\1\6\1\7\1\13\1\14\1\15"+
"\1\12\1\5\1\34\2\0\1\40\3\0\1\2\1\1\1\43\1\37"+
"\1\42\1\20\1\27\1\52\1\44\1\1\1\46\1\21\1\51\1\26"+
"\1\36\1\25\1\1\1\23\1\3\1\22\1\53\1\50\1\45\1\47"+
"\1\41\1\1\3\0\1\32\1\24\1\0\1\2\1\1\1\43\1\37"+
"\1\42\1\20\1\27\1\52\1\44\1\1\1\46\1\21\1\51\1\26"+
"\1\36\1\25\1\1\1\23\1\3\1\22\1\53\1\50\1\45\1\47"+
"\1\41\1\1\1\56\1\0\1\57\1\54\uff81\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 =
"\1\0\1\1\3\2\1\3\1\4\5\2\2\1\2\2"+
"\1\5\3\2\2\1\1\0\1\2\1\6\4\2\2\0"+
"\1\2\1\7\5\2\1\10\1\11\1\12\1\13\2\2"+
"\1\14\4\2\1\15\2\0\4\16\1\0\2\2\1\17"+
"\1\20\2\2\1\0\1\21\1\2\1\0\3\2\1\22"+
"\1\0\2\2\1\0\1\23\6\2\1\24\4\0\2\16"+
"\1\25\3\2\1\26\1\0\1\2\1\27\1\2\1\30"+
"\2\2\2\0\2\2\1\31\1\2\1\32\3\2\3\0"+
"\1\2\4\0\2\16\1\0\3\2\4\0\2\2\2\0"+
"\1\2\1\0\4\2\3\0\1\2\5\0\2\16\2\0"+
"\1\33\1\34\1\35\1\0\1\36\2\0\1\37\1\2"+
"\1\40\2\0\1\2\1\0\1\41\3\2\3\0\4\42"+
"\7\0\2\16\2\0\1\43\4\0\1\44\2\0\1\2"+
"\1\0\3\2\2\0\6\42\5\0\2\16\4\25\4\0"+
"\4\27\5\0\1\45\1\46\1\47\1\2\1\50\1\51"+
"\1\0\4\42\3\0\2\16\2\25\1\0\1\52\2\0"+
"\2\27\4\0\1\53\1\54\4\42\2\0\2\16\2\25"+
"\2\0\4\36\1\0\2\27\1\0\4\37\2\0\4\42"+
"\2\0\1\16\2\25\2\55\2\36\1\0\2\27\2\37"+
"\2\0\4\42\2\0\2\25\1\0\2\36\1\0\2\27"+
"\2\37\1\0\1\56\4\42\2\0\2\25\1\55\2\36"+
"\2\27\2\37\4\42\2\0\2\25\2\36\2\27\2\37"+
"\3\42\1\0\2\25\2\36\2\27\2\37\1\42\1\25"+
"\2\36\1\27\2\37\2\36\2\37\1\36\1\37";
private static int [] zzUnpackAction() {
int [] result = new int[381];
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\61\0\142\0\223\0\304\0\365\0\u0126\0\u0157"+
"\0\u0188\0\u01b9\0\u01ea\0\u021b\0\u024c\0\u027d\0\u02ae\0\u02df"+
"\0\u0310\0\u0341\0\u0372\0\u03a3\0\u03d4\0\u0405\0\142\0\u0436"+
"\0\142\0\u0467\0\u0498\0\u04c9\0\u04fa\0\u052b\0\u055c\0\u058d"+
"\0\142\0\u05be\0\u05ef\0\u0620\0\u0651\0\u0682\0\61\0\u06b3"+
"\0\61\0\142\0\u06e4\0\u0715\0\61\0\u0746\0\u0777\0\u07a8"+
"\0\u07d9\0\61\0\u0405\0\u080a\0\u083b\0\u086c\0\u089d\0\u08ce"+
"\0\u08ff\0\u0930\0\u0961\0\142\0\142\0\u0992\0\u09c3\0\u09f4"+
"\0\u055c\0\u0a25\0\u0a56\0\u0a87\0\u0ab8\0\u0ae9\0\142\0\u0b1a"+
"\0\u0b4b\0\u0b7c\0\u0bad\0\142\0\u0bde\0\u0c0f\0\u0c40\0\u0c71"+
"\0\u0ca2\0\u0cd3\0\142\0\u0d04\0\u0d35\0\u0d66\0\u0d97\0\u0dc8"+
"\0\u0df9\0\u0e2a\0\u0e5b\0\u0e8c\0\u0ebd\0\142\0\u0eee\0\u0f1f"+
"\0\u0f50\0\u0f81\0\142\0\u0fb2\0\u0fe3\0\u1014\0\u1045\0\u1076"+
"\0\u10a7\0\u0bad\0\u10d8\0\142\0\u1109\0\u113a\0\u116b\0\u119c"+
"\0\u11cd\0\u11fe\0\u122f\0\u1260\0\u1291\0\u12c2\0\u12f3\0\u1324"+
"\0\u1355\0\u1386\0\u13b7\0\u13e8\0\u1419\0\u144a\0\u147b\0\u14ac"+
"\0\u14dd\0\u150e\0\u153f\0\u1570\0\u15a1\0\u15d2\0\u1603\0\u1634"+
"\0\u1665\0\u1696\0\u16c7\0\u16f8\0\u1729\0\u175a\0\u178b\0\u17bc"+
"\0\u17ed\0\u181e\0\u184f\0\u1880\0\u18b1\0\u18e2\0\u1913\0\u1944"+
"\0\142\0\142\0\142\0\u1975\0\u19a6\0\u19d7\0\u1a08\0\u1a39"+
"\0\u1a6a\0\u1a9b\0\u1acc\0\u1afd\0\u1b2e\0\u1b5f\0\142\0\u1b90"+
"\0\u1bc1\0\u1bf2\0\u1c23\0\u1c54\0\u1c85\0\142\0\u1cb6\0\u1ce7"+
"\0\u1d18\0\u1d49\0\u1d7a\0\u1dab\0\u1ddc\0\u1e0d\0\u1e3e\0\u1e6f"+
"\0\u1ea0\0\u1ed1\0\u1f02\0\u1f33\0\u1f64\0\u1f95\0\u1fc6\0\u1ff7"+
"\0\u2028\0\142\0\u2059\0\u208a\0\u20bb\0\u20ec\0\u211d\0\u214e"+
"\0\u217f\0\u21b0\0\u21e1\0\61\0\u2212\0\u2243\0\u2274\0\u22a5"+
"\0\u22d6\0\u2307\0\u2338\0\u2369\0\u239a\0\u23cb\0\u23fc\0\u242d"+
"\0\u245e\0\u248f\0\u24c0\0\u24f1\0\u2522\0\u2553\0\u2584\0\u25b5"+
"\0\u25e6\0\u2617\0\u2648\0\u2679\0\u26aa\0\u26db\0\u270c\0\u273d"+
"\0\u276e\0\142\0\61\0\142\0\u279f\0\142\0\61\0\u27d0"+
"\0\u2801\0\u2832\0\u2863\0\u2894\0\u28c5\0\u28f6\0\u2927\0\u2958"+
"\0\u2989\0\u29ba\0\u29eb\0\u2a1c\0\u2a4d\0\u2a7e\0\u2aaf\0\u2ae0"+
"\0\u2b11\0\u2b42\0\u2b73\0\u2ba4\0\u2bd5\0\61\0\142\0\u2c06"+
"\0\u2c37\0\u2c68\0\u2c99\0\u2cca\0\u2cfb\0\u2d2c\0\u2d5d\0\u2d8e"+
"\0\u2dbf\0\u2df0\0\u2e21\0\u2e52\0\u2e83\0\u2eb4\0\u2ee5\0\u2f16"+
"\0\u2f47\0\u2f78\0\u2fa9\0\u2fda\0\u300b\0\u303c\0\u306d\0\u309e"+
"\0\u30cf\0\u3100\0\u3131\0\u3162\0\u3193\0\u31c4\0\u31f5\0\u3226"+
"\0\u3257\0\u3288\0\u32b9\0\61\0\u32ea\0\u331b\0\u334c\0\u337d"+
"\0\u33ae\0\u33df\0\u3410\0\u3441\0\u3472\0\u34a3\0\u34d4\0\u3505"+
"\0\u3536\0\u3567\0\u3598\0\u35c9\0\u35fa\0\u362b\0\u365c\0\u368d"+
"\0\u36be\0\u36ef\0\u3720\0\u3751\0\u3782\0\u37b3\0\61\0\u37e4"+
"\0\u3815\0\u3846\0\u3877\0\u38a8\0\u38d9\0\u390a\0\u393b\0\u362b"+
"\0\u396c\0\u399d\0\u39ce\0\u39ff\0\u3a30\0\u3a61\0\u3a92\0\u3ac3"+
"\0\u3af4\0\u3b25\0\u3b56\0\u3b87\0\u3bb8\0\u3be9\0\u3c1a\0\u3c4b"+
"\0\u3c7c\0\u3cad\0\u3cde\0\u3d0f\0\u3d40\0\u3d71\0\u3da2\0\u3dd3"+
"\0\u3e04\0\u3e35\0\u3e66\0\u3e97\0\u3ec8\0\u3ef9\0\u3f2a\0\u3f5b"+
"\0\u3f8c\0\u3fbd\0\u3fee\0\u401f\0\u4050\0\u4081\0\u40b2\0\u40e3"+
"\0\u4114\0\u4145\0\u4176\0\u41a7\0\u41d8";
private static int [] zzUnpackRowMap() {
int [] result = new int[381];
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\2\1\3\1\4\1\5\12\6\1\7\1\2\1\10"+
"\1\3\1\11\1\12\1\2\1\13\1\14\1\3\1\15"+
"\1\2\1\16\2\2\1\7\1\17\1\20\1\21\2\3"+
"\1\22\1\23\4\3\1\24\2\3\1\25\1\2\1\26"+
"\2\2\62\0\15\3\1\0\1\27\4\3\1\0\3\3"+
"\6\0\2\3\1\0\13\3\6\0\2\3\1\30\12\3"+
"\1\0\1\27\2\3\1\31\1\3\1\0\1\32\1\33"+
"\1\3\6\0\2\3\1\0\2\3\1\34\10\3\6\0"+
"\15\3\1\0\1\27\4\3\1\0\3\3\6\0\2\3"+
"\1\0\1\3\1\35\11\3\11\0\12\6\12\0\1\36"+
"\3\0\1\37\42\0\1\7\16\0\1\7\24\0\15\3"+
"\1\0\1\27\1\3\1\40\2\3\1\0\3\3\6\0"+
"\2\3\1\0\13\3\6\0\15\3\1\0\1\27\4\3"+
"\1\0\3\3\6\0\1\41\1\3\1\0\13\3\6\0"+
"\2\3\1\42\12\3\1\0\1\27\4\3\1\0\3\3"+
"\6\0\2\3\1\0\13\3\6\0\15\3\1\0\1\27"+
"\3\3\1\43\1\0\3\3\6\0\2\3\1\0\1\3"+
"\1\44\11\3\6\0\15\3\1\0\1\27\4\3\1\0"+
"\3\3\6\0\1\45\1\3\1\0\1\3\1\46\11\3"+
"\45\0\1\47\24\0\12\50\1\0\1\51\13\0\1\51"+
"\26\0\15\3\1\0\1\27\3\3\1\52\1\0\3\3"+
"\6\0\2\3\1\0\13\3\6\0\15\3\1\0\1\27"+
"\4\3\1\0\1\53\2\3\6\0\2\3\1\0\1\3"+
"\1\54\11\3\45\0\1\55\21\0\15\3\1\0\1\27"+
"\4\3\1\0\3\3\6\0\1\56\1\3\1\0\13\3"+
"\6\0\15\3\1\0\1\27\4\3\1\0\1\3\1\57"+
"\1\60\6\0\2\3\1\0\13\3\6\0\15\3\1\0"+
"\1\27\4\3\1\0\3\3\6\0\2\3\1\0\1\3"+
"\1\61\11\3\40\0\1\62\21\0\1\62\1\63\46\0"+
"\1\64\15\0\3\3\1\65\1\66\1\67\1\70\2\67"+
"\4\66\1\0\1\71\4\3\1\0\1\72\2\3\6\0"+
"\2\3\1\0\13\3\6\0\15\3\1\0\1\27\4\3"+
"\1\0\1\73\2\3\6\0\2\3\1\0\13\3\6\0"+
"\15\3\1\0\1\27\4\3\1\0\3\3\6\0\1\3"+
"\1\74\1\0\1\75\12\3\6\0\15\3\1\0\1\27"+
"\2\3\1\76\1\3\1\0\3\3\6\0\2\3\1\0"+
"\13\3\6\0\15\3\1\0\1\27\1\3\1\77\2\3"+
"\1\0\3\3\6\0\2\3\1\0\13\3\11\0\12\100"+
"\47\0\12\101\44\0\15\3\1\0\1\27\2\3\1\102"+
"\1\3\1\0\3\3\6\0\2\3\1\0\13\3\6\0"+
"\15\3\1\0\1\103\4\3\1\0\3\3\6\0\2\3"+
"\1\0\13\3\6\0\15\3\1\0\1\27\4\3\1\0"+
"\1\3\1\104\1\3\6\0\2\3\1\0\1\3\1\105"+
"\11\3\6\0\15\3\1\0\1\27\4\3\1\0\3\3"+
"\6\0\2\3\1\0\1\3\1\106\11\3\6\0\15\3"+
"\1\0\1\27\2\3\1\107\1\3\1\110\3\3\6\0"+
"\2\3\1\0\13\3\6\0\15\3\1\0\1\27\2\3"+
"\1\111\1\3\1\0\3\3\6\0\2\3\1\0\6\3"+
"\1\112\4\3\11\0\12\50\1\0\1\113\42\0\1\3"+
"\1\114\13\3\1\0\1\27\4\3\1\0\3\3\6\0"+
"\2\3\1\0\13\3\6\0\15\3\1\0\1\27\1\3"+
"\1\115\2\3\1\0\3\3\6\0\2\3\1\0\13\3"+
"\6\0\2\3\1\116\12\3\1\0\1\27\4\3\1\0"+
"\1\3\1\117\1\3\6\0\2\3\1\0\10\3\1\120"+
"\2\3\6\0\15\3\1\0\1\27\2\3\1\121\1\3"+
"\1\0\3\3\6\0\2\3\1\0\13\3\6\0\15\3"+
"\1\0\1\27\4\3\1\0\1\122\2\3\6\0\2\3"+
"\1\0\13\3\6\0\15\3\1\0\1\27\4\3\1\0"+
"\3\3\6\0\1\3\1\123\1\0\13\3\33\0\1\124"+
"\33\0\15\3\1\125\1\126\4\3\1\0\3\3\4\0"+
"\1\127\1\0\2\3\1\0\13\3\6\0\3\3\12\130"+
"\1\125\1\126\4\3\1\0\3\3\4\0\1\127\1\0"+
"\2\3\1\0\13\3\6\0\3\3\12\66\1\125\1\126"+
"\4\3\1\0\3\3\4\0\1\127\1\0\2\3\1\0"+
"\13\3\6\0\3\3\1\66\3\130\1\66\1\131\4\130"+
"\1\125\1\126\4\3\1\0\3\3\4\0\1\127\1\0"+
"\2\3\1\0\13\3\6\0\15\132\1\0\1\71\4\132"+
"\1\71\3\132\6\0\2\132\1\0\13\132\6\0\1\3"+
"\1\133\13\3\1\0\1\27\4\3\1\0\3\3\6\0"+
"\2\3\1\0\13\3\6\0\15\3\1\0\1\27\4\3"+
"\1\0\3\3\6\0\2\3\1\0\1\3\1\134\11\3"+
"\6\0\15\3\1\0\1\27\4\3\1\0\3\3\6\0"+
"\2\3\1\0\3\3\1\135\7\3\6\0\15\3\1\0"+
"\1\27\1\136\3\3\1\0\3\3\6\0\2\3\1\0"+
"\13\3\11\0\12\100\12\0\1\137\31\0\15\3\1\0"+
"\1\27\3\3\1\140\1\0\3\3\6\0\2\3\1\0"+
"\13\3\6\0\15\141\1\0\1\103\4\141\1\103\3\141"+
"\6\0\2\141\1\0\13\141\6\0\15\3\1\0\1\27"+
"\4\3\1\0\2\3\1\142\6\0\2\3\1\0\13\3"+
"\6\0\15\3\1\0\1\27\1\143\3\3\1\0\1\144"+
"\2\3\6\0\2\3\1\0\13\3\6\0\15\3\1\0"+
"\1\27\3\3\1\145\1\0\3\3\6\0\2\3\1\0"+
"\13\3\7\0\1\146\37\0\1\147\17\0\15\3\1\0"+
"\1\27\4\3\1\0\3\3\6\0\2\3\1\0\4\3"+
"\1\150\6\3\6\0\15\3\1\0\1\27\2\3\1\151"+
"\1\3\1\0\3\3\6\0\2\3\1\0\13\3\11\0"+
"\12\152\44\0\15\3\1\0\1\27\4\3\1\0\3\3"+
"\6\0\2\3\1\0\1\3\1\153\11\3\6\0\15\3"+
"\1\0\1\27\2\3\1\154\1\3\1\0\3\3\6\0"+
"\2\3\1\0\13\3\6\0\15\3\1\0\1\27\2\3"+
"\1\155\1\3\1\0\3\3\6\0\2\3\1\0\13\3"+
"\6\0\15\3\1\0\1\27\4\3\1\0\3\3\6\0"+
"\2\3\1\0\10\3\1\156\2\3\6\0\15\3\1\0"+
"\1\27\4\3\1\0\3\3\6\0\2\3\1\0\1\3"+
"\1\157\11\3\6\0\15\3\1\0\1\27\4\3\1\160"+
"\3\3\6\0\2\3\1\0\13\3\27\0\1\161\54\0"+
"\1\125\1\162\42\0\1\3\1\163\13\3\1\162\1\27"+
"\4\3\1\0\3\3\6\0\2\3\1\0\13\3\7\0"+
"\1\164\15\0\1\165\2\0\1\166\1\0\1\167\34\0"+
"\3\3\12\170\1\125\1\126\4\3\1\0\3\3\4\0"+
"\1\127\1\0\2\3\1\0\13\3\6\0\3\3\1\130"+
"\1\171\10\130\1\125\1\126\4\3\1\0\3\3\4\0"+
"\1\127\1\0\2\3\1\0\13\3\6\0\15\132\1\0"+
"\1\71\4\132\1\71\3\132\4\0\1\172\1\0\2\132"+
"\1\0\13\132\6\0\15\3\1\0\1\27\2\3\1\173"+
"\1\3\1\0\3\3\6\0\2\3\1\0\13\3\6\0"+
"\15\3\1\0\1\27\4\3\1\0\1\3\1\174\1\3"+
"\6\0\2\3\1\0\13\3\6\0\15\3\1\0\1\27"+
"\4\3\1\0\3\3\6\0\1\175\1\3\1\0\13\3"+
"\11\0\12\176\44\0\15\3\1\0\1\177\4\3\1\0"+
"\3\3\6\0\2\3\1\0\13\3\6\0\15\141\1\0"+
"\1\103\4\141\1\103\3\141\4\0\1\200\1\0\2\141"+
"\1\0\13\141\6\0\15\3\1\0\1\201\4\3\1\0"+
"\3\3\6\0\2\3\1\0\13\3\6\0\15\3\1\0"+
"\1\27\4\3\1\0\3\3\6\0\2\3\1\0\1\3"+
"\1\202\11\3\6\0\1\3\1\203\13\3\1\0\1\27"+
"\4\3\1\0\3\3\6\0\2\3\1\0\13\3\44\0"+
"\1\204\70\0\1\205\12\0\15\3\1\0\1\27\4\3"+
"\1\0\3\3\6\0\1\206\1\3\1\0\13\3\6\0"+
"\15\3\1\0\1\27\4\3\1\207\3\3\6\0\2\3"+
"\1\0\13\3\6\0\15\3\1\0\1\27\2\3\1\210"+
"\1\3\1\0\3\3\6\0\2\3\1\0\13\3\6\0"+
"\1\3\1\211\13\3\1\0\1\27\4\3\1\0\3\3"+
"\6\0\2\3\1\0\13\3\6\0\15\3\1\0\1\27"+
"\4\3\1\0\3\3\6\0\2\3\1\0\12\3\1\212"+
"\6\0\15\3\1\0\1\27\3\3\1\213\1\0\3\3"+
"\6\0\2\3\1\0\13\3\50\0\1\214\74\0\1\62"+
"\1\215\2\0\1\216\13\0\1\162\43\0\2\3\1\217"+
"\12\3\1\0\1\27\4\3\1\0\3\3\6\0\2\3"+
"\1\0\13\3\10\0\1\220\76\0\1\221\42\0\1\222"+
"\100\0\1\223\16\0\1\224\17\0\3\3\12\225\1\125"+
"\1\126\4\3\1\0\3\3\4\0\1\127\1\0\2\3"+
"\1\0\13\3\6\0\3\3\1\170\1\225\1\170\1\226"+
"\2\170\4\225\1\125\1\126\4\3\1\0\3\3\4\0"+
"\1\127\1\0\2\3\1\0\13\3\7\0\1\227\22\0"+
"\1\230\34\0\15\3\1\0\1\27\4\3\1\0\3\3"+
"\6\0\2\3\1\0\11\3\1\231\1\3\6\0\15\3"+
"\1\0\1\27\4\3\1\0\3\3\6\0\1\3\1\232"+
"\1\0\13\3\6\0\15\3\1\0\1\27\4\3\1\0"+
"\1\3\1\233\1\3\6\0\2\3\1\0\13\3\11\0"+
"\12\176\12\0\1\234\31\0\15\235\1\0\1\177\4\235"+
"\1\177\3\235\6\0\2\235\1\0\13\235\7\0\1\236"+
"\20\0\1\166\1\0\1\237\34\0\15\240\1\0\1\201"+
"\4\240\1\201\3\240\6\0\2\240\1\0\13\240\6\0"+
"\15\3\1\0\1\27\4\3\1\0\1\3\1\241\1\3"+
"\6\0\2\3\1\0\13\3\6\0\2\3\1\242\12\3"+
"\1\0\1\27\4\3\1\0\3\3\6\0\2\3\1\0"+
"\13\3\55\0\1\243\35\0\1\244\34\0\15\3\1\0"+
"\1\27\3\3\1\245\1\0\3\3\6\0\2\3\1\0"+
"\13\3\57\0\1\246\7\0\15\3\1\0\1\27\4\3"+
"\1\0\3\3\6\0\2\3\1\0\1\3\1\247\11\3"+
"\6\0\15\3\1\0\1\27\4\3\1\0\3\3\6\0"+
"\2\3\1\0\3\3\1\250\7\3\6\0\15\3\1\0"+
"\1\27\4\3\1\0\1\3\1\251\1\3\6\0\2\3"+
"\1\0\13\3\6\0\15\3\1\0\1\27\4\3\1\0"+
"\1\3\1\252\1\3\6\0\2\3\1\0\13\3\43\0"+
"\1\253\66\0\1\254\12\0\1\62\4\0\1\255\56\0"+
"\3\3\1\256\1\257\1\260\1\261\2\260\4\257\1\0"+
"\1\27\4\3\1\0\3\3\6\0\2\3\1\0\13\3"+
"\11\0\1\262\1\263\1\264\1\265\2\264\4\263\1\0"+
"\1\71\63\0\1\266\55\0\1\103\67\0\1\267\74\0"+
"\1\270\17\0\3\3\12\271\1\125\1\126\4\3\1\0"+
"\3\3\4\0\1\127\1\0\2\3\1\0\13\3\6\0"+
"\3\3\1\225\1\272\10\225\1\125\1\126\4\3\1\0"+
"\3\3\4\0\1\127\1\0\2\3\1\0\13\3\10\0"+
"\1\273\117\0\1\274\22\0\12\275\44\0\15\235\1\0"+
"\1\177\4\235\1\177\3\235\4\0\1\276\1\0\2\235"+
"\1\0\13\235\10\0\1\277\117\0\1\300\17\0\15\240"+
"\1\0\1\201\4\240\1\201\3\240\4\0\1\301\1\0"+
"\2\240\1\0\13\240\6\0\15\3\1\0\1\27\4\3"+
"\1\0\3\3\6\0\1\3\1\302\1\0\13\3\6\0"+
"\15\3\1\0\1\27\4\3\1\0\3\3\4\0\1\127"+
"\1\0\2\3\1\0\13\3\47\0\1\303\54\0\1\304"+
"\23\0\15\3\1\0\1\27\4\3\1\0\3\3\6\0"+
"\2\3\1\0\5\3\1\305\5\3\43\0\1\306\23\0"+
"\15\3\1\0\1\27\4\3\1\0\1\3\1\307\1\3"+
"\6\0\2\3\1\0\13\3\6\0\15\3\1\0\1\27"+
"\4\3\1\0\3\3\6\0\2\3\1\0\3\3\1\310"+
"\7\3\6\0\15\3\1\0\1\27\4\3\1\0\3\3"+
"\6\0\2\3\1\0\1\3\1\311\11\3\10\0\1\312"+
"\103\0\1\313\36\0\1\314\1\315\1\316\1\317\2\316"+
"\4\315\44\0\3\3\12\320\1\0\1\27\4\3\1\0"+
"\3\3\6\0\2\3\1\0\13\3\6\0\3\3\12\257"+
"\1\0\1\27\4\3\1\0\3\3\6\0\2\3\1\0"+
"\13\3\6\0\3\3\1\257\3\320\1\257\1\321\4\320"+
"\1\0\1\27\4\3\1\0\3\3\6\0\2\3\1\0"+
"\13\3\41\0\1\127\30\0\12\322\16\0\1\127\30\0"+
"\12\263\16\0\1\127\30\0\1\263\3\322\1\263\1\323"+
"\4\322\16\0\1\127\47\0\1\324\64\0\1\325\54\0"+
"\1\326\36\0\3\3\12\327\1\125\1\126\4\3\1\0"+
"\3\3\4\0\1\127\1\0\2\3\1\0\13\3\6\0"+
"\3\3\1\271\1\327\4\271\1\327\1\271\1\330\1\327"+
"\1\125\1\126\4\3\1\0\3\3\4\0\1\127\1\0"+
"\2\3\1\0\13\3\11\0\1\331\1\332\1\333\1\334"+
"\2\333\4\332\1\0\1\71\103\0\1\335\22\0\12\275"+
"\13\0\1\336\31\0\1\337\15\0\1\165\4\0\1\340"+
"\37\0\1\341\1\342\1\343\1\344\2\343\4\342\105\0"+
"\1\345\20\0\1\346\22\0\1\347\56\0\1\350\60\0"+
"\1\351\36\0\2\3\1\352\12\3\1\0\1\27\4\3"+
"\1\0\3\3\6\0\2\3\1\0\13\3\32\0\1\353"+
"\34\0\2\3\1\354\12\3\1\0\1\27\4\3\1\0"+
"\3\3\6\0\2\3\1\0\13\3\6\0\15\3\1\0"+
"\1\27\2\3\1\355\1\3\1\0\3\3\6\0\2\3"+
"\1\0\13\3\6\0\15\3\1\0\1\27\2\3\1\356"+
"\1\3\1\0\3\3\6\0\2\3\1\0\13\3\27\0"+
"\1\357\60\0\1\360\42\0\12\361\47\0\12\315\47\0"+
"\1\315\3\361\1\315\1\362\4\361\44\0\3\3\12\363"+
"\1\0\1\27\4\3\1\0\3\3\6\0\2\3\1\0"+
"\13\3\6\0\3\3\1\320\1\364\10\320\1\0\1\27"+
"\4\3\1\0\3\3\6\0\2\3\1\0\13\3\11\0"+
"\12\365\16\0\1\127\30\0\1\322\1\366\10\322\16\0"+
"\1\127\43\0\1\177\60\0\1\201\43\0\1\367\57\0"+
"\3\3\12\370\1\125\1\126\4\3\1\0\3\3\4\0"+
"\1\127\1\0\2\3\1\0\13\3\6\0\3\3\1\327"+
"\1\370\4\327\1\370\2\327\1\371\1\125\1\126\4\3"+
"\1\0\3\3\4\0\1\127\1\0\2\3\1\0\13\3"+
"\41\0\1\172\30\0\12\372\16\0\1\172\30\0\12\332"+
"\16\0\1\172\30\0\1\332\3\372\1\332\1\373\4\372"+
"\16\0\1\172\47\0\1\374\41\0\12\375\46\0\1\376"+
"\117\0\1\377\52\0\1\200\30\0\12\u0100\16\0\1\200"+
"\30\0\12\342\16\0\1\200\30\0\1\342\3\u0100\1\342"+
"\1\u0101\4\u0100\16\0\1\200\47\0\1\u0102\40\0\1\u0103"+
"\100\0\1\223\16\0\1\u0104\40\0\1\u0105\60\0\1\u0106"+
"\37\0\15\3\1\0\1\27\4\3\1\0\3\3\6\0"+
"\2\3\1\0\1\u0107\12\3\64\0\1\62\5\0\12\u0108"+
"\47\0\1\361\1\u0109\10\361\44\0\3\3\12\u010a\1\0"+
"\1\27\4\3\1\0\3\3\6\0\2\3\1\0\13\3"+
"\6\0\3\3\1\363\1\u010a\1\363\1\u010b\2\363\4\u010a"+
"\1\0\1\27\4\3\1\0\3\3\6\0\2\3\1\0"+
"\13\3\11\0\12\u010c\16\0\1\127\30\0\1\365\1\u010c"+
"\1\365\1\u010d\2\365\4\u010c\16\0\1\127\27\0\1\262"+
"\56\0\3\3\12\u010e\1\125\1\126\4\3\1\0\3\3"+
"\4\0\1\127\1\0\2\3\1\0\13\3\6\0\3\3"+
"\1\370\3\u010e\1\370\1\u010f\4\u010e\1\125\1\126\4\3"+
"\1\0\3\3\4\0\1\127\1\0\2\3\1\0\13\3"+
"\11\0\12\u0110\16\0\1\172\30\0\1\372\1\u0111\10\372"+
"\16\0\1\172\26\0\1\u0112\62\0\12\375\14\0\1\u0113"+
"\32\0\1\u0114\1\u0115\1\u0116\1\u0117\2\u0116\4\u0115\105\0"+
"\1\u0118\22\0\12\u0119\16\0\1\200\30\0\1\u0100\1\u011a"+
"\10\u0100\16\0\1\200\26\0\1\u011b\62\0\1\u011c\1\u011d"+
"\1\u011e\1\u011f\2\u011e\4\u011d\105\0\1\u0120\62\0\1\u0121"+
"\20\0\12\u0122\47\0\1\u0108\1\u0122\1\u0108\1\u0123\2\u0108"+
"\4\u0122\44\0\3\3\12\u0124\1\0\1\27\4\3\1\0"+
"\3\3\6\0\2\3\1\0\13\3\6\0\3\3\1\u010a"+
"\1\u0125\10\u010a\1\0\1\27\4\3\1\0\3\3\6\0"+
"\2\3\1\0\13\3\11\0\12\u0126\16\0\1\127\30\0"+
"\1\u010c\1\u0127\10\u010c\16\0\1\127\25\0\3\3\12\65"+
"\1\125\1\126\4\3\1\0\3\3\4\0\1\127\1\0"+
"\2\3\1\0\13\3\6\0\3\3\1\u010e\1\u0128\10\u010e"+
"\1\125\1\126\4\3\1\0\3\3\4\0\1\127\1\0"+
"\2\3\1\0\13\3\11\0\12\u0129\16\0\1\172\30\0"+
"\1\u0110\1\u0129\1\u0110\1\u012a\2\u0110\4\u0129\16\0\1\172"+
"\27\0\1\331\61\0\12\u012b\1\0\1\u012c\13\0\1\u012c"+
"\61\0\1\276\30\0\12\u012d\16\0\1\276\30\0\12\u0115"+
"\16\0\1\276\30\0\1\u0115\3\u012d\1\u0115\1\u012e\4\u012d"+
"\16\0\1\276\47\0\1\u012f\41\0\12\u0130\16\0\1\200"+
"\30\0\1\u0119\1\u0130\1\u0119\1\u0131\2\u0119\4\u0130\16\0"+
"\1\200\27\0\1\341\111\0\1\301\30\0\12\u0132\16\0"+
"\1\301\30\0\12\u011d\16\0\1\301\30\0\1\u011d\3\u0132"+
"\1\u011d\1\u0133\4\u0132\16\0\1\301\47\0\1\u0134\40\0"+
"\1\u0135\61\0\12\u0136\47\0\1\u0122\1\u0137\10\u0122\44\0"+
"\3\3\12\u0138\1\0\1\27\4\3\1\0\3\3\6\0"+
"\2\3\1\0\13\3\6\0\3\3\1\u0124\1\u0138\4\u0124"+
"\1\u0138\1\u0124\1\u0139\1\u0138\1\0\1\27\4\3\1\0"+
"\3\3\6\0\2\3\1\0\13\3\11\0\12\u013a\16\0"+
"\1\127\30\0\1\u0126\1\u013a\4\u0126\1\u013a\1\u0126\1\u013b"+
"\1\u013a\16\0\1\127\25\0\3\3\1\65\1\3\4\65"+
"\1\3\1\65\2\3\1\125\1\126\4\3\1\0\3\3"+
"\4\0\1\127\1\0\2\3\1\0\13\3\11\0\12\u013c"+
"\16\0\1\172\30\0\1\u0129\1\u013d\10\u0129\16\0\1\172"+
"\30\0\12\u012b\1\0\1\u013e\45\0\12\u013f\16\0\1\276"+
"\30\0\1\u012d\1\u0140\10\u012d\16\0\1\276\26\0\1\u0141"+
"\62\0\12\u0142\16\0\1\200\30\0\1\u0130\1\u0143\10\u0130"+
"\16\0\1\200\30\0\12\u0144\16\0\1\301\30\0\1\u0132"+
"\1\u0145\10\u0132\16\0\1\301\26\0\1\u0146\120\0\1\u0147"+
"\22\0\12\u0148\47\0\1\u0136\1\u0148\4\u0136\1\u0148\1\u0136"+
"\1\u0149\1\u0148\44\0\3\3\12\u014a\1\0\1\27\4\3"+
"\1\0\3\3\6\0\2\3\1\0\13\3\6\0\3\3"+
"\1\u0138\1\u014a\4\u0138\1\u014a\2\u0138\1\u014b\1\0\1\27"+
"\4\3\1\0\3\3\6\0\2\3\1\0\13\3\11\0"+
"\12\u014c\16\0\1\127\30\0\1\u013a\1\u014c\4\u013a\1\u014c"+
"\2\u013a\1\u014d\16\0\1\127\30\0\12\u014e\16\0\1\172"+
"\30\0\1\u013c\1\u014e\4\u013c\1\u014e\1\u013c\1\u014f\1\u014e"+
"\16\0\1\172\30\0\12\u0150\47\0\12\u0151\16\0\1\276"+
"\30\0\1\u013f\1\u0151\1\u013f\1\u0152\2\u013f\4\u0151\16\0"+
"\1\276\27\0\1\u0114\61\0\12\u0153\16\0\1\200\30\0"+
"\1\u0142\1\u0153\4\u0142\1\u0153\1\u0142\1\u0154\1\u0153\16\0"+
"\1\200\30\0\12\u0155\16\0\1\301\30\0\1\u0144\1\u0155"+
"\1\u0144\1\u0156\2\u0144\4\u0155\16\0\1\301\27\0\1\u011c"+
"\61\0\12\u0157\47\0\1\u0148\1\u0157\4\u0148\1\u0157\2\u0148"+
"\1\u0158\44\0\3\3\12\u0159\1\0\1\27\4\3\1\0"+
"\3\3\6\0\2\3\1\0\13\3\6\0\3\3\1\u014a"+
"\3\u0159\1\u014a\1\u015a\4\u0159\1\0\1\27\4\3\1\0"+
"\3\3\6\0\2\3\1\0\13\3\11\0\12\u015b\16\0"+
"\1\127\30\0\1\u014c\3\u015b\1\u014c\1\u015c\4\u015b\16\0"+
"\1\127\30\0\12\u015d\16\0\1\172\30\0\1\u014e\1\u015d"+
"\4\u014e\1\u015d\2\u014e\1\u015e\16\0\1\172\30\0\12\u015f"+
"\16\0\1\276\30\0\1\u0151\1\u0160\10\u0151\16\0\1\276"+
"\30\0\12\u0161\16\0\1\200\30\0\1\u0153\1\u0161\4\u0153"+
"\1\u0161\2\u0153\1\u0162\16\0\1\200\30\0\12\u0163\16\0"+
"\1\301\30\0\1\u0155\1\u0164\10\u0155\16\0\1\301\30\0"+
"\12\u0165\47\0\1\u0157\3\u0165\1\u0157\1\u0166\4\u0165\44\0"+
"\3\3\12\256\1\0\1\27\4\3\1\0\3\3\6\0"+
"\2\3\1\0\13\3\6\0\3\3\1\u0159\1\u0167\10\u0159"+
"\1\0\1\27\4\3\1\0\3\3\6\0\2\3\1\0"+
"\13\3\11\0\12\262\16\0\1\127\30\0\1\u015b\1\u0168"+
"\10\u015b\16\0\1\127\30\0\12\u0169\16\0\1\172\30\0"+
"\1\u015d\3\u0169\1\u015d\1\u016a\4\u0169\16\0\1\172\30\0"+
"\12\u016b\16\0\1\276\30\0\1\u015f\1\u016b\4\u015f\1\u016b"+
"\1\u015f\1\u016c\1\u016b\16\0\1\276\30\0\12\u016d\16\0"+
"\1\200\30\0\1\u0161\3\u016d\1\u0161\1\u016e\4\u016d\16\0"+
"\1\200\30\0\12\u016f\16\0\1\301\30\0\1\u0163\1\u016f"+
"\4\u0163\1\u016f\1\u0163\1\u0170\1\u016f\16\0\1\301\30\0"+
"\12\314\47\0\1\u0165\1\u0171\10\u0165\44\0\3\3\1\256"+
"\1\3\4\256\1\3\1\256\2\3\1\0\1\27\4\3"+
"\1\0\3\3\6\0\2\3\1\0\13\3\11\0\1\262"+
"\1\0\4\262\1\0\1\262\20\0\1\127\30\0\12\331"+
"\16\0\1\172\30\0\1\u0169\1\u0172\10\u0169\16\0\1\172"+
"\30\0\12\u0173\16\0\1\276\30\0\1\u016b\1\u0173\4\u016b"+
"\1\u0173\2\u016b\1\u0174\16\0\1\276\30\0\12\341\16\0"+
"\1\200\30\0\1\u016d\1\u0175\10\u016d\16\0\1\200\30\0"+
"\12\u0176\16\0\1\301\30\0\1\u016f\1\u0176\4\u016f\1\u0176"+
"\2\u016f\1\u0177\16\0\1\301\30\0\1\314\1\0\4\314"+
"\1\0\1\314\51\0\1\331\1\0\4\331\1\0\1\331"+
"\20\0\1\172\30\0\12\u0178\16\0\1\276\30\0\1\u0173"+
"\3\u0178\1\u0173\1\u0179\4\u0178\16\0\1\276\30\0\1\341"+
"\1\0\4\341\1\0\1\341\20\0\1\200\30\0\12\u017a"+
"\16\0\1\301\30\0\1\u0176\3\u017a\1\u0176\1\u017b\4\u017a"+
"\16\0\1\301\30\0\12\u0114\16\0\1\276\30\0\1\u0178"+
"\1\u017c\10\u0178\16\0\1\276\30\0\12\u011c\16\0\1\301"+
"\30\0\1\u017a\1\u017d\10\u017a\16\0\1\301\30\0\1\u0114"+
"\1\0\4\u0114\1\0\1\u0114\20\0\1\276\30\0\1\u011c"+
"\1\0\4\u011c\1\0\1\u011c\20\0\1\301\24\0";
private static int [] zzUnpackTrans() {
int [] result = new int[16905];
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 =
"\1\0\1\11\24\1\1\0\6\1\2\0\7\1\1\11"+
"\1\1\1\11\3\1\1\11\4\1\1\11\2\0\4\1"+
"\1\0\6\1\1\0\2\1\1\0\4\1\1\0\2\1"+
"\1\0\10\1\4\0\7\1\1\0\6\1\2\0\10\1"+
"\3\0\1\1\4\0\2\1\1\0\3\1\4\0\2\1"+
"\2\0\1\1\1\0\4\1\3\0\1\1\5\0\2\1"+
"\2\0\3\1\1\0\1\1\2\0\3\1\2\0\1\1"+
"\1\0\4\1\3\0\4\1\7\0\2\1\2\0\1\1"+
"\4\0\1\1\2\0\1\1\1\0\3\1\2\0\1\11"+
"\5\1\5\0\6\1\4\0\4\1\5\0\1\1\1\11"+
"\3\1\1\11\1\0\4\1\3\0\4\1\1\0\1\1"+
"\2\0\2\1\4\0\1\11\5\1\2\0\4\1\2\0"+
"\4\1\1\0\2\1\1\0\4\1\2\0\4\1\2\0"+
"\4\1\1\11\2\1\1\0\4\1\2\0\4\1\2\0"+
"\2\1\1\0\2\1\1\0\4\1\1\0\1\11\4\1"+
"\2\0\15\1\2\0\13\1\1\0\25\1";
private static int [] zzUnpackAttribute() {
int [] result = new int[381];
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: */
/* store a reference to the parser object */
private DefaultParser yyparser;
/* constructor taking an additional parser object */
public DefaultLexer(java.io.Reader r, DefaultParser yyparser) {
this(r);
this.yyparser = yyparser;
}
/* assign value associated with current token to the external parser variable yylval. */
private void storeTokenValue() {
if ((this.yyparser != null) && (this.yyparser.yylval != null)) {
yyparser.yylval.sval = yytext();
}
}
/**
* 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 DefaultLexer(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 DefaultLexer(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 < 174) {
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;
}
/**
* Contains user EOF-code, which will be executed exactly once,
* when the end of file is reached
*/
private void zzDoEOF() throws java.io.IOException {
if (!zzEOFDone) {
zzEOFDone = true;
yyclose();
}
}
/**
* 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 int 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;
boolean zzR = false;
for (zzCurrentPosL = zzStartRead; zzCurrentPosL < zzMarkedPosL;
zzCurrentPosL++) {
switch (zzBufferL[zzCurrentPosL]) {
case '\u000B':
case '\u000C':
case '\u0085':
case '\u2028':
case '\u2029':
yyline++;
yycolumn = 0;
zzR = false;
break;
case '\r':
yyline++;
yycolumn = 0;
zzR = true;
break;
case '\n':
if (zzR)
zzR = false;
else {
yyline++;
yycolumn = 0;
}
break;
default:
zzR = false;
yycolumn++;
}
}
if (zzR) {
// peek one character ahead if it is \n (if we have counted one line too much)
boolean zzPeek;
if (zzMarkedPosL < zzEndReadL)
zzPeek = zzBufferL[zzMarkedPosL] == '\n';
else if (zzAtEOF)
zzPeek = false;
else {
boolean eof = zzRefill();
zzEndReadL = zzEndRead;
zzMarkedPosL = zzMarkedPos;
zzBufferL = zzBuffer;
if (eof)
zzPeek = false;
else
zzPeek = zzBufferL[zzMarkedPosL] == '\n';
}
if (zzPeek) yyline--;
}
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 45:
{ ParserHelper.validateIpv4PrefixRange(yytext());
return DefaultParser.TKN_PRFXV4RNG;
}
case 47: break;
case 41:
{ return DefaultParser.KEYW_IGP_COST;
}
case 48: break;
case 7:
{ return DefaultParser.KEYW_TO;
}
case 49: break;
case 13:
{ return DefaultParser.ASPATH_POSTFIX;
}
case 50: break;
case 33:
{ return DefaultParser.KEYW_DELETE;
}
case 51: break;
case 37:
{ return DefaultParser.KEYW_NETWORKS;
}
case 52: break;
case 30:
{ return DefaultParser.TKN_FLTRNAME;
}
case 53: break;
case 29:
{ return DefaultParser.KEYW_ACTION;
}
case 54: break;
case 31:
{ return DefaultParser.TKN_PRNGNAME;
}
case 55: break;
case 16:
{ return DefaultParser.KEYW_ANY;
}
case 56: break;
case 43:
{ return DefaultParser.KEYW_NO_EXPORT;
}
case 57: break;
case 15:
{ return DefaultParser.OP_AND;
}
case 58: break;
case 18:
{ return DefaultParser.OP_NOT;
}
case 59: break;
case 17:
{ ParserHelper.validateCommunity(yytext());
return DefaultParser.TKN_COMM_NO;
}
case 60: break;
case 5:
{ return DefaultParser.OP_EQUAL;
}
case 61: break;
case 44:
{ return DefaultParser.TKN_COMMUNITY;
}
case 62: break;
case 36:
{ return DefaultParser.KEYW_PREPEND;
}
case 63: break;
case 40:
{ return DefaultParser.KEYW_INTERNET;
}
case 64: break;
case 22:
{ return DefaultParser.KEYW_SELF;
}
case 65: break;
case 38:
{ return DefaultParser.TKN_NEXT_HOP;
}
case 66: break;
case 4:
{ ;
}
case 67: break;
case 39:
{ return DefaultParser.KEYW_CONTAINS;
}
case 68: break;
case 3:
{ storeTokenValue();
return DefaultParser.TKN_INT;
}
case 69: break;
case 27:
{ return DefaultParser.TKN_ASPATH;
}
case 70: break;
case 46:
{ return DefaultParser.KEYW_NO_ADVERTISE;
}
case 71: break;
case 6:
{ return DefaultParser.KEYW_AT;
}
case 72: break;
case 12:
{ return DefaultParser.OP_COMPARE;
}
case 73: break;
case 28:
{ return DefaultParser.KEYW_APPEND;
}
case 74: break;
case 9:
{ ParserHelper.validateMoreSpecificsOperator(yytext());
return DefaultParser.OP_MS;
}
case 75: break;
case 8:
{ return DefaultParser.OP_APPEND;
}
case 76: break;
case 10:
{ return DefaultParser.OP_MS;
}
case 77: break;
case 42:
{ ParserHelper.validateIpv4Prefix(yytext());
return DefaultParser.TKN_PRFXV4;
}
case 78: break;
case 34:
{ ParserHelper.validateAsRange(yytext());
return DefaultParser.TKN_ASRANGE;
}
case 79: break;
case 14:
{ ParserHelper.validateAsNumber(yytext());
return DefaultParser.TKN_ASNO;
}
case 80: break;
case 1:
{ return yytext().charAt(0);
}
case 81: break;
case 20:
{ return DefaultParser.TKN_MED;
}
case 82: break;
case 11:
{ return DefaultParser.OP_OR;
}
case 83: break;
case 19:
{ return DefaultParser.TKN_DPA;
}
case 84: break;
case 24:
{ return DefaultParser.TKN_PREF;
}
case 85: break;
case 21:
{ return DefaultParser.TKN_ASNAME;
}
case 86: break;
case 25:
{ ParserHelper.validateRangeMoreSpecificsOperators(yytext());
return DefaultParser.OP_MS;
}
case 87: break;
case 23:
{ return DefaultParser.TKN_RSNAME;
}
case 88: break;
case 26:
{ return DefaultParser.TKN_COST;
}
case 89: break;
case 32:
{ return DefaultParser.KEYW_PEERAS;
}
case 90: break;
case 2:
{ ParserHelper.validateDomainNameLabel(yytext());
storeTokenValue();
return DefaultParser.TKN_DNS;
}
case 91: break;
case 35:
{ ParserHelper.validateIpv4(yytext());
return DefaultParser.TKN_IPV4;
}
case 92: break;
default:
if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
zzAtEOF = true;
zzDoEOF();
{ return 0; }
}
else {
zzScanError(ZZ_NO_MATCH);
}
}
}
}
}