public IElementType advance() throws java.io.IOException
  {
    int zzInput;
    int zzAction;

    // cached fields:
    int zzCurrentPosL;
    int zzMarkedPosL;
    int zzEndReadL = zzEndRead;
    CharSequence zzBufferL = zzBuffer;

    int [] zzTransL = ZZ_TRANS;
    int [] zzRowMapL = ZZ_ROWMAP;
    int [] zzAttrL = ZZ_ATTRIBUTE;

    while (true) {
      zzMarkedPosL = zzMarkedPos;

      zzAction = -1;

      zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL;

      zzState = ZZ_LEXSTATE[zzLexicalState];

      // set up zzAction for empty match case:
      int zzAttributes = zzAttrL[zzState];
      if ( (zzAttributes & 1) == 1 ) {
        zzAction = zzState;
      }


      zzForAction: {
        while (true) {

          if (zzCurrentPosL < zzEndReadL) {
            zzInput = Character.codePointAt(zzBufferL, zzCurrentPosL);
            zzCurrentPosL += Character.charCount(zzInput);
          }
          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 = Character.codePointAt(zzBufferL, zzCurrentPosL);
              zzCurrentPosL += Character.charCount(zzInput);
            }
          }
          int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMap(zzInput) ];
          if (zzNext == -1) break zzForAction;
          zzState = zzNext;

          zzAttributes = zzAttrL[zzState];
          if ( (zzAttributes & 1) == 1 ) {
            zzAction = zzState;
            zzMarkedPosL = zzCurrentPosL;
            if ( (zzAttributes & 8) == 8 ) break zzForAction;
          }

        }
      }

      // store back cached position
      zzMarkedPos = zzMarkedPosL;

      if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
        zzAtEOF = true;
            zzDoEOF();
        return null;
      }
      else {
        switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) {
          case 1:
            { yyinitial(); return BAD_CHARACTER;
            }
          // fall through
          case 75: break;
          case 2:
            { return WHITE_SPACE;
            }
          // fall through
          case 76: break;
          case 3:
            { yyinitial(); return EOL;
            }
          // fall through
          case 77: break;
          case 4:
            { return COMMENT;
            }
          // fall through
          case 78: break;
          case 5:
            { yypush(SHORT_OPTION_STATE); return SHORT_OPTION;
            }
          // fall through
          case 79: break;
          case 6:
            { yypush(REQ); yypushback(yylength());
            }
          // fall through
          case 80: break;
          case 7:
            { yypop(); return VERSION;
            }
          // fall through
          case 81: break;
          case 8:
            { yypop(); return COMMENT;
            }
          // fall through
          case 82: break;
          case 9:
            { return PYTHON_STR_C;
            }
          // fall through
          case 83: break;
          case 10:
            { yypop(); return DQUOTE;
            }
          // fall through
          case 84: break;
          case 11:
            { yypop(); return SQUOTE;
            }
          // fall through
          case 85: break;
          case 12:
            { yypush(DQUOTE_STR); return DQUOTE;
            }
          // fall through
          case 86: break;
          case 13:
            { yyinitial(); return COMMENT;
            }
          // fall through
          case 87: break;
          case 14:
            { yypush(SQUOTE_STR); return SQUOTE;
            }
          // fall through
          case 88: break;
          case 15:
            { return LPARENTHESIS;
            }
          // fall through
          case 89: break;
          case 16:
            { return RPARENTHESIS;
            }
          // fall through
          case 90: break;
          case 17:
            { return VERSION_CMP;
            }
          // fall through
          case 91: break;
          case 18:
            { return SUB_DELIMS;
            }
          // fall through
          case 92: break;
          case 19:
            { return SHARP;
            }
          // fall through
          case 93: break;
          case 20:
            { return DOLLAR_SIGN;
            }
          // fall through
          case 94: break;
          case 21:
            { return PERCENT_SIGN;
            }
          // fall through
          case 95: break;
          case 22:
            { return PLUS;
            }
          // fall through
          case 96: break;
          case 23:
            { return MINUS;
            }
          // fall through
          case 97: break;
          case 24:
            { return DOT;
            }
          // fall through
          case 98: break;
          case 25:
            { return SLASH;
            }
          // fall through
          case 99: break;
          case 26:
            { return DIGIT;
            }
          // fall through
          case 100: break;
          case 27:
            { return COLON;
            }
          // fall through
          case 101: break;
          case 28:
            { return QUESTION_MARK;
            }
          // fall through
          case 102: break;
          case 29:
            { return AT;
            }
          // fall through
          case 103: break;
          case 30:
            { return LETTER;
            }
          // fall through
          case 104: break;
          case 31:
            { return LSBRACE;
            }
          // fall through
          case 105: break;
          case 32:
            { return RSBRACE;
            }
          // fall through
          case 106: break;
          case 33:
            { return UNDERSCORE;
            }
          // fall through
          case 107: break;
          case 34:
            { return LBRACE;
            }
          // fall through
          case 108: break;
          case 35:
            { return RBRACE;
            }
          // fall through
          case 109: break;
          case 36:
            { return TILDA;
            }
          // fall through
          case 110: break;
          case 37:
            { return COMMA;
            }
          // fall through
          case 111: break;
          case 38:
            { yypush(URI); yypushback(yylength());
            }
          // fall through
          case 112: break;
          case 39:
            { return IDENTIFIER;
            }
          // fall through
          case 113: break;
          case 40:
            { yypush(QUOTED_MARK); return SEMICOLON;
            }
          // fall through
          case 114: break;
          case 41:
            { yypush(WAITING_VERSION); return VERSION_CMP;
            }
          // fall through
          case 115: break;
          case 42:
            { yypush(URI); return AT;
            }
          // fall through
          case 116: break;
          case 43:
            { yypush(URI); return CONSTRAINT;
            }
          // fall through
          case 117: break;
          case 44:
            { yypush(URI); return EDITABLE;
            }
          // fall through
          case 118: break;
          case 45:
            { yypush(URI); return FIND_LINKS;
            }
          // fall through
          case 119: break;
          case 46:
            { yypush(URI); return INDEX_URL;
            }
          // fall through
          case 120: break;
          case 47:
            { yypush(URI); return REFER;
            }
          // fall through
          case 121: break;
          case 48:
            { yypush(WAITING_ALG); return EQUAL;
            }
          // fall through
          case 122: break;
          case 49:
            { yypush(WAITING_COLON); return IDENTIFIER;
            }
          // fall through
          case 123: break;
          case 50:
            { yypush(WAITING_HASH_VALUE); return COLON;
            }
          // fall through
          case 124: break;
          case 51:
            { yypush(REQ); return WHITE_SPACE;
            }
          // fall through
          case 125: break;
          case 52:
            { yypush(REQ); return COMMENT;
            }
          // fall through
          case 126: break;
          case 53:
            { yypush(REQ); return HEX;
            }
          // fall through
          case 127: break;
          case 54:
            { yyinitial(); return IDENTIFIER;
            }
          // fall through
          case 128: break;
          case 55:
            { yypush(LONG_OPTION_STATE); return LONG_OPTION;
            }
          // fall through
          case 129: break;
          case 56:
            { 
            }
          // fall through
          case 130: break;
          case 57:
            { return IN;
            }
          // fall through
          case 131: break;
          case 58:
            { return OR;
            }
          // fall through
          case 132: break;
          case 59:
            { yypush(WAITING_HASH); return LONG_OPTION;
            }
          // fall through
          case 133: break;
          case 60:
            { return AND;
            }
          // fall through
          case 134: break;
          case 61:
            { return NOT;
            }
          // fall through
          case 135: break;
          case 62:
            { return PRE;
            }
          // fall through
          case 136: break;
          case 63:
            { yypush(WAITING_EQUAL); return HASH;
            }
          // fall through
          case 137: break;
          case 64:
            { return ENV_VAR;
            }
          // fall through
          case 138: break;
          case 65:
            { return BINARY_ALL;
            }
          // fall through
          case 139: break;
          case 66:
            { return BINARY_NONE;
            }
          // fall through
          case 140: break;
          case 67:
            { return NO_INDEX;
            }
          // fall through
          case 141: break;
          case 68:
            { yypush(BINARY); return NO_BINARY;
            }
          // fall through
          case 142: break;
          case 69:
            { yypush(BINARY); return ONLY_BINARY;
            }
          // fall through
          case 143: break;
          case 70:
            { yypush(WAITING_IDENTIFIER); return USE_FEATURE;
            }
          // fall through
          case 144: break;
          case 71:
            { yypush(URI); return TRUSTED_HOST;
            }
          // fall through
          case 145: break;
          case 72:
            { return PREFER_BINARY;
            }
          // fall through
          case 146: break;
          case 73:
            { return REQUIRE_HASHES;
            }
          // fall through
          case 147: break;
          case 74:
            { yypush(URI); return EXTRA_INDEX_URL;
            }
          // fall through
          case 148: break;
          default:
            zzScanError(ZZ_NO_MATCH);
          }
      }
    }
  }
public IElementType advance()