001/* Generated By:JavaCC: Do not edit this line. CParserConstants.java */ 002 003package jtb.cparser; 004 005public interface CParserConstants { 006 007 // No need for "static final" on these ints, as this is an interface. 008 009 int EOF = 0; 010 int INTEGER_LITERAL = 7; 011 int DECIMAL_LITERAL = 8; 012 int HEX_LITERAL = 9; 013 int OCTAL_LITERAL = 10; 014 int FLOATING_POINT_LITERAL = 11; 015 int EXPONENT = 12; 016 int CHARACTER_LITERAL = 13; 017 int STRING_LITERAL = 14; 018 int CONTINUE = 15; 019 int VOLATILE = 16; 020 int REGISTER = 17; 021 int UNSIGNED = 18; 022 int TYPEDEF = 19; 023 int DFLT = 20; 024 int DOUBLE = 21; 025 int SIZEOF = 22; 026 int SWITCH = 23; 027 int RETURN = 24; 028 int EXTERN = 25; 029 int STRUCT = 26; 030 int STATIC = 27; 031 int SIGNED = 28; 032 int WHILE = 29; 033 int BREAK = 30; 034 int UNION = 31; 035 int CONST = 32; 036 int FLOAT = 33; 037 int SHORT = 34; 038 int ELSE = 35; 039 int CASE = 36; 040 int LONG = 37; 041 int ENUM = 38; 042 int AUTO = 39; 043 int VOID = 40; 044 int CHAR = 41; 045 int GOTO = 42; 046 int FOR = 43; 047 int INT = 44; 048 int IF = 45; 049 int DO = 46; 050 int IDENTIFIER = 47; 051 int LETTER = 48; 052 int DIGIT = 49; 053 054 int DEFAULT = 0; 055 056 String[] tokenImage = { 057 "<EOF>", 058 "\" \"", 059 "\"\\t\"", 060 "\"\\n\"", 061 "\"\\r\"", 062 "<token of kind 5>", 063 "<token of kind 6>", 064 "<INTEGER_LITERAL>", 065 "<DECIMAL_LITERAL>", 066 "<HEX_LITERAL>", 067 "<OCTAL_LITERAL>", 068 "<FLOATING_POINT_LITERAL>", 069 "<EXPONENT>", 070 "<CHARACTER_LITERAL>", 071 "<STRING_LITERAL>", 072 "\"continue\"", 073 "\"volatile\"", 074 "\"register\"", 075 "\"unsigned\"", 076 "\"typedef\"", 077 "\"default\"", 078 "\"double\"", 079 "\"sizeof\"", 080 "\"switch\"", 081 "\"return\"", 082 "\"extern\"", 083 "\"struct\"", 084 "\"static\"", 085 "\"signed\"", 086 "\"while\"", 087 "\"break\"", 088 "\"union\"", 089 "\"const\"", 090 "\"float\"", 091 "\"short\"", 092 "\"else\"", 093 "\"case\"", 094 "\"long\"", 095 "\"enum\"", 096 "\"auto\"", 097 "\"void\"", 098 "\"char\"", 099 "\"goto\"", 100 "\"for\"", 101 "\"int\"", 102 "\"if\"", 103 "\"do\"", 104 "<IDENTIFIER>", 105 "<LETTER>", 106 "<DIGIT>", 107 "\";\"", 108 "\"{\"", 109 "\"}\"", 110 "\",\"", 111 "\"=\"", 112 "\":\"", 113 "\"(\"", 114 "\")\"", 115 "\"[\"", 116 "\"]\"", 117 "\"*\"", 118 "\"...\"", 119 "\"*=\"", 120 "\"/=\"", 121 "\"%=\"", 122 "\"+=\"", 123 "\"-=\"", 124 "\"<<=\"", 125 "\">>=\"", 126 "\"&=\"", 127 "\"^=\"", 128 "\"|=\"", 129 "\"?\"", 130 "\"||\"", 131 "\"&&\"", 132 "\"|\"", 133 "\"^\"", 134 "\"&\"", 135 "\"==\"", 136 "\"!=\"", 137 "\"<\"", 138 "\">\"", 139 "\"<=\"", 140 "\">=\"", 141 "\"<<\"", 142 "\">>\"", 143 "\"+\"", 144 "\"-\"", 145 "\"/\"", 146 "\"%\"", 147 "\"++\"", 148 "\"--\"", 149 "\"~\"", 150 "\"!\"", 151 "\".\"", 152 "\"->\"", 153 }; 154 155}