Home | History | Annotate | Download | only in javaparser
      1 /* Generated By:JavaCC: Do not edit this line. GeneratedJavaParserConstants.java */
      2 /*
      3  * Copyright (C) 2007-2010 Jlio Vilmar Gesser.
      4  * Copyright (C) 2011, 2013-2016 The JavaParser Team.
      5  *
      6  * This file is part of JavaParser.
      7  *
      8  * JavaParser can be used either under the terms of
      9  * a) the GNU Lesser General Public License as published by
     10  *     the Free Software Foundation, either version 3 of the License, or
     11  *     (at your option) any later version.
     12  * b) the terms of the Apache License
     13  *
     14  * You should have received a copy of both licenses in LICENCE.LGPL and
     15  * LICENCE.APACHE. Please refer to those files for details.
     16  *
     17  * JavaParser is distributed in the hope that it will be useful,
     18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     20  * GNU Lesser General Public License for more details.
     21  */
     22 package com.github.javaparser;
     23 
     24 
     25 /**
     26  * Token literal values and constants.
     27  * Generated by org.javacc.parser.OtherFilesGen#start()
     28  */
     29 public interface GeneratedJavaParserConstants {
     30 
     31   /** End of File. */
     32   int EOF = 0;
     33   /** RegularExpression Id. */
     34   int SPACE = 1;
     35   /** RegularExpression Id. */
     36   int WINDOWS_EOL = 2;
     37   /** RegularExpression Id. */
     38   int UNIX_EOL = 3;
     39   /** RegularExpression Id. */
     40   int OLD_MAC_EOL = 4;
     41   /** RegularExpression Id. */
     42   int SINGLE_LINE_COMMENT = 5;
     43   /** RegularExpression Id. */
     44   int ENTER_JAVADOC_COMMENT = 6;
     45   /** RegularExpression Id. */
     46   int ENTER_MULTILINE_COMMENT = 7;
     47   /** RegularExpression Id. */
     48   int JAVADOC_COMMENT = 8;
     49   /** RegularExpression Id. */
     50   int MULTI_LINE_COMMENT = 9;
     51   /** RegularExpression Id. */
     52   int COMMENT_CONTENT = 10;
     53   /** RegularExpression Id. */
     54   int ABSTRACT = 11;
     55   /** RegularExpression Id. */
     56   int ASSERT = 12;
     57   /** RegularExpression Id. */
     58   int BOOLEAN = 13;
     59   /** RegularExpression Id. */
     60   int BREAK = 14;
     61   /** RegularExpression Id. */
     62   int BYTE = 15;
     63   /** RegularExpression Id. */
     64   int CASE = 16;
     65   /** RegularExpression Id. */
     66   int CATCH = 17;
     67   /** RegularExpression Id. */
     68   int CHAR = 18;
     69   /** RegularExpression Id. */
     70   int CLASS = 19;
     71   /** RegularExpression Id. */
     72   int CONST = 20;
     73   /** RegularExpression Id. */
     74   int CONTINUE = 21;
     75   /** RegularExpression Id. */
     76   int _DEFAULT = 22;
     77   /** RegularExpression Id. */
     78   int DO = 23;
     79   /** RegularExpression Id. */
     80   int DOUBLE = 24;
     81   /** RegularExpression Id. */
     82   int ELSE = 25;
     83   /** RegularExpression Id. */
     84   int ENUM = 26;
     85   /** RegularExpression Id. */
     86   int EXTENDS = 27;
     87   /** RegularExpression Id. */
     88   int FALSE = 28;
     89   /** RegularExpression Id. */
     90   int FINAL = 29;
     91   /** RegularExpression Id. */
     92   int FINALLY = 30;
     93   /** RegularExpression Id. */
     94   int FLOAT = 31;
     95   /** RegularExpression Id. */
     96   int FOR = 32;
     97   /** RegularExpression Id. */
     98   int GOTO = 33;
     99   /** RegularExpression Id. */
    100   int IF = 34;
    101   /** RegularExpression Id. */
    102   int IMPLEMENTS = 35;
    103   /** RegularExpression Id. */
    104   int IMPORT = 36;
    105   /** RegularExpression Id. */
    106   int INSTANCEOF = 37;
    107   /** RegularExpression Id. */
    108   int INT = 38;
    109   /** RegularExpression Id. */
    110   int INTERFACE = 39;
    111   /** RegularExpression Id. */
    112   int LONG = 40;
    113   /** RegularExpression Id. */
    114   int NATIVE = 41;
    115   /** RegularExpression Id. */
    116   int NEW = 42;
    117   /** RegularExpression Id. */
    118   int NULL = 43;
    119   /** RegularExpression Id. */
    120   int PACKAGE = 44;
    121   /** RegularExpression Id. */
    122   int PRIVATE = 45;
    123   /** RegularExpression Id. */
    124   int PROTECTED = 46;
    125   /** RegularExpression Id. */
    126   int PUBLIC = 47;
    127   /** RegularExpression Id. */
    128   int RETURN = 48;
    129   /** RegularExpression Id. */
    130   int SHORT = 49;
    131   /** RegularExpression Id. */
    132   int STATIC = 50;
    133   /** RegularExpression Id. */
    134   int STRICTFP = 51;
    135   /** RegularExpression Id. */
    136   int SUPER = 52;
    137   /** RegularExpression Id. */
    138   int SWITCH = 53;
    139   /** RegularExpression Id. */
    140   int SYNCHRONIZED = 54;
    141   /** RegularExpression Id. */
    142   int THIS = 55;
    143   /** RegularExpression Id. */
    144   int THROW = 56;
    145   /** RegularExpression Id. */
    146   int THROWS = 57;
    147   /** RegularExpression Id. */
    148   int TRANSIENT = 58;
    149   /** RegularExpression Id. */
    150   int TRUE = 59;
    151   /** RegularExpression Id. */
    152   int TRY = 60;
    153   /** RegularExpression Id. */
    154   int VOID = 61;
    155   /** RegularExpression Id. */
    156   int VOLATILE = 62;
    157   /** RegularExpression Id. */
    158   int WHILE = 63;
    159   /** RegularExpression Id. */
    160   int REQUIRES = 64;
    161   /** RegularExpression Id. */
    162   int TO = 65;
    163   /** RegularExpression Id. */
    164   int WITH = 66;
    165   /** RegularExpression Id. */
    166   int OPEN = 67;
    167   /** RegularExpression Id. */
    168   int OPENS = 68;
    169   /** RegularExpression Id. */
    170   int USES = 69;
    171   /** RegularExpression Id. */
    172   int MODULE = 70;
    173   /** RegularExpression Id. */
    174   int EXPORTS = 71;
    175   /** RegularExpression Id. */
    176   int PROVIDES = 72;
    177   /** RegularExpression Id. */
    178   int TRANSITIVE = 73;
    179   /** RegularExpression Id. */
    180   int LONG_LITERAL = 74;
    181   /** RegularExpression Id. */
    182   int INTEGER_LITERAL = 75;
    183   /** RegularExpression Id. */
    184   int DECIMAL_LITERAL = 76;
    185   /** RegularExpression Id. */
    186   int HEX_LITERAL = 77;
    187   /** RegularExpression Id. */
    188   int OCTAL_LITERAL = 78;
    189   /** RegularExpression Id. */
    190   int BINARY_LITERAL = 79;
    191   /** RegularExpression Id. */
    192   int FLOATING_POINT_LITERAL = 80;
    193   /** RegularExpression Id. */
    194   int DECIMAL_FLOATING_POINT_LITERAL = 81;
    195   /** RegularExpression Id. */
    196   int DECIMAL_EXPONENT = 82;
    197   /** RegularExpression Id. */
    198   int HEXADECIMAL_FLOATING_POINT_LITERAL = 83;
    199   /** RegularExpression Id. */
    200   int HEXADECIMAL_EXPONENT = 84;
    201   /** RegularExpression Id. */
    202   int HEX_DIGITS = 85;
    203   /** RegularExpression Id. */
    204   int UNICODE_ESCAPE = 86;
    205   /** RegularExpression Id. */
    206   int CHARACTER_LITERAL = 87;
    207   /** RegularExpression Id. */
    208   int STRING_LITERAL = 88;
    209   /** RegularExpression Id. */
    210   int IDENTIFIER = 89;
    211   /** RegularExpression Id. */
    212   int LETTER = 90;
    213   /** RegularExpression Id. */
    214   int PART_LETTER = 91;
    215   /** RegularExpression Id. */
    216   int LPAREN = 92;
    217   /** RegularExpression Id. */
    218   int RPAREN = 93;
    219   /** RegularExpression Id. */
    220   int LBRACE = 94;
    221   /** RegularExpression Id. */
    222   int RBRACE = 95;
    223   /** RegularExpression Id. */
    224   int LBRACKET = 96;
    225   /** RegularExpression Id. */
    226   int RBRACKET = 97;
    227   /** RegularExpression Id. */
    228   int SEMICOLON = 98;
    229   /** RegularExpression Id. */
    230   int COMMA = 99;
    231   /** RegularExpression Id. */
    232   int DOT = 100;
    233   /** RegularExpression Id. */
    234   int AT = 101;
    235   /** RegularExpression Id. */
    236   int ASSIGN = 102;
    237   /** RegularExpression Id. */
    238   int LT = 103;
    239   /** RegularExpression Id. */
    240   int BANG = 104;
    241   /** RegularExpression Id. */
    242   int TILDE = 105;
    243   /** RegularExpression Id. */
    244   int HOOK = 106;
    245   /** RegularExpression Id. */
    246   int COLON = 107;
    247   /** RegularExpression Id. */
    248   int EQ = 108;
    249   /** RegularExpression Id. */
    250   int LE = 109;
    251   /** RegularExpression Id. */
    252   int GE = 110;
    253   /** RegularExpression Id. */
    254   int NE = 111;
    255   /** RegularExpression Id. */
    256   int SC_OR = 112;
    257   /** RegularExpression Id. */
    258   int SC_AND = 113;
    259   /** RegularExpression Id. */
    260   int INCR = 114;
    261   /** RegularExpression Id. */
    262   int DECR = 115;
    263   /** RegularExpression Id. */
    264   int PLUS = 116;
    265   /** RegularExpression Id. */
    266   int MINUS = 117;
    267   /** RegularExpression Id. */
    268   int STAR = 118;
    269   /** RegularExpression Id. */
    270   int SLASH = 119;
    271   /** RegularExpression Id. */
    272   int BIT_AND = 120;
    273   /** RegularExpression Id. */
    274   int BIT_OR = 121;
    275   /** RegularExpression Id. */
    276   int XOR = 122;
    277   /** RegularExpression Id. */
    278   int REM = 123;
    279   /** RegularExpression Id. */
    280   int LSHIFT = 124;
    281   /** RegularExpression Id. */
    282   int PLUSASSIGN = 125;
    283   /** RegularExpression Id. */
    284   int MINUSASSIGN = 126;
    285   /** RegularExpression Id. */
    286   int STARASSIGN = 127;
    287   /** RegularExpression Id. */
    288   int SLASHASSIGN = 128;
    289   /** RegularExpression Id. */
    290   int ANDASSIGN = 129;
    291   /** RegularExpression Id. */
    292   int ORASSIGN = 130;
    293   /** RegularExpression Id. */
    294   int XORASSIGN = 131;
    295   /** RegularExpression Id. */
    296   int REMASSIGN = 132;
    297   /** RegularExpression Id. */
    298   int LSHIFTASSIGN = 133;
    299   /** RegularExpression Id. */
    300   int RSIGNEDSHIFTASSIGN = 134;
    301   /** RegularExpression Id. */
    302   int RUNSIGNEDSHIFTASSIGN = 135;
    303   /** RegularExpression Id. */
    304   int ELLIPSIS = 136;
    305   /** RegularExpression Id. */
    306   int ARROW = 137;
    307   /** RegularExpression Id. */
    308   int DOUBLECOLON = 138;
    309   /** RegularExpression Id. */
    310   int RUNSIGNEDSHIFT = 139;
    311   /** RegularExpression Id. */
    312   int RSIGNEDSHIFT = 140;
    313   /** RegularExpression Id. */
    314   int GT = 141;
    315   /** RegularExpression Id. */
    316   int CTRL_Z = 142;
    317 
    318   /** Lexical state. */
    319   int DEFAULT = 0;
    320   /** Lexical state. */
    321   int IN_JAVADOC_COMMENT = 1;
    322   /** Lexical state. */
    323   int IN_MULTI_LINE_COMMENT = 2;
    324 
    325   /** Literal token values. */
    326   String[] tokenImage = {
    327     "<EOF>",
    328     "<SPACE>",
    329     "\"\\r\\n\"",
    330     "\"\\n\"",
    331     "\"\\r\"",
    332     "<SINGLE_LINE_COMMENT>",
    333     "<ENTER_JAVADOC_COMMENT>",
    334     "\"/*\"",
    335     "\"*/\"",
    336     "\"*/\"",
    337     "<COMMENT_CONTENT>",
    338     "\"abstract\"",
    339     "\"assert\"",
    340     "\"boolean\"",
    341     "\"break\"",
    342     "\"byte\"",
    343     "\"case\"",
    344     "\"catch\"",
    345     "\"char\"",
    346     "\"class\"",
    347     "\"const\"",
    348     "\"continue\"",
    349     "\"default\"",
    350     "\"do\"",
    351     "\"double\"",
    352     "\"else\"",
    353     "\"enum\"",
    354     "\"extends\"",
    355     "\"false\"",
    356     "\"final\"",
    357     "\"finally\"",
    358     "\"float\"",
    359     "\"for\"",
    360     "\"goto\"",
    361     "\"if\"",
    362     "\"implements\"",
    363     "\"import\"",
    364     "\"instanceof\"",
    365     "\"int\"",
    366     "\"interface\"",
    367     "\"long\"",
    368     "\"native\"",
    369     "\"new\"",
    370     "\"null\"",
    371     "\"package\"",
    372     "\"private\"",
    373     "\"protected\"",
    374     "\"public\"",
    375     "\"return\"",
    376     "\"short\"",
    377     "\"static\"",
    378     "\"strictfp\"",
    379     "\"super\"",
    380     "\"switch\"",
    381     "\"synchronized\"",
    382     "\"this\"",
    383     "\"throw\"",
    384     "\"throws\"",
    385     "\"transient\"",
    386     "\"true\"",
    387     "\"try\"",
    388     "\"void\"",
    389     "\"volatile\"",
    390     "\"while\"",
    391     "\"requires\"",
    392     "\"to\"",
    393     "\"with\"",
    394     "\"open\"",
    395     "\"opens\"",
    396     "\"uses\"",
    397     "\"module\"",
    398     "\"exports\"",
    399     "\"provides\"",
    400     "\"transitive\"",
    401     "<LONG_LITERAL>",
    402     "<INTEGER_LITERAL>",
    403     "<DECIMAL_LITERAL>",
    404     "<HEX_LITERAL>",
    405     "<OCTAL_LITERAL>",
    406     "<BINARY_LITERAL>",
    407     "<FLOATING_POINT_LITERAL>",
    408     "<DECIMAL_FLOATING_POINT_LITERAL>",
    409     "<DECIMAL_EXPONENT>",
    410     "<HEXADECIMAL_FLOATING_POINT_LITERAL>",
    411     "<HEXADECIMAL_EXPONENT>",
    412     "<HEX_DIGITS>",
    413     "<UNICODE_ESCAPE>",
    414     "<CHARACTER_LITERAL>",
    415     "<STRING_LITERAL>",
    416     "<IDENTIFIER>",
    417     "<LETTER>",
    418     "<PART_LETTER>",
    419     "\"(\"",
    420     "\")\"",
    421     "\"{\"",
    422     "\"}\"",
    423     "\"[\"",
    424     "\"]\"",
    425     "\";\"",
    426     "\",\"",
    427     "\".\"",
    428     "\"@\"",
    429     "\"=\"",
    430     "\"<\"",
    431     "\"!\"",
    432     "\"~\"",
    433     "\"?\"",
    434     "\":\"",
    435     "\"==\"",
    436     "\"<=\"",
    437     "\">=\"",
    438     "\"!=\"",
    439     "\"||\"",
    440     "\"&&\"",
    441     "\"++\"",
    442     "\"--\"",
    443     "\"+\"",
    444     "\"-\"",
    445     "\"*\"",
    446     "\"/\"",
    447     "\"&\"",
    448     "\"|\"",
    449     "\"^\"",
    450     "\"%\"",
    451     "\"<<\"",
    452     "\"+=\"",
    453     "\"-=\"",
    454     "\"*=\"",
    455     "\"/=\"",
    456     "\"&=\"",
    457     "\"|=\"",
    458     "\"^=\"",
    459     "\"%=\"",
    460     "\"<<=\"",
    461     "\">>=\"",
    462     "\">>>=\"",
    463     "\"...\"",
    464     "\"->\"",
    465     "\"::\"",
    466     "\">>>\"",
    467     "\">>\"",
    468     "\">\"",
    469     "\"\\u001a\"",
    470   };
    471 
    472 }
    473