All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.ripe.db.whois.common.generated.ComponentsR6Lexer Maven / Gradle / Ivy

/* 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: components_r6.flex

  description:
    Defines the tokenizer for an RPSLng route6 components attribute.  It is
    derived from components.l.

  notes:
    Tokens are defined in the associated grammar, components.l.
*/

/**
 * 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/components_r6.flex
 */
public class ComponentsR6Lexer 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\45\1\45\25\0\1\15\11\0\1\54\1\32\1\57\1\16"+
    "\1\26\1\30\1\3\1\7\1\10\1\5\1\6\1\12\1\13\1\14"+
    "\1\11\1\4\1\27\2\0\1\46\3\0\1\1\1\33\1\41\1\43"+
    "\1\25\1\17\1\34\1\51\1\40\2\24\1\20\1\36\1\42\1\37"+
    "\1\35\1\24\1\22\1\2\1\21\1\52\1\44\1\24\1\50\1\47"+
    "\1\24\3\0\1\31\1\23\1\0\1\1\1\33\1\41\1\43\1\25"+
    "\1\17\1\34\1\51\1\40\2\24\1\20\1\36\1\42\1\37\1\35"+
    "\1\24\1\22\1\2\1\21\1\52\1\44\1\24\1\50\1\47\1\24"+
    "\1\55\1\0\1\56\1\53\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\3\1\1\2\1\3\16\1\1\4\2\1\10\0"+
    "\1\2\5\0\1\5\1\0\1\6\1\7\10\0\1\10"+
    "\12\0\1\11\1\12\3\0\4\13\5\0\1\14\1\15"+
    "\2\0\1\2\1\0\1\16\2\0\1\17\10\0\1\20"+
    "\6\0\1\17\4\0\1\21\2\0\1\22\6\0\2\13"+
    "\1\23\6\0\1\24\1\2\1\0\1\16\1\0\1\25"+
    "\3\0\1\26\1\27\1\30\7\0\1\31\14\0\2\13"+
    "\7\0\1\2\1\0\1\16\25\0\2\13\2\0\1\32"+
    "\1\33\3\0\1\34\2\0\1\16\1\35\5\0\2\36"+
    "\2\0\1\37\7\0\1\40\1\0\4\41\5\0\2\13"+
    "\4\0\1\16\7\0\1\42\11\0\2\41\3\0\2\13"+
    "\4\23\7\0\4\25\4\0\1\36\1\43\1\44\1\45"+
    "\1\0\1\46\1\47\3\0\2\41\3\0\2\13\2\23"+
    "\3\0\1\50\2\0\2\25\3\0\1\51\1\0\1\52"+
    "\2\41\2\0\2\13\2\23\5\0\4\35\1\0\2\25"+
    "\5\0\2\41\2\0\1\13\2\23\2\0\2\53\2\35"+
    "\1\0\2\25\3\0\2\41\2\0\2\23\4\0\2\35"+
    "\1\0\2\25\3\0\1\54\2\41\2\0\2\23\2\0"+
    "\1\53\2\35\2\25\2\0\2\41\2\0\2\23\3\0"+
    "\2\35\2\25\3\0\1\41\1\0\2\23\2\0\2\35"+
    "\2\25\2\0\1\23\3\0\2\35\1\25\3\0\1\55"+
    "\2\35\3\0\1\35\1\0\2\56\1\0\1\56";

  private static int [] zzUnpackAction() {
    int [] result = new int[441];
    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\60\0\140\0\220\0\300\0\360\0\u0120\0\u0150"+
    "\0\u0180\0\u01b0\0\u01e0\0\u0210\0\u0240\0\u0270\0\u02a0\0\u02d0"+
    "\0\u0300\0\u0330\0\u0360\0\u0390\0\u03c0\0\u03f0\0\u0420\0\u0450"+
    "\0\u0480\0\u04b0\0\u04e0\0\u0510\0\u0540\0\u0570\0\u05a0\0\u05d0"+
    "\0\u0600\0\u0630\0\u0660\0\u0690\0\u06c0\0\60\0\u06f0\0\u0720"+
    "\0\60\0\u0750\0\u0780\0\u07b0\0\u07e0\0\u0810\0\u0840\0\u0870"+
    "\0\u08a0\0\60\0\u08d0\0\u0900\0\u0930\0\u0960\0\u0990\0\u09c0"+
    "\0\u09f0\0\u0a20\0\u0a50\0\u0a80\0\60\0\60\0\u0420\0\u0ab0"+
    "\0\u0ae0\0\u0b10\0\u0b40\0\u0b70\0\u0ba0\0\u0bd0\0\u0c00\0\u0c30"+
    "\0\u0c60\0\u0c90\0\60\0\60\0\u0cc0\0\u0cf0\0\u0d20\0\u0d50"+
    "\0\u0d80\0\u0db0\0\u0de0\0\u0e10\0\u0e40\0\u0e70\0\u0ea0\0\u0ed0"+
    "\0\u0f00\0\u0f30\0\u0f60\0\u0f90\0\60\0\u0fc0\0\u0ff0\0\u1020"+
    "\0\u1050\0\u1080\0\u10b0\0\60\0\u10e0\0\u1110\0\u1140\0\u1170"+
    "\0\60\0\u11a0\0\u11d0\0\60\0\u1200\0\u1230\0\u1260\0\u1290"+
    "\0\u12c0\0\u12f0\0\u1320\0\u1350\0\u1380\0\u13b0\0\u13e0\0\u1410"+
    "\0\u1440\0\u1470\0\u14a0\0\60\0\u14d0\0\u1500\0\u1530\0\u1560"+
    "\0\u1590\0\u15c0\0\u15f0\0\u1620\0\u1650\0\u0ea0\0\60\0\u1680"+
    "\0\u16b0\0\u16e0\0\u1710\0\u1740\0\u1770\0\u17a0\0\60\0\u17d0"+
    "\0\u1800\0\u1830\0\u1860\0\u1890\0\u18c0\0\u18f0\0\u1920\0\u1950"+
    "\0\u1980\0\u19b0\0\u19e0\0\u1a10\0\u1a40\0\u1a70\0\u1aa0\0\u1ad0"+
    "\0\u1b00\0\u1b30\0\u1b60\0\u1b90\0\u1bc0\0\u1bf0\0\u1c20\0\u1c50"+
    "\0\u1c80\0\u1cb0\0\u1ce0\0\u1d10\0\u1d40\0\u1d70\0\u1da0\0\u1dd0"+
    "\0\u1e00\0\u1e30\0\u1e60\0\u1e90\0\u1ec0\0\u1ef0\0\u1f20\0\u1f50"+
    "\0\u1f80\0\u1fb0\0\u1fe0\0\u2010\0\u2040\0\u2070\0\u20a0\0\u20d0"+
    "\0\60\0\60\0\u2100\0\u2130\0\u2160\0\60\0\u2190\0\u21c0"+
    "\0\u21f0\0\u2220\0\u2250\0\u2280\0\u22b0\0\u22e0\0\u2310\0\u2340"+
    "\0\60\0\u2370\0\u23a0\0\u23d0\0\u2400\0\u2430\0\u2460\0\u2490"+
    "\0\u24c0\0\u24f0\0\u2520\0\60\0\u2550\0\60\0\u2580\0\u25b0"+
    "\0\u25e0\0\u23d0\0\u2610\0\u2640\0\u2670\0\u26a0\0\u26d0\0\u2700"+
    "\0\u2730\0\u2760\0\u2790\0\u27c0\0\u2190\0\u27f0\0\u2820\0\u2850"+
    "\0\u2880\0\u28b0\0\u28e0\0\u2910\0\60\0\u2940\0\u2970\0\u29a0"+
    "\0\u29d0\0\u2a00\0\u2a30\0\u2a60\0\u2a90\0\u2ac0\0\u2af0\0\u2b20"+
    "\0\u2b50\0\u2b80\0\u2bb0\0\u2be0\0\u2c10\0\u2c40\0\u2c70\0\u2ca0"+
    "\0\u2cd0\0\u2d00\0\u2d30\0\u2d60\0\u2d90\0\u2dc0\0\u2df0\0\u2e20"+
    "\0\u2e50\0\u2e80\0\u2eb0\0\u2ee0\0\u2f10\0\u2f40\0\u2f70\0\u2fa0"+
    "\0\u2910\0\60\0\60\0\60\0\u2fd0\0\60\0\60\0\u3000"+
    "\0\u3030\0\u3060\0\u3090\0\u30c0\0\u30f0\0\u3120\0\u3150\0\u3180"+
    "\0\u31b0\0\u31e0\0\u3210\0\u3240\0\u3270\0\u32a0\0\u32d0\0\u3300"+
    "\0\u3330\0\u3360\0\u3390\0\u33c0\0\u33f0\0\u3420\0\60\0\u3450"+
    "\0\60\0\u3480\0\u34b0\0\u34e0\0\u3510\0\u3540\0\u3570\0\u35a0"+
    "\0\u35d0\0\u3600\0\u3630\0\u3660\0\u3690\0\u36c0\0\u36f0\0\u3720"+
    "\0\u3750\0\u3780\0\u37b0\0\u37e0\0\u3810\0\u3840\0\u3870\0\u38a0"+
    "\0\u38d0\0\u3900\0\u3930\0\u3960\0\u3990\0\u39c0\0\u39f0\0\u3a20"+
    "\0\u3a50\0\u3a80\0\u3ab0\0\u3ae0\0\60\0\u3b10\0\u3b40\0\u3b70"+
    "\0\u3ba0\0\u3bd0\0\u3c00\0\u3c30\0\u3c60\0\u3c90\0\u3cc0\0\u3cf0"+
    "\0\u3d20\0\u3d50\0\u3d80\0\u3db0\0\u3de0\0\u3e10\0\u3e40\0\u3e70"+
    "\0\u3ea0\0\u3ed0\0\u3f00\0\u3f30\0\u3f60\0\u3f90\0\u3fc0\0\60"+
    "\0\u3ff0\0\u4020\0\u4050\0\u4080\0\u40b0\0\u40e0\0\u4110\0\u4140"+
    "\0\u3e40\0\u4170\0\u41a0\0\u41d0\0\u4200\0\u4230\0\u4260\0\u4290"+
    "\0\u42c0\0\u42f0\0\u4320\0\u4350\0\u4380\0\u43b0\0\u43e0\0\u4410"+
    "\0\u4440\0\u4470\0\u44a0\0\u44d0\0\u4500\0\u4530\0\u4560\0\u4590"+
    "\0\u45c0\0\u45f0\0\u4620\0\u4650\0\u4680\0\u46b0\0\u46e0\0\u4710"+
    "\0\u4740\0\u4770\0\u47a0\0\u47d0\0\u4800\0\u4830\0\u4860\0\u4890"+
    "\0\u48c0\0\u48f0\0\u4920\0\u4950\0\u4980\0\u49b0\0\u49e0\0\u4a10"+
    "\0\u4a40\0\u4a70\0\u4aa0\0\u4ad0\0\u4b00\0\u4b30\0\60\0\u4b60"+
    "\0\u4b60";

  private static int [] zzUnpackRowMap() {
    int [] result = new int[441];
    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\12\5\1\6\1\2\1\7\2\2"+
    "\1\10\2\2\1\11\1\12\1\13\1\2\1\14\1\2"+
    "\1\15\1\2\1\16\1\17\1\20\1\21\1\22\1\23"+
    "\1\24\1\2\1\6\1\25\4\2\1\26\1\2\1\27"+
    "\2\2\61\0\1\30\1\31\12\30\2\0\1\30\1\0"+
    "\1\32\3\0\1\30\1\0\1\33\3\0\1\30\1\0"+
    "\1\34\3\0\1\30\1\35\1\30\35\0\1\36\3\0"+
    "\1\37\33\0\1\30\1\0\12\40\2\0\1\30\5\0"+
    "\1\30\1\41\1\42\3\0\1\30\5\0\1\30\1\0"+
    "\1\30\31\0\1\6\27\0\1\6\13\0\1\30\1\0"+
    "\12\30\2\0\1\30\1\43\4\0\1\30\1\0\1\33"+
    "\3\0\1\30\5\0\1\30\1\0\1\30\16\0\1\44"+
    "\35\0\1\45\20\0\1\30\1\0\12\30\2\0\1\30"+
    "\5\0\1\30\1\0\1\33\3\0\1\30\5\0\1\30"+
    "\1\0\1\30\62\0\1\46\40\0\1\47\33\0\12\50"+
    "\1\0\1\51\13\0\1\51\26\0\1\30\1\0\12\30"+
    "\2\0\1\30\5\0\1\30\1\0\1\33\3\0\1\30"+
    "\1\52\4\0\1\30\1\0\1\30\36\0\1\53\2\0"+
    "\1\54\12\0\1\55\44\0\1\56\7\0\1\57\1\0"+
    "\1\60\22\0\1\61\17\0\1\62\37\0\1\63\31\0"+
    "\1\64\5\0\1\65\16\0\1\30\1\0\12\30\2\0"+
    "\1\30\5\0\1\30\1\0\1\33\3\0\1\66\3\0"+
    "\1\67\1\0\1\30\1\0\1\30\41\0\1\70\11\0"+
    "\1\71\21\0\1\30\1\0\12\30\2\0\1\30\5\0"+
    "\1\72\1\0\1\33\3\0\1\30\1\0\1\73\3\0"+
    "\1\30\1\0\1\30\1\74\61\0\1\75\43\0\1\76"+
    "\21\0\1\76\1\77\42\0\1\100\20\0\1\101\1\0"+
    "\12\101\2\0\1\101\5\0\1\101\1\0\1\33\3\0"+
    "\1\101\5\0\1\101\1\0\1\101\17\0\1\102\1\103"+
    "\1\104\1\105\2\104\4\103\1\0\1\106\16\0\1\107"+
    "\61\0\1\110\21\0\1\111\1\0\12\111\2\0\1\111"+
    "\5\0\1\111\1\0\1\47\3\0\1\111\5\0\1\111"+
    "\1\0\1\111\51\0\1\112\65\0\1\113\3\0\1\114"+
    "\11\0\1\115\76\0\1\116\40\0\1\101\1\0\12\117"+
    "\2\0\1\101\5\0\1\101\1\41\1\42\3\0\1\101"+
    "\5\0\1\101\1\0\1\101\17\0\12\120\44\0\1\111"+
    "\1\0\12\121\2\0\1\111\5\0\1\111\1\0\1\47"+
    "\3\0\1\111\5\0\1\111\1\0\1\111\35\0\1\122"+
    "\54\0\1\123\76\0\1\124\23\0\1\125\1\0\12\125"+
    "\2\0\1\125\5\0\1\125\2\0\1\126\2\0\1\125"+
    "\5\0\1\125\1\0\1\125\17\0\12\50\1\0\1\127"+
    "\76\0\1\130\47\0\1\131\11\0\1\132\45\0\1\133"+
    "\70\0\1\134\64\0\1\135\47\0\1\136\26\0\1\61"+
    "\112\0\1\137\40\0\1\140\63\0\1\141\12\0\1\142"+
    "\43\0\1\143\37\0\1\101\1\0\12\101\2\0\1\101"+
    "\1\0\1\144\3\0\1\101\1\0\1\33\3\0\1\101"+
    "\5\0\1\101\1\0\1\101\16\0\1\145\33\0\1\146"+
    "\3\0\1\147\65\0\1\150\30\0\1\151\1\0\1\152"+
    "\35\0\1\101\1\0\12\101\2\0\1\101\1\153\4\0"+
    "\1\101\1\0\1\33\3\0\1\101\5\0\1\101\1\0"+
    "\1\101\15\0\1\154\114\0\1\155\63\0\1\156\16\0"+
    "\1\157\1\0\12\157\2\0\1\157\5\0\1\157\1\0"+
    "\1\33\3\0\1\157\5\0\1\157\1\0\1\157\31\0"+
    "\1\160\1\161\10\0\1\162\33\0\12\163\1\160\1\161"+
    "\10\0\1\162\33\0\12\103\1\160\1\161\10\0\1\162"+
    "\33\0\1\103\3\163\1\103\1\164\4\163\1\160\1\161"+
    "\10\0\1\162\31\0\14\165\1\0\1\106\4\165\1\106"+
    "\2\165\5\0\12\165\2\0\4\165\6\0\1\166\114\0"+
    "\1\167\22\0\1\170\1\0\12\170\2\0\1\170\5\0"+
    "\1\170\1\0\1\171\3\0\1\170\5\0\1\170\1\0"+
    "\1\170\41\0\1\172\53\0\1\173\55\0\1\174\41\0"+
    "\1\157\1\0\12\175\2\0\1\157\5\0\1\157\1\41"+
    "\1\42\3\0\1\157\5\0\1\157\1\0\1\157\17\0"+
    "\12\120\11\0\1\176\32\0\1\170\1\0\12\177\2\0"+
    "\1\170\5\0\1\170\1\0\1\171\3\0\1\170\5\0"+
    "\1\170\1\0\1\170\36\0\1\200\36\0\14\201\1\0"+
    "\1\123\4\201\1\123\2\201\5\0\12\201\2\0\4\201"+
    "\47\0\1\202\16\0\1\203\1\0\12\203\2\0\1\203"+
    "\5\0\1\203\1\0\1\204\1\126\2\0\1\203\5\0"+
    "\1\203\1\0\1\203\17\0\12\205\46\0\12\206\51\0"+
    "\1\144\70\0\1\207\15\0\1\210\43\0\1\211\60\0"+
    "\1\212\53\0\1\213\75\0\1\141\42\0\1\144\100\0"+
    "\1\214\54\0\1\144\45\0\1\215\61\0\1\216\53\0"+
    "\1\217\74\0\1\220\42\0\1\221\57\0\1\222\37\0"+
    "\1\223\23\0\1\224\57\0\1\225\54\0\1\141\56\0"+
    "\1\226\65\0\1\33\45\0\1\160\1\161\42\0\1\227"+
    "\13\0\1\161\43\0\1\230\15\0\1\231\2\0\1\232"+
    "\12\0\1\233\25\0\12\234\1\160\1\161\10\0\1\162"+
    "\33\0\1\163\1\235\10\163\1\160\1\161\10\0\1\162"+
    "\31\0\14\165\1\0\1\106\4\165\1\106\2\165\1\0"+
    "\1\236\3\0\12\165\2\0\4\165\26\0\1\237\76\0"+
    "\1\240\20\0\1\241\1\0\12\241\2\0\1\241\5\0"+
    "\1\241\1\0\1\171\3\0\1\241\5\0\1\241\1\0"+
    "\1\241\15\0\1\242\1\0\12\242\2\0\1\242\5\0"+
    "\1\242\1\0\1\47\3\0\1\242\5\0\1\242\1\0"+
    "\1\242\56\0\1\243\55\0\1\244\22\0\12\245\11\0"+
    "\1\41\1\42\33\0\12\246\44\0\1\241\1\0\12\247"+
    "\2\0\1\241\5\0\1\241\1\0\1\171\3\0\1\241"+
    "\5\0\1\241\1\0\1\241\32\0\1\250\42\0\14\201"+
    "\1\0\1\123\4\201\1\123\2\201\1\0\1\251\3\0"+
    "\12\201\2\0\4\201\41\0\1\144\24\0\1\252\1\0"+
    "\12\252\2\0\1\252\5\0\1\252\1\0\1\204\1\126"+
    "\2\0\1\252\5\0\1\252\1\0\1\252\15\0\1\253"+
    "\1\0\12\253\2\0\1\253\5\0\1\253\5\0\1\253"+
    "\5\0\1\253\1\0\1\253\17\0\12\205\14\0\1\254"+
    "\53\0\1\255\71\0\1\256\21\0\1\257\60\0\1\260"+
    "\40\0\1\260\16\0\1\144\116\0\1\261\40\0\1\262"+
    "\107\0\1\263\6\0\1\264\101\0\1\265\77\0\1\266"+
    "\64\0\1\267\30\0\1\270\114\0\1\76\1\271\2\0"+
    "\1\272\57\0\1\273\75\0\1\43\41\0\1\44\102\0"+
    "\1\274\35\0\12\275\1\160\1\161\10\0\1\162\33\0"+
    "\1\234\1\275\1\234\1\276\2\234\4\275\1\160\1\161"+
    "\10\0\1\162\31\0\1\277\33\0\1\300\73\0\1\301"+
    "\47\0\1\302\17\0\1\303\1\0\12\303\2\0\1\303"+
    "\5\0\1\303\1\0\1\171\3\0\1\303\5\0\1\303"+
    "\1\0\1\303\15\0\1\304\1\0\12\304\2\0\1\304"+
    "\5\0\1\304\1\0\1\305\3\0\1\304\5\0\1\304"+
    "\1\0\1\304\57\0\1\306\55\0\1\144\21\0\12\245"+
    "\11\0\1\41\1\307\33\0\12\246\11\0\1\310\32\0"+
    "\1\303\1\0\12\311\2\0\1\303\5\0\1\303\1\0"+
    "\1\171\3\0\1\303\5\0\1\303\1\0\1\303\15\0"+
    "\14\312\1\0\1\250\4\312\1\250\2\312\5\0\12\312"+
    "\2\0\4\312\6\0\1\313\20\0\1\232\12\0\1\314"+
    "\23\0\1\315\1\0\12\315\2\0\1\315\5\0\1\315"+
    "\1\0\1\204\1\126\2\0\1\315\5\0\1\315\1\0"+
    "\1\315\15\0\1\316\1\0\12\316\2\0\1\316\5\0"+
    "\1\316\1\0\1\317\1\126\2\0\1\316\5\0\1\316"+
    "\1\0\1\316\17\0\12\320\1\0\1\321\13\0\1\321"+
    "\67\0\1\322\56\0\1\323\20\0\1\324\113\0\1\144"+
    "\60\0\1\325\62\0\1\326\57\0\1\327\55\0\1\330"+
    "\70\0\1\331\52\0\1\332\50\0\1\333\47\0\1\334"+
    "\72\0\1\335\15\0\1\76\4\0\1\336\1\337\1\340"+
    "\1\341\2\340\4\337\46\0\1\342\1\343\1\344\1\345"+
    "\2\344\4\343\1\0\1\106\66\0\1\346\35\0\12\347"+
    "\1\160\1\161\10\0\1\162\33\0\1\275\1\350\10\275"+
    "\1\160\1\161\10\0\1\162\32\0\1\351\102\0\1\352"+
    "\61\0\1\171\31\0\1\353\1\0\12\353\2\0\1\353"+
    "\5\0\1\353\1\0\1\305\3\0\1\353\5\0\1\353"+
    "\1\0\1\353\15\0\1\354\1\0\12\354\2\0\1\354"+
    "\5\0\1\354\1\0\1\47\3\0\1\354\5\0\1\354"+
    "\1\0\1\354\17\0\12\355\46\0\12\356\46\0\12\355"+
    "\12\0\1\171\31\0\14\312\1\0\1\250\4\312\1\250"+
    "\2\312\1\0\1\357\3\0\12\312\2\0\4\312\7\0"+
    "\1\360\102\0\1\361\61\0\1\204\1\126\30\0\1\362"+
    "\1\0\12\362\2\0\1\362\5\0\1\362\1\0\1\317"+
    "\1\126\2\0\1\362\5\0\1\362\1\0\1\362\15\0"+
    "\1\363\1\0\12\363\2\0\1\363\5\0\1\363\5\0"+
    "\1\363\5\0\1\363\1\0\1\363\17\0\12\320\1\0"+
    "\1\364\104\0\1\365\53\0\1\366\47\0\1\162\32\0"+
    "\1\367\102\0\1\370\72\0\1\371\61\0\1\372\54\0"+
    "\1\373\45\0\1\374\71\0\1\375\62\0\1\376\20\0"+
    "\12\377\46\0\12\337\46\0\1\337\3\377\1\337\1\u0100"+
    "\4\377\46\0\12\u0101\12\0\1\162\33\0\12\343\12\0"+
    "\1\162\33\0\1\343\3\u0101\1\343\1\u0102\4\u0101\12\0"+
    "\1\162\52\0\1\u0103\40\0\12\u0104\1\160\1\161\10\0"+
    "\1\162\33\0\1\347\1\u0104\4\347\1\u0104\1\347\1\u0105"+
    "\1\u0104\1\160\1\161\10\0\1\162\33\0\1\u0106\1\u0107"+
    "\1\u0108\1\u0109\2\u0108\4\u0107\1\0\1\106\66\0\1\u010a"+
    "\33\0\1\u010b\1\0\12\u010b\2\0\1\u010b\5\0\1\u010b"+
    "\1\0\1\305\3\0\1\u010b\5\0\1\u010b\1\0\1\u010b"+
    "\15\0\1\u010c\1\0\12\u010c\2\0\1\u010c\5\0\1\u010c"+
    "\1\0\1\u010d\3\0\1\u010c\5\0\1\u010c\1\0\1\u010c"+
    "\17\0\12\356\13\0\1\u010e\30\0\1\u010f\15\0\1\231"+
    "\15\0\1\u0110\25\0\1\u0111\1\u0112\1\u0113\1\u0114\2\u0113"+
    "\4\u0112\70\0\1\u0115\33\0\1\u0116\1\0\12\u0116\2\0"+
    "\1\u0116\5\0\1\u0116\1\0\1\317\1\126\2\0\1\u0116"+
    "\5\0\1\u0116\1\0\1\u0116\15\0\1\u0117\1\0\12\u0117"+
    "\2\0\1\u0117\5\0\1\u0117\1\0\1\u0118\1\126\2\0"+
    "\1\u0117\5\0\1\u0117\1\0\1\u0117\17\0\12\u0119\63\0"+
    "\1\u011a\60\0\1\u011b\57\0\1\u011c\57\0\1\u011d\40\0"+
    "\1\u011e\112\0\1\u011f\44\0\1\u0120\57\0\1\u0121\56\0"+
    "\1\u0122\41\0\12\u0123\46\0\1\377\1\u0124\10\377\46\0"+
    "\12\u0125\12\0\1\162\33\0\1\u0101\1\u0126\10\u0101\12\0"+
    "\1\162\31\0\1\u0127\61\0\12\u0128\1\160\1\161\10\0"+
    "\1\162\33\0\1\u0104\1\u0128\4\u0104\1\u0128\2\u0104\1\u0129"+
    "\1\160\1\161\10\0\1\162\57\0\1\236\33\0\12\u012a"+
    "\12\0\1\236\33\0\12\u0107\12\0\1\236\33\0\1\u0107"+
    "\3\u012a\1\u0107\1\u012b\4\u012a\12\0\1\236\52\0\1\u012c"+
    "\64\0\1\305\31\0\1\u012d\1\0\12\u012d\2\0\1\u012d"+
    "\5\0\1\u012d\1\0\1\u010d\3\0\1\u012d\5\0\1\u012d"+
    "\1\0\1\u012d\15\0\1\u012e\1\0\12\u012e\2\0\1\u012e"+
    "\5\0\1\u012e\1\0\1\47\3\0\1\u012e\5\0\1\u012e"+
    "\1\0\1\u012e\17\0\12\u012f\45\0\1\u0130\102\0\1\u0131"+
    "\61\0\1\251\33\0\12\u0132\12\0\1\251\33\0\12\u0112"+
    "\12\0\1\251\33\0\1\u0112\3\u0132\1\u0112\1\u0133\4\u0132"+
    "\12\0\1\251\52\0\1\u0134\64\0\1\317\1\126\30\0"+
    "\1\u0135\1\0\12\u0135\2\0\1\u0135\5\0\1\u0135\1\0"+
    "\1\u0118\1\126\2\0\1\u0135\5\0\1\u0135\1\0\1\u0135"+
    "\15\0\1\u0136\1\0\12\u0136\2\0\1\u0136\5\0\1\u0136"+
    "\5\0\1\u0136\5\0\1\u0136\1\0\1\u0136\63\0\1\u0137"+
    "\31\0\1\u0138\57\0\1\u0139\114\0\1\76\4\0\12\u013a"+
    "\46\0\1\u0123\1\u013a\1\u0123\1\u013b\2\u0123\4\u013a\46\0"+
    "\12\u013c\12\0\1\162\33\0\1\u0125\1\u013c\1\u0125\1\u013d"+
    "\2\u0125\4\u013c\12\0\1\162\32\0\1\342\60\0\12\u013e"+
    "\1\160\1\161\10\0\1\162\33\0\1\u0128\3\u013e\1\u0128"+
    "\1\u013f\4\u013e\1\160\1\161\10\0\1\162\33\0\12\u0140"+
    "\12\0\1\236\33\0\1\u012a\1\u0141\10\u012a\12\0\1\236"+
    "\31\0\1\u0142\57\0\1\u0143\1\0\12\u0143\2\0\1\u0143"+
    "\5\0\1\u0143\1\0\1\u010d\3\0\1\u0143\5\0\1\u0143"+
    "\1\0\1\u0143\15\0\1\u0144\1\0\12\u0144\2\0\1\u0144"+
    "\5\0\1\u0144\1\0\1\u0145\3\0\1\u0144\5\0\1\u0144"+
    "\1\0\1\u0144\17\0\12\u012f\14\0\1\u0146\31\0\1\u0147"+
    "\1\u0148\1\u0149\1\u014a\2\u0149\4\u0148\70\0\1\u014b\35\0"+
    "\12\u014c\12\0\1\251\33\0\1\u0132\1\u014d\10\u0132\12\0"+
    "\1\251\31\0\1\u014e\57\0\1\u014f\1\0\12\u014f\2\0"+
    "\1\u014f\5\0\1\u014f\1\0\1\u0118\1\126\2\0\1\u014f"+
    "\5\0\1\u014f\1\0\1\u014f\15\0\1\u0150\1\0\12\u0150"+
    "\2\0\1\u0150\5\0\1\u0150\1\0\1\u0151\1\126\2\0"+
    "\1\u0150\5\0\1\u0150\1\0\1\u0150\54\0\1\u0152\22\0"+
    "\12\u0153\46\0\1\u013a\1\u0154\10\u013a\46\0\12\u0155\12\0"+
    "\1\162\33\0\1\u013c\1\u0156\10\u013c\12\0\1\162\33\0"+
    "\12\102\1\160\1\161\10\0\1\162\33\0\1\u013e\1\u0157"+
    "\10\u013e\1\160\1\161\10\0\1\162\33\0\12\u0158\12\0"+
    "\1\236\33\0\1\u0140\1\u0158\1\u0140\1\u0159\2\u0140\4\u0158"+
    "\12\0\1\236\32\0\1\u0106\104\0\1\u010d\31\0\1\u015a"+
    "\1\0\12\u015a\2\0\1\u015a\5\0\1\u015a\1\0\1\u0145"+
    "\3\0\1\u015a\5\0\1\u015a\1\0\1\u015a\15\0\1\u015b"+
    "\1\0\12\u015b\2\0\1\u015b\5\0\1\u015b\1\0\1\47"+
    "\3\0\1\u015b\5\0\1\u015b\1\0\1\u015b\17\0\12\u015c"+
    "\1\0\1\u015d\13\0\1\u015d\54\0\1\357\33\0\12\u015e"+
    "\12\0\1\357\33\0\12\u0148\12\0\1\357\33\0\1\u0148"+
    "\3\u015e\1\u0148\1\u015f\4\u015e\12\0\1\357\52\0\1\u0160"+
    "\40\0\12\u0161\12\0\1\251\33\0\1\u014c\1\u0161\1\u014c"+
    "\1\u0162\2\u014c\4\u0161\12\0\1\251\32\0\1\u0111\104\0"+
    "\1\u0118\1\126\30\0\1\u0163\1\0\12\u0163\2\0\1\u0163"+
    "\5\0\1\u0163\1\0\1\u0151\1\126\2\0\1\u0163\5\0"+
    "\1\u0163\1\0\1\u0163\15\0\1\u0164\1\0\12\u0164\2\0"+
    "\1\u0164\5\0\1\u0164\5\0\1\u0164\5\0\1\u0164\1\0"+
    "\1\u0164\16\0\1\u0165\60\0\12\u0166\46\0\1\u0153\1\u0166"+
    "\4\u0153\1\u0166\1\u0153\1\u0167\1\u0166\46\0\12\u0168\12\0"+
    "\1\162\33\0\1\u0155\1\u0168\4\u0155\1\u0168\1\u0155\1\u0169"+
    "\1\u0168\12\0\1\162\33\0\1\102\1\0\4\102\1\0"+
    "\1\102\2\0\1\160\1\161\10\0\1\162\33\0\12\u016a"+
    "\12\0\1\236\33\0\1\u0158\1\u016b\10\u0158\12\0\1\236"+
    "\31\0\1\u016c\1\0\12\u016c\2\0\1\u016c\5\0\1\u016c"+
    "\1\0\1\u0145\3\0\1\u016c\5\0\1\u016c\1\0\1\u016c"+
    "\15\0\1\u016d\1\0\12\u016d\2\0\1\u016d\5\0\1\u016d"+
    "\1\0\1\u016e\3\0\1\u016d\5\0\1\u016d\1\0\1\u016d"+
    "\17\0\12\u015c\1\0\1\u016f\44\0\12\u0170\12\0\1\357"+
    "\33\0\1\u015e\1\u0171\10\u015e\12\0\1\357\31\0\1\u0172"+
    "\61\0\12\u0173\12\0\1\251\33\0\1\u0161\1\u0174\10\u0161"+
    "\12\0\1\251\31\0\1\u0175\1\0\12\u0175\2\0\1\u0175"+
    "\5\0\1\u0175\1\0\1\u0151\1\126\2\0\1\u0175\5\0"+
    "\1\u0175\1\0\1\u0175\15\0\1\u0176\1\0\12\u0176\2\0"+
    "\1\u0176\5\0\1\u0176\1\0\1\u0177\1\126\2\0\1\u0176"+
    "\5\0\1\u0176\1\0\1\u0176\41\0\1\u0178\35\0\12\u0179"+
    "\46\0\1\u0166\1\u0179\4\u0166\1\u0179\2\u0166\1\u017a\46\0"+
    "\12\u017b\12\0\1\162\33\0\1\u0168\1\u017b\4\u0168\1\u017b"+
    "\2\u0168\1\u017c\12\0\1\162\33\0\12\u017d\12\0\1\236"+
    "\33\0\1\u016a\1\u017d\4\u016a\1\u017d\1\u016a\1\u017e\1\u017d"+
    "\12\0\1\236\57\0\1\u0145\31\0\1\u017f\1\0\12\u017f"+
    "\2\0\1\u017f\5\0\1\u017f\1\0\1\u016e\3\0\1\u017f"+
    "\5\0\1\u017f\1\0\1\u017f\15\0\1\u0180\1\0\12\u0180"+
    "\2\0\1\u0180\5\0\1\u0180\1\0\1\47\3\0\1\u0180"+
    "\5\0\1\u0180\1\0\1\u0180\17\0\12\u0181\46\0\12\u0182"+
    "\12\0\1\357\33\0\1\u0170\1\u0182\1\u0170\1\u0183\2\u0170"+
    "\4\u0182\12\0\1\357\32\0\1\u0147\60\0\12\u0184\12\0"+
    "\1\251\33\0\1\u0173\1\u0184\4\u0173\1\u0184\1\u0173\1\u0185"+
    "\1\u0184\12\0\1\251\57\0\1\u0151\1\126\30\0\1\u0186"+
    "\1\0\12\u0186\2\0\1\u0186\5\0\1\u0186\1\0\1\u0177"+
    "\1\126\2\0\1\u0186\5\0\1\u0186\1\0\1\u0186\15\0"+
    "\1\u0187\1\0\12\u0187\2\0\1\u0187\5\0\1\u0187\5\0"+
    "\1\u0187\5\0\1\u0187\1\0\1\u0187\17\0\12\u0188\46\0"+
    "\1\u0179\3\u0188\1\u0179\1\u0189\4\u0188\46\0\12\u018a\12\0"+
    "\1\162\33\0\1\u017b\3\u018a\1\u017b\1\u018b\4\u018a\12\0"+
    "\1\162\33\0\12\u018c\12\0\1\236\33\0\1\u017d\1\u018c"+
    "\4\u017d\1\u018c\2\u017d\1\u018d\12\0\1\236\31\0\1\u018e"+
    "\1\0\12\u018e\2\0\1\u018e\5\0\1\u018e\1\0\1\u016e"+
    "\3\0\1\u018e\5\0\1\u018e\1\0\1\u018e\15\0\1\u018f"+
    "\1\0\12\u018f\2\0\1\u018f\5\0\1\u018f\1\0\1\u0190"+
    "\3\0\1\u018f\5\0\1\u018f\1\0\1\u018f\17\0\12\u0191"+
    "\12\0\1\357\33\0\1\u0182\1\u0192\10\u0182\12\0\1\357"+
    "\33\0\12\u0193\12\0\1\251\33\0\1\u0184\1\u0193\4\u0184"+
    "\1\u0193\2\u0184\1\u0194\12\0\1\251\31\0\1\u0195\1\0"+
    "\12\u0195\2\0\1\u0195\5\0\1\u0195\1\0\1\u0177\1\126"+
    "\2\0\1\u0195\5\0\1\u0195\1\0\1\u0195\15\0\1\u0196"+
    "\1\0\12\u0196\2\0\1\u0196\5\0\1\u0196\1\0\1\u0197"+
    "\1\126\2\0\1\u0196\5\0\1\u0196\1\0\1\u0196\17\0"+
    "\12\336\46\0\1\u0188\1\u0198\10\u0188\46\0\12\342\12\0"+
    "\1\162\33\0\1\u018a\1\u0199\10\u018a\12\0\1\162\33\0"+
    "\12\u019a\12\0\1\236\33\0\1\u018c\3\u019a\1\u018c\1\u019b"+
    "\4\u019a\12\0\1\236\57\0\1\u016e\31\0\1\u019c\1\0"+
    "\12\u019c\2\0\1\u019c\5\0\1\u019c\1\0\1\u0190\3\0"+
    "\1\u019c\5\0\1\u019c\1\0\1\u019c\15\0\1\u019d\1\0"+
    "\12\u019d\2\0\1\u019d\5\0\1\u019d\1\0\1\47\3\0"+
    "\1\u019d\5\0\1\u019d\1\0\1\u019d\17\0\12\u019e\12\0"+
    "\1\357\33\0\1\u0191\1\u019e\4\u0191\1\u019e\1\u0191\1\u019f"+
    "\1\u019e\12\0\1\357\33\0\12\u01a0\12\0\1\251\33\0"+
    "\1\u0193\3\u01a0\1\u0193\1\u01a1\4\u01a0\12\0\1\251\57\0"+
    "\1\u0177\1\126\30\0\1\u01a2\1\0\12\u01a2\2\0\1\u01a2"+
    "\5\0\1\u01a2\1\0\1\u0197\1\126\2\0\1\u01a2\5\0"+
    "\1\u01a2\1\0\1\u01a2\15\0\1\u01a3\1\0\12\u01a3\2\0"+
    "\1\u01a3\5\0\1\u01a3\5\0\1\u01a3\5\0\1\u01a3\1\0"+
    "\1\u01a3\17\0\1\336\1\0\4\336\1\0\1\336\50\0"+
    "\1\342\1\0\4\342\1\0\1\342\14\0\1\162\33\0"+
    "\12\u0106\12\0\1\236\33\0\1\u019a\1\u01a4\10\u019a\12\0"+
    "\1\236\31\0\1\u01a5\1\0\12\u01a5\2\0\1\u01a5\5\0"+
    "\1\u01a5\1\0\1\u0190\3\0\1\u01a5\5\0\1\u01a5\1\0"+
    "\1\u01a5\15\0\1\u01a6\1\0\12\u01a6\2\0\1\u01a6\5\0"+
    "\1\u01a6\2\0\1\u01a7\2\0\1\u01a6\5\0\1\u01a6\1\0"+
    "\1\u01a6\17\0\12\u01a8\12\0\1\357\33\0\1\u019e\1\u01a8"+
    "\4\u019e\1\u01a8\2\u019e\1\u01a9\12\0\1\357\33\0\12\u0111"+
    "\12\0\1\251\33\0\1\u01a0\1\u01aa\10\u01a0\12\0\1\251"+
    "\31\0\1\u01ab\1\0\12\u01ab\2\0\1\u01ab\5\0\1\u01ab"+
    "\1\0\1\u0197\1\126\2\0\1\u01ab\5\0\1\u01ab\1\0"+
    "\1\u01ab\15\0\1\u01ac\1\0\12\u01ac\2\0\1\u01ac\5\0"+
    "\1\u01ac\2\0\1\126\2\0\1\u01ac\5\0\1\u01ac\1\0"+
    "\1\u01ac\17\0\1\u0106\1\0\4\u0106\1\0\1\u0106\14\0"+
    "\1\236\57\0\1\u0190\31\0\1\u01ad\1\0\12\u01ad\2\0"+
    "\1\u01ad\5\0\1\u01ad\2\0\1\u01a7\2\0\1\u01ad\5\0"+
    "\1\u01ad\1\0\1\u01ad\17\0\12\u01ae\46\0\12\u01af\12\0"+
    "\1\357\33\0\1\u01a8\3\u01af\1\u01a8\1\u01b0\4\u01af\12\0"+
    "\1\357\33\0\1\u0111\1\0\4\u0111\1\0\1\u0111\14\0"+
    "\1\251\57\0\1\u0197\1\126\30\0\1\u01b1\1\0\12\u01b1"+
    "\2\0\1\u01b1\5\0\1\u01b1\2\0\1\126\2\0\1\u01b1"+
    "\5\0\1\u01b1\1\0\1\u01b1\15\0\1\u01b2\1\0\12\u01b2"+
    "\2\0\1\u01b2\5\0\1\u01b2\2\0\1\u01a7\2\0\1\u01b2"+
    "\5\0\1\u01b2\1\0\1\u01b2\17\0\12\u01ae\14\0\1\u01b3"+
    "\31\0\12\u0147\12\0\1\357\33\0\1\u01af\1\u01b4\10\u01af"+
    "\12\0\1\357\31\0\1\u01b5\1\0\12\u01b5\2\0\1\u01b5"+
    "\5\0\1\u01b5\2\0\1\126\2\0\1\u01b5\5\0\1\u01b5"+
    "\1\0\1\u01b5\44\0\1\u01a7\32\0\12\u01b6\1\0\1\u01b7"+
    "\13\0\1\u01b7\30\0\1\u0147\1\0\4\u0147\1\0\1\u0147"+
    "\14\0\1\357\60\0\1\126\32\0\12\u01b6\1\0\1\u01b8"+
    "\44\0\12\u01b9\43\0";

  private static int [] zzUnpackTrans() {
    int [] result = new int[19344];
    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\25\1\10\0\1\1\5\0\1\11\1\0"+
    "\1\1\1\11\10\0\1\11\12\0\2\11\3\0\4\1"+
    "\5\0\2\11\2\0\1\1\1\0\1\1\2\0\1\1"+
    "\10\0\1\11\6\0\1\11\4\0\1\11\2\0\1\11"+
    "\6\0\3\1\6\0\1\11\1\1\1\0\1\1\1\0"+
    "\1\1\3\0\2\1\1\11\7\0\1\11\14\0\2\1"+
    "\7\0\1\1\1\0\1\1\25\0\2\1\2\0\2\11"+
    "\3\0\1\11\2\0\2\1\5\0\1\1\1\11\2\0"+
    "\1\1\7\0\1\11\1\0\1\11\3\1\5\0\2\1"+
    "\4\0\1\1\7\0\1\11\11\0\2\1\3\0\6\1"+
    "\7\0\4\1\4\0\1\1\3\11\1\0\2\11\3\0"+
    "\2\1\3\0\4\1\3\0\1\1\2\0\2\1\3\0"+
    "\1\11\1\0\1\11\2\1\2\0\4\1\5\0\4\1"+
    "\1\0\2\1\5\0\2\1\2\0\3\1\2\0\1\1"+
    "\1\11\2\1\1\0\2\1\3\0\2\1\2\0\2\1"+
    "\4\0\2\1\1\0\2\1\3\0\1\11\2\1\2\0"+
    "\2\1\2\0\5\1\2\0\2\1\2\0\2\1\3\0"+
    "\4\1\3\0\1\1\1\0\2\1\2\0\4\1\2\0"+
    "\1\1\3\0\3\1\3\0\3\1\3\0\1\1\1\0"+
    "\1\1\1\11\1\0\1\1";

  private static int [] zzUnpackAttribute() {
    int [] result = new int[441];
    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 ComponentsR6Parser yyparser;

    /* constructor taking an additional parser object */
    public ComponentsR6Lexer(final java.io.Reader r, final ComponentsR6Parser 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 ComponentsR6Lexer(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 ComponentsR6Lexer(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 < 170) {
      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 22: 
          { ParserHelper.validateIpv6Prefix(yytext());
    return ComponentsR6Parser.TKN_PRFXV6DC;
          }
        case 47: break;
        case 10: 
          { return ComponentsR6Parser.ASPATH_POSTFIX;
          }
        case 48: break;
        case 24: 
          { return ComponentsR6Parser.TKN_PREF;
          }
        case 49: break;
        case 28: 
          { return ComponentsR6Parser.KEYW_APPEND;
          }
        case 50: break;
        case 5: 
          { return ComponentsR6Parser.OP_APPEND;
          }
        case 51: break;
        case 15: 
          { return ComponentsR6Parser.TKN_PROTOCOL;
          }
        case 52: break;
        case 42: 
          { return ComponentsR6Parser.KEYW_NO_EXPORT;
          }
        case 53: break;
        case 25: 
          { return ComponentsR6Parser.TKN_COST;
          }
        case 54: break;
        case 19: 
          { return ComponentsR6Parser.TKN_ASNAME;
          }
        case 55: break;
        case 23: 
          { ParserHelper.validateRangeMoreSpecificsOperators(yytext());
    return ComponentsR6Parser.OP_MS_V6;
          }
        case 56: break;
        case 21: 
          { return ComponentsR6Parser.TKN_RSNAME;
          }
        case 57: break;
        case 12: 
          { return ComponentsR6Parser.OP_AND;
          }
        case 58: break;
        case 17: 
          { return ComponentsR6Parser.OP_NOT;
          }
        case 59: break;
        case 44: 
          { return ComponentsR6Parser.KEYW_NO_ADVERTISE;
          }
        case 60: break;
        case 30: 
          { ParserHelper.validateIpv6PrefixRange(yytext());
    return ComponentsR6Parser.TKN_PRFXV6DCRNG;
          }
        case 61: break;
        case 13: 
          { return ComponentsR6Parser.KEYW_ANY;
          }
        case 62: break;
        case 43: 
          { ParserHelper.validateIpv4PrefixRange(yytext());
    return ComponentsR6Parser.TKN_PRFXV4RNG;
          }
        case 63: break;
        case 3: 
          { ;
          }
        case 64: break;
        case 29: 
          { return ComponentsR6Parser.TKN_FLTRNAME;
          }
        case 65: break;
        case 31: 
          { return ComponentsR6Parser.KEYW_PEERAS;
          }
        case 66: break;
        case 4: 
          { return ComponentsR6Parser.OP_EQUAL;
          }
        case 67: break;
        case 33: 
          { ParserHelper.validateAsRange(yytext());
    return ComponentsR6Parser.TKN_ASRANGE;
          }
        case 68: break;
        case 46: 
          { ParserHelper.validateIpv6PrefixRange(yytext());
    return ComponentsR6Parser.TKN_PRFXV6RNG;
          }
        case 69: break;
        case 16: 
          { return ComponentsR6Parser.TKN_MED;
          }
        case 70: break;
        case 18: 
          { return ComponentsR6Parser.TKN_DPA;
          }
        case 71: break;
        case 32: 
          { return ComponentsR6Parser.KEYW_DELETE;
          }
        case 72: break;
        case 34: 
          { return ComponentsR6Parser.KEYW_PREPEND;
          }
        case 73: break;
        case 2: 
          { storeTokenValue();
    return ComponentsR6Parser.TKN_INT;
          }
        case 74: break;
        case 36: 
          { return ComponentsR6Parser.KEYW_IGP_COST;
          }
        case 75: break;
        case 35: 
          { return ComponentsR6Parser.KEYW_PROTOCOL;
          }
        case 76: break;
        case 6: 
          { ParserHelper.validateMoreSpecificsOperator(yytext());
    return ComponentsR6Parser.OP_MS_V6;
          }
        case 77: break;
        case 27: 
          { return ComponentsR6Parser.KEYW_ATOMIC;
          }
        case 78: break;
        case 11: 
          { ParserHelper.validateAsNumber(yytext());
    return ComponentsR6Parser.TKN_ASNO;
          }
        case 79: break;
        case 39: 
          { return ComponentsR6Parser.TKN_NEXT_HOP;
          }
        case 80: break;
        case 7: 
          { return ComponentsR6Parser.OP_MS;
          }
        case 81: break;
        case 20: 
          { return ComponentsR6Parser.KEYW_SELF;
          }
        case 82: break;
        case 41: 
          { return ComponentsR6Parser.TKN_COMMUNITY;
          }
        case 83: break;
        case 14: 
          { ParserHelper.validateCommunity(yytext());
    return ComponentsR6Parser.TKN_COMM_NO;
          }
        case 84: break;
        case 1: 
          { return yytext().charAt(0);
          }
        case 85: break;
        case 8: 
          { return ComponentsR6Parser.OP_OR;
          }
        case 86: break;
        case 45: 
          { ParserHelper.validateIpv6Prefix(yytext());
    return ComponentsR6Parser.TKN_PRFXV6;
          }
        case 87: break;
        case 37: 
          { return ComponentsR6Parser.KEYW_INTERNET;
          }
        case 88: break;
        case 26: 
          { return ComponentsR6Parser.TKN_ASPATH;
          }
        case 89: break;
        case 40: 
          { ParserHelper.validateIpv4Prefix(yytext());
    return ComponentsR6Parser.TKN_PRFXV4;
          }
        case 90: break;
        case 38: 
          { return ComponentsR6Parser.KEYW_CONTAINS;
          }
        case 91: break;
        case 9: 
          { return ComponentsR6Parser.OP_COMPARE;
          }
        case 92: break;
        default: 
          if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
            zzAtEOF = true;
            zzDoEOF();
              { return 0; }
          } 
          else {
            zzScanError(ZZ_NO_MATCH);
          }
      }
    }
  }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy