001 /* Generated By:JavaCC: Do not edit this line. JavaParserConstants.java */ 002 003 /* 004 * Cobertura - http://cobertura.sourceforge.net/ 005 * 006 * This file was taken from JavaNCSS 007 * http://www.kclee.com/clemens/java/javancss/ 008 * Copyright (C) 2000 Chr. Clemens Lee <clemens a.t kclee d.o.t com> 009 * 010 * Cobertura is free software; you can redistribute it and/or modify 011 * it under the terms of the GNU General Public License as published 012 * by the Free Software Foundation; either version 2 of the License, 013 * or (at your option) any later version. 014 * 015 * Cobertura is distributed in the hope that it will be useful, but 016 * WITHOUT ANY WARRANTY; without even the implied warranty of 017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 018 * General Public License for more details. 019 * 020 * You should have received a copy of the GNU General Public License 021 * along with Cobertura; if not, write to the Free Software 022 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 023 * USA 024 */ 025 026 package net.sourceforge.cobertura.javancss; 027 028 public interface JavaParserConstants 029 { 030 031 int EOF = 0; 032 int SINGLE_LINE_COMMENT = 8; 033 int SINGLE_LINE_COMMENT2 = 9; 034 int END_OF_LINE_MULTI = 10; 035 int MULTI_LINE_COMMENT = 11; 036 int ABSTRACT = 13; 037 int ASSERT = 14; 038 int BOOLEAN = 15; 039 int BREAK = 16; 040 int BYTE = 17; 041 int CASE = 18; 042 int CATCH = 19; 043 int CHAR = 20; 044 int CLASS = 21; 045 int CONST = 22; 046 int CONTINUE = 23; 047 int _DEFAULT = 24; 048 int DO = 25; 049 int DOUBLE = 26; 050 int ELSE = 27; 051 int EXTENDS = 28; 052 int FALSE = 29; 053 int FINAL = 30; 054 int FINALLY = 31; 055 int FLOAT = 32; 056 int FOR = 33; 057 int GOTO = 34; 058 int IF = 35; 059 int IMPLEMENTS = 36; 060 int IMPORT = 37; 061 int INSTANCEOF = 38; 062 int INT = 39; 063 int INTERFACE = 40; 064 int LONG = 41; 065 int NATIVE = 42; 066 int NEW = 43; 067 int NULL = 44; 068 int PACKAGE = 45; 069 int PRIVATE = 46; 070 int PROTECTED = 47; 071 int PUBLIC = 48; 072 int RETURN = 49; 073 int SHORT = 50; 074 int STATIC = 51; 075 int TESTAAAA = 52; 076 int SUPER = 53; 077 int SWITCH = 54; 078 int SYNCHRONIZED = 55; 079 int THIS = 56; 080 int THROW = 57; 081 int THROWS = 58; 082 int TRANSIENT = 59; 083 int TRUE = 60; 084 int TRY = 61; 085 int VOID = 62; 086 int VOLATILE = 63; 087 int WHILE = 64; 088 int INTEGER_LITERAL = 65; 089 int DECIMAL_LITERAL = 66; 090 int HEX_LITERAL = 67; 091 int OCTAL_LITERAL = 68; 092 int FLOATING_POINT_LITERAL = 69; 093 int EXPONENT = 70; 094 int CHARACTER_LITERAL = 71; 095 int STRING_LITERAL = 72; 096 int IDENTIFIER = 73; 097 int LETTER = 74; 098 int DIGIT = 75; 099 int LPAREN = 76; 100 int RPAREN = 77; 101 int LBRACE = 78; 102 int RBRACE = 79; 103 int LBRACKET = 80; 104 int RBRACKET = 81; 105 int SEMICOLON = 82; 106 int COMMA = 83; 107 int DOT = 84; 108 int ASSIGN = 85; 109 int GT = 86; 110 int LT = 87; 111 int BANG = 88; 112 int TILDE = 89; 113 int HOOK = 90; 114 int COLON = 91; 115 int EQ = 92; 116 int LE = 93; 117 int GE = 94; 118 int NE = 95; 119 int SC_OR = 96; 120 int SC_AND = 97; 121 int INCR = 98; 122 int DECR = 99; 123 int PLUS = 100; 124 int MINUS = 101; 125 int STAR = 102; 126 int SLASH = 103; 127 int BIT_AND = 104; 128 int BIT_OR = 105; 129 int XOR = 106; 130 int REM = 107; 131 int LSHIFT = 108; 132 int RSIGNEDSHIFT = 109; 133 int RUNSIGNEDSHIFT = 110; 134 int PLUSASSIGN = 111; 135 int MINUSASSIGN = 112; 136 int STARASSIGN = 113; 137 int SLASHASSIGN = 114; 138 int ANDASSIGN = 115; 139 int ORASSIGN = 116; 140 int XORASSIGN = 117; 141 int REMASSIGN = 118; 142 int LSHIFTASSIGN = 119; 143 int RSIGNEDSHIFTASSIGN = 120; 144 int RUNSIGNEDSHIFTASSIGN = 121; 145 146 int DEFAULT = 0; 147 int IN_SINGLE_LINE_COMMENT = 1; 148 int IN_MULTI_LINE_COMMENT = 2; 149 150 String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "\"\\n\"", "\"\\r\"", "\"\\f\"", 151 "\"\\u001a\"", "\"/*\"", "\"//\"", "<SINGLE_LINE_COMMENT2>", "<END_OF_LINE_MULTI>", 152 "\"*/\"", "<token of kind 12>", "\"abstract\"", "\"assert\"", "\"boolean\"", 153 "\"break\"", "\"byte\"", "\"case\"", "\"catch\"", "\"char\"", "\"class\"", "\"const\"", 154 "\"continue\"", "\"default\"", "\"do\"", "\"double\"", "\"else\"", "\"extends\"", 155 "\"false\"", "\"final\"", "\"finally\"", "\"float\"", "\"for\"", "\"goto\"", "\"if\"", 156 "\"implements\"", "\"import\"", "\"instanceof\"", "\"int\"", "\"interface\"", 157 "\"long\"", "\"native\"", "\"new\"", "\"null\"", "\"package\"", "\"private\"", 158 "\"protected\"", "\"public\"", "\"return\"", "\"short\"", "\"static\"", "\"strictfp\"", 159 "\"super\"", "\"switch\"", "\"synchronized\"", "\"this\"", "\"throw\"", "\"throws\"", 160 "\"transient\"", "\"true\"", "\"try\"", "\"void\"", "\"volatile\"", "\"while\"", 161 "<INTEGER_LITERAL>", "<DECIMAL_LITERAL>", "<HEX_LITERAL>", "<OCTAL_LITERAL>", 162 "<FLOATING_POINT_LITERAL>", "<EXPONENT>", "<CHARACTER_LITERAL>", "<STRING_LITERAL>", 163 "<IDENTIFIER>", "<LETTER>", "<DIGIT>", "\"(\"", "\")\"", "\"{\"", "\"}\"", "\"[\"", 164 "\"]\"", "\";\"", "\",\"", "\".\"", "\"=\"", "\">\"", "\"<\"", "\"!\"", "\"~\"", 165 "\"?\"", "\":\"", "\"==\"", "\"<=\"", "\">=\"", "\"!=\"", "\"||\"", "\"&&\"", "\"++\"", 166 "\"--\"", "\"+\"", "\"-\"", "\"*\"", "\"/\"", "\"&\"", "\"|\"", "\"^\"", "\"%\"", 167 "\"<<\"", "\">>\"", "\">>>\"", "\"+=\"", "\"-=\"", "\"*=\"", "\"/=\"", "\"&=\"", 168 "\"|=\"", "\"^=\"", "\"%=\"", "\"<<=\"", "\">>=\"", "\">>>=\"", }; 169 170 }