View Javadoc

    1   /* Generated By:JJTree&JavaCC: Do not edit this line. JavaParserConstants.java */
    2   package net.sourceforge.pmd.lang.java.ast;
    3
    4
    5   /**
    6    * Token literal values and constants.
    7    * Generated by org.javacc.parser.OtherFilesGen#start()
    8    */
    9   public interface JavaParserConstants {
    10
    11    /** End of File. */
    12    int EOF = 0;
    13    /** RegularExpression Id. */
    14    int SINGLE_LINE_COMMENT = 6;
    15    /** RegularExpression Id. */
    16    int FORMAL_COMMENT = 9;
    17    /** RegularExpression Id. */
    18    int MULTI_LINE_COMMENT = 10;
    19    /** RegularExpression Id. */
    20    int ABSTRACT = 12;
    21    /** RegularExpression Id. */
    22    int BOOLEAN = 13;
    23    /** RegularExpression Id. */
    24    int BREAK = 14;
    25    /** RegularExpression Id. */
    26    int BYTE = 15;
    27    /** RegularExpression Id. */
    28    int CASE = 16;
    29    /** RegularExpression Id. */
    30    int CATCH = 17;
    31    /** RegularExpression Id. */
    32    int CHAR = 18;
    33    /** RegularExpression Id. */
    34    int CLASS = 19;
    35    /** RegularExpression Id. */
    36    int CONST = 20;
    37    /** RegularExpression Id. */
    38    int CONTINUE = 21;
    39    /** RegularExpression Id. */
    40    int _DEFAULT = 22;
    41    /** RegularExpression Id. */
    42    int DO = 23;
    43    /** RegularExpression Id. */
    44    int DOUBLE = 24;
    45    /** RegularExpression Id. */
    46    int ELSE = 25;
    47    /** RegularExpression Id. */
    48    int EXTENDS = 26;
    49    /** RegularExpression Id. */
    50    int FALSE = 27;
    51    /** RegularExpression Id. */
    52    int FINAL = 28;
    53    /** RegularExpression Id. */
    54    int FINALLY = 29;
    55    /** RegularExpression Id. */
    56    int FLOAT = 30;
    57    /** RegularExpression Id. */
    58    int FOR = 31;
    59    /** RegularExpression Id. */
    60    int GOTO = 32;
    61    /** RegularExpression Id. */
    62    int IF = 33;
    63    /** RegularExpression Id. */
    64    int IMPLEMENTS = 34;
    65    /** RegularExpression Id. */
    66    int IMPORT = 35;
    67    /** RegularExpression Id. */
    68    int INSTANCEOF = 36;
    69    /** RegularExpression Id. */
    70    int INT = 37;
    71    /** RegularExpression Id. */
    72    int INTERFACE = 38;
    73    /** RegularExpression Id. */
    74    int LONG = 39;
    75    /** RegularExpression Id. */
    76    int NATIVE = 40;
    77    /** RegularExpression Id. */
    78    int NEW = 41;
    79    /** RegularExpression Id. */
    80    int NULL = 42;
    81    /** RegularExpression Id. */
    82    int PACKAGE = 43;
    83    /** RegularExpression Id. */
    84    int PRIVATE = 44;
    85    /** RegularExpression Id. */
    86    int PROTECTED = 45;
    87    /** RegularExpression Id. */
    88    int PUBLIC = 46;
    89    /** RegularExpression Id. */
    90    int RETURN = 47;
    91    /** RegularExpression Id. */
    92    int SHORT = 48;
    93    /** RegularExpression Id. */
    94    int STATIC = 49;
    95    /** RegularExpression Id. */
    96    int SUPER = 50;
    97    /** RegularExpression Id. */
    98    int SWITCH = 51;
    99    /** RegularExpression Id. */
    100   int SYNCHRONIZED = 52;
    101   /** RegularExpression Id. */
    102   int THIS = 53;
    103   /** RegularExpression Id. */
    104   int THROW = 54;
    105   /** RegularExpression Id. */
    106   int THROWS = 55;
    107   /** RegularExpression Id. */
    108   int TRANSIENT = 56;
    109   /** RegularExpression Id. */
    110   int TRUE = 57;
    111   /** RegularExpression Id. */
    112   int TRY = 58;
    113   /** RegularExpression Id. */
    114   int VOID = 59;
    115   /** RegularExpression Id. */
    116   int VOLATILE = 60;
    117   /** RegularExpression Id. */
    118   int WHILE = 61;
    119   /** RegularExpression Id. */
    120   int STRICTFP = 62;
    121   /** RegularExpression Id. */
    122   int INTEGER_LITERAL = 63;
    123   /** RegularExpression Id. */
    124   int DECIMAL_LITERAL = 64;
    125   /** RegularExpression Id. */
    126   int HEX_LITERAL = 65;
    127   /** RegularExpression Id. */
    128   int BINARY_LITERAL = 66;
    129   /** RegularExpression Id. */
    130   int OCTAL_LITERAL = 67;
    131   /** RegularExpression Id. */
    132   int FLOATING_POINT_LITERAL = 68;
    133   /** RegularExpression Id. */
    134   int HEX_FLOATING_POINT_LITERAL = 69;
    135   /** RegularExpression Id. */
    136   int EXPONENT = 70;
    137   /** RegularExpression Id. */
    138   int CHARACTER_LITERAL = 71;
    139   /** RegularExpression Id. */
    140   int STRING_LITERAL = 72;
    141   /** RegularExpression Id. */
    142   int IDENTIFIER = 73;
    143   /** RegularExpression Id. */
    144   int LETTER = 74;
    145   /** RegularExpression Id. */
    146   int PART_LETTER = 75;
    147   /** RegularExpression Id. */
    148   int LPAREN = 76;
    149   /** RegularExpression Id. */
    150   int RPAREN = 77;
    151   /** RegularExpression Id. */
    152   int LBRACE = 78;
    153   /** RegularExpression Id. */
    154   int RBRACE = 79;
    155   /** RegularExpression Id. */
    156   int LBRACKET = 80;
    157   /** RegularExpression Id. */
    158   int RBRACKET = 81;
    159   /** RegularExpression Id. */
    160   int SEMICOLON = 82;
    161   /** RegularExpression Id. */
    162   int COMMA = 83;
    163   /** RegularExpression Id. */
    164   int DOT = 84;
    165   /** RegularExpression Id. */
    166   int AT = 85;
    167   /** RegularExpression Id. */
    168   int ASSIGN = 86;
    169   /** RegularExpression Id. */
    170   int LT = 87;
    171   /** RegularExpression Id. */
    172   int BANG = 88;
    173   /** RegularExpression Id. */
    174   int TILDE = 89;
    175   /** RegularExpression Id. */
    176   int HOOK = 90;
    177   /** RegularExpression Id. */
    178   int COLON = 91;
    179   /** RegularExpression Id. */
    180   int EQ = 92;
    181   /** RegularExpression Id. */
    182   int LE = 93;
    183   /** RegularExpression Id. */
    184   int GE = 94;
    185   /** RegularExpression Id. */
    186   int NE = 95;
    187   /** RegularExpression Id. */
    188   int SC_OR = 96;
    189   /** RegularExpression Id. */
    190   int SC_AND = 97;
    191   /** RegularExpression Id. */
    192   int INCR = 98;
    193   /** RegularExpression Id. */
    194   int DECR = 99;
    195   /** RegularExpression Id. */
    196   int PLUS = 100;
    197   /** RegularExpression Id. */
    198   int MINUS = 101;
    199   /** RegularExpression Id. */
    200   int STAR = 102;
    201   /** RegularExpression Id. */
    202   int SLASH = 103;
    203   /** RegularExpression Id. */
    204   int BIT_AND = 104;
    205   /** RegularExpression Id. */
    206   int BIT_OR = 105;
    207   /** RegularExpression Id. */
    208   int XOR = 106;
    209   /** RegularExpression Id. */
    210   int REM = 107;
    211   /** RegularExpression Id. */
    212   int LSHIFT = 108;
    213   /** RegularExpression Id. */
    214   int PLUSASSIGN = 109;
    215   /** RegularExpression Id. */
    216   int MINUSASSIGN = 110;
    217   /** RegularExpression Id. */
    218   int STARASSIGN = 111;
    219   /** RegularExpression Id. */
    220   int SLASHASSIGN = 112;
    221   /** RegularExpression Id. */
    222   int ANDASSIGN = 113;
    223   /** RegularExpression Id. */
    224   int ORASSIGN = 114;
    225   /** RegularExpression Id. */
    226   int XORASSIGN = 115;
    227   /** RegularExpression Id. */
    228   int REMASSIGN = 116;
    229   /** RegularExpression Id. */
    230   int LSHIFTASSIGN = 117;
    231   /** RegularExpression Id. */
    232   int RSIGNEDSHIFTASSIGN = 118;
    233   /** RegularExpression Id. */
    234   int RUNSIGNEDSHIFTASSIGN = 119;
    235   /** RegularExpression Id. */
    236   int ELLIPSIS = 120;
    237   /** RegularExpression Id. */
    238   int RUNSIGNEDSHIFT = 121;
    239   /** RegularExpression Id. */
    240   int RSIGNEDSHIFT = 122;
    241   /** RegularExpression Id. */
    242   int GT = 123;
    243
    244   /** Lexical state. */
    245   int DEFAULT = 0;
    246   /** Lexical state. */
    247   int IN_FORMAL_COMMENT = 1;
    248   /** Lexical state. */
    249   int IN_MULTI_LINE_COMMENT = 2;
    250
    251   /** Literal token values. */
    252   String[] tokenImage = {
    253     "<EOF>",
    254     "\" \"",
    255     "\"\\t\"",
    256     "\"\\n\"",
    257     "\"\\r\"",
    258     "\"\\f\"",
    259     "<SINGLE_LINE_COMMENT>",
    260     "<token of kind 7>",
    261     "\"/*\"",
    262     "\"*/\"",
    263     "\"*/\"",
    264     "<token of kind 11>",
    265     "\"abstract\"",
    266     "\"boolean\"",
    267     "\"break\"",
    268     "\"byte\"",
    269     "\"case\"",
    270     "\"catch\"",
    271     "\"char\"",
    272     "\"class\"",
    273     "\"const\"",
    274     "\"continue\"",
    275     "\"default\"",
    276     "\"do\"",
    277     "\"double\"",
    278     "\"else\"",
    279     "\"extends\"",
    280     "\"false\"",
    281     "\"final\"",
    282     "\"finally\"",
    283     "\"float\"",
    284     "\"for\"",
    285     "\"goto\"",
    286     "\"if\"",
    287     "\"implements\"",
    288     "\"import\"",
    289     "\"instanceof\"",
    290     "\"int\"",
    291     "\"interface\"",
    292     "\"long\"",
    293     "\"native\"",
    294     "\"new\"",
    295     "\"null\"",
    296     "\"package\"",
    297     "\"private\"",
    298     "\"protected\"",
    299     "\"public\"",
    300     "\"return\"",
    301     "\"short\"",
    302     "\"static\"",
    303     "\"super\"",
    304     "\"switch\"",
    305     "\"synchronized\"",
    306     "\"this\"",
    307     "\"throw\"",
    308     "\"throws\"",
    309     "\"transient\"",
    310     "\"true\"",
    311     "\"try\"",
    312     "\"void\"",
    313     "\"volatile\"",
    314     "\"while\"",
    315     "\"strictfp\"",
    316     "<INTEGER_LITERAL>",
    317     "<DECIMAL_LITERAL>",
    318     "<HEX_LITERAL>",
    319     "<BINARY_LITERAL>",
    320     "<OCTAL_LITERAL>",
    321     "<FLOATING_POINT_LITERAL>",
    322     "<HEX_FLOATING_POINT_LITERAL>",
    323     "<EXPONENT>",
    324     "<CHARACTER_LITERAL>",
    325     "<STRING_LITERAL>",
    326     "<IDENTIFIER>",
    327     "<LETTER>",
    328     "<PART_LETTER>",
    329     "\"(\"",
    330     "\")\"",
    331     "\"{\"",
    332     "\"}\"",
    333     "\"[\"",
    334     "\"]\"",
    335     "\";\"",
    336     "\",\"",
    337     "\".\"",
    338     "\"@\"",
    339     "\"=\"",
    340     "\"<\"",
    341     "\"!\"",
    342     "\"~\"",
    343     "\"?\"",
    344     "\":\"",
    345     "\"==\"",
    346     "\"<=\"",
    347     "\">=\"",
    348     "\"!=\"",
    349     "\"||\"",
    350     "\"&&\"",
    351     "\"++\"",
    352     "\"--\"",
    353     "\"+\"",
    354     "\"-\"",
    355     "\"*\"",
    356     "\"/\"",
    357     "\"&\"",
    358     "\"|\"",
    359     "\"^\"",
    360     "\"%\"",
    361     "\"<<\"",
    362     "\"+=\"",
    363     "\"-=\"",
    364     "\"*=\"",
    365     "\"/=\"",
    366     "\"&=\"",
    367     "\"|=\"",
    368     "\"^=\"",
    369     "\"%=\"",
    370     "\"<<=\"",
    371     "\">>=\"",
    372     "\">>>=\"",
    373     "\"...\"",
    374     "\">>>\"",
    375     "\">>\"",
    376     "\">\"",
    377     "\"\\u001a\"",
    378     "\"~[]\"",
    379   };
    380
    381 }