1 15 16 package javassist.compiler; 17 18 public interface TokenId { 19 int ABSTRACT = 300; 20 int BOOLEAN = 301; 21 int BREAK = 302; 22 int BYTE = 303; 23 int CASE = 304; 24 int CATCH = 305; 25 int CHAR = 306; 26 int CLASS = 307; 27 int CONST = 308; int CONTINUE = 309; 29 int DEFAULT = 310; 30 int DO = 311; 31 int DOUBLE = 312; 32 int ELSE = 313; 33 int EXTENDS = 314; 34 int FINAL = 315; 35 int FINALLY = 316; 36 int FLOAT = 317; 37 int FOR = 318; 38 int GOTO = 319; int IF = 320; 40 int IMPLEMENTS = 321; 41 int IMPORT = 322; 42 int INSTANCEOF = 323; 43 int INT = 324; 44 int INTERFACE = 325; 45 int LONG = 326; 46 int NATIVE = 327; 47 int NEW = 328; 48 int PACKAGE = 329; 49 int PRIVATE = 330; 50 int PROTECTED = 331; 51 int PUBLIC = 332; 52 int RETURN = 333; 53 int SHORT = 334; 54 int STATIC = 335; 55 int SUPER = 336; 56 int SWITCH = 337; 57 int SYNCHRONIZED = 338; 58 int THIS = 339; 59 int THROW = 340; 60 int THROWS = 341; 61 int TRANSIENT = 342; 62 int TRY = 343; 63 int VOID = 344; 64 int VOLATILE = 345; 65 int WHILE = 346; 66 int STRICT = 347; 67 68 int NEQ = 350; int MOD_E = 351; int AND_E = 352; int MUL_E = 353; int PLUS_E = 354; int MINUS_E = 355; int DIV_E = 356; int LE = 357; int EQ = 358; int GE = 359; int EXOR_E = 360; int OR_E = 361; int PLUSPLUS = 362; int MINUSMINUS = 363; int LSHIFT = 364; int LSHIFT_E = 365; int RSHIFT = 366; int RSHIFT_E = 367; int OROR = 368; int ANDAND = 369; int ARSHIFT = 370; int ARSHIFT_E = 371; 91 String opNames[] = { "!=", "%=", "&=", "*=", "+=", "-=", "/=", 93 "<=", "==", ">=", "^=", "|=", "++", "--", 94 "<<", "<<=", ">>", ">>=", "||", "&&", ">>>", 95 ">>>=" }; 96 97 int assignOps[] = { '%', '&', '*', '+', '-', '/', 0, 0, 0, 99 '^', '|', 0, 0, 0, LSHIFT, 0, RSHIFT, 0, 0, 0, 100 ARSHIFT }; 101 102 int Identifier = 400; 103 int CharConstant = 401; 104 int IntConstant = 402; 105 int LongConstant = 403; 106 int FloatConstant = 404; 107 int DoubleConstant = 405; 108 int StringL = 406; 109 110 int TRUE = 410; 111 int FALSE = 411; 112 int NULL = 412; 113 114 int CALL = 'C'; int ARRAY = 'A'; int MEMBER = '#'; 118 int EXPR = 'E'; int LABEL = 'L'; int BLOCK = 'B'; int DECL = 'D'; 123 int BadToken = 500; 124 } 125 | Popular Tags |