591 lines · 19.8 KB · Java
RawDownload
    int CONST           = 123;    int STATIC          = 124;    int TRANSIENT       = 125;    int SYNCHRONIZED    = 126;    int NATIVE          = 127;    int FINAL           = 128;    int VOLATILE        = 129;    int ABSTRACT        = 130;    int STRICTFP        = 131;     /*     * Punctuation     */    int SEMICOLON       = 135;    int COLON           = 136;    int QUESTIONMARK    = 137;    int LBRACE          = 138;    int RBRACE          = 139;    int LPAREN          = 140;    int RPAREN          = 141;    int LSQBRACKET      = 142;    int RSQBRACKET      = 143;    int THROWS          = 144;     /*     * Special tokens     */    int ERROR           = 145;          // an error    int COMMENT         = 146;          // not used anymore.    int TYPE            = 147;    int LENGTH          = 148;    int INLINERETURN    = 149;    int INLINEMETHOD    = 150;    int INLINENEWINSTANCE       = 151;     /*     * Operator precedence     */    int opPrecedence[] = {        10, 11, 11, 11, 11, 11, 11, 11, 11, 11,        11, 11, 11, 12, 13, 14, 15, 16, 17, 18,        18, 19, 19, 19, 19, 19, 20, 20, 20, 21,        21, 22, 22, 22, 23, 24, 24, 24, 24, 24,        24, 25, 25, 26, 26, 26, 26, 26, 26    };     /*     * Operator names     */    String opNames[] = {        ",",    "=",    "*=",   "/=",   "%=",        "+=",   "-=",   "<<=",  ">>=",  ">>>=",        "&=",   "|=",   "^=",   "?:",   "||",        "&&",   "|",    "^",    "&",    "!=",        "==",   ">=",   ">",    "<=",   "<",        "instanceof", "<<", ">>", ">>>", "+",        "-",    "/",    "%",    "*",    "cast",        "+",    "-",    "!",    "~",    "++",        "--",   "new",  "new",  "new",  "++",        "--",   "field","method","[]",  "new",        "++",   "--",   null,   null,   null,         "convert", "expr", "array", "goto", null,         "Identifier", "boolean", "byte", "char", "short",        "int", "long", "float", "double", "string",         "byte", "char", "short", "int", "long",        "float", "double", "void", "boolean", null,         "true", "false", "this", "super", "null",        null,   null,   null,   null,   null,         "if",   "else", "for",  "while","do",        "switch", "case", "default", "break", "continue",        "return", "try", "catch", "finally", "throw",        "stat", "expression", "declaration", "declaration", null,         "import", "class", "extends", "implements", "interface",        "package", null, null,  null,   null,         "private", "public", "protected", "const", "static",        "transient", "synchronized", "native", "final", "volatile",        "abstract", "strictfp", null, null, null,         ";",    ":",    "?",    "{",    "}",        "(",    ")",    "[",    "]",    "throws",        "error", "comment", "type", "length", "inline-return",        "inline-method", "inline-new"    };}

Lines 501–591 of 591. Previous lines