001 // $ANTLR 2.7.7 (2006-11-01): "CTypeEvaluator.g" -> "CTypeEvaluator.java"$ 002 003 // This file is part of the program FRYSK. 004 // 005 // Copyright 2008 Red Hat Inc. 006 // 007 // FRYSK is free software; you can redistribute it and/or modify it 008 // under the terms of the GNU General Public License as published by 009 // the Free Software Foundation; version 2 of the License. 010 // 011 // FRYSK is distributed in the hope that it will be useful, but 012 // WITHOUT ANY WARRANTY; without even the implied warranty of 013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 014 // General Public License for more details. 015 // 016 // You should have received a copy of the GNU General Public License 017 // along with FRYSK; if not, write to the Free Software Foundation, 018 // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 019 // 020 // In addition, as a special exception, Red Hat, Inc. gives You the 021 // additional right to link the code of FRYSK with code not covered 022 // under the GNU General Public License ("Non-GPL Code") and to 023 // distribute linked combinations including the two, subject to the 024 // limitations in this paragraph. Non-GPL Code permitted under this 025 // exception must only link to the code of FRYSK through those well 026 // defined interfaces identified in the file named EXCEPTION found in 027 // the source code files (the "Approved Interfaces"). The files of 028 // Non-GPL Code may instantiate templates or use macros or inline 029 // functions from the Approved Interfaces without causing the 030 // resulting work to be covered by the GNU General Public 031 // License. Only Red Hat, Inc. may make changes or additions to the 032 // list of Approved Interfaces. You must obey the GNU General Public 033 // License in all respects for all of the FRYSK code and other code 034 // used in conjunction with FRYSK except the Non-GPL Code covered by 035 // this exception. If you modify this file, you may extend this 036 // exception to your version of the file, but you are not obligated to 037 // do so. If you do not wish to provide this exception without 038 // modification, you must delete this exception statement from your 039 // version and license this file solely under the GPL without 040 // exception. 041 package frysk.expr; 042 043 // import frysk.value.ArithmeticType; 044 // import frysk.value.SignedType; 045 // import frysk.value.PointerType; 046 // import frysk.value.CharType; 047 // import frysk.value.ArrayType; 048 // import frysk.value.FloatingPointType; 049 // import frysk.value.CompositeType; 050 // import frysk.value.Value; 051 // import frysk.value.Type; 052 // import frysk.expr.ExprSymTab; 053 // import inua.eio.ByteOrder; 054 055 public interface CTypeEvaluatorTokenTypes { 056 int EOF = 1; 057 int NULL_TREE_LOOKAHEAD = 3; 058 int ADDRESS_OF = 4; 059 int ARG_LIST = 5; 060 int CAST = 6; 061 int COND_EXPR = 7; 062 int EXPR_LIST = 8; 063 int FUNC_CALL = 9; 064 int MEMORY = 10; 065 int MEMBER = 11; 066 int SIZEOF = 12; 067 int INDEX = 13; 068 int SLICE = 14; 069 int ARITHMETIC_PLUS = 15; 070 int ARITHMETIC_MINUS = 16; 071 int PREINCREMENT = 17; 072 int PREDECREMENT = 18; 073 int POSTINCREMENT = 19; 074 int POSTDECREMENT = 20; 075 int COMMA = 21; 076 int ASSIGNEQUAL = 22; 077 int TIMESEQUAL = 23; 078 int DIVIDEEQUAL = 24; 079 int MINUSEQUAL = 25; 080 int PLUSEQUAL = 26; 081 int MODEQUAL = 27; 082 int SHIFTLEFTEQUAL = 28; 083 int SHIFTRIGHTEQUAL = 29; 084 int BITWISEANDEQUAL = 30; 085 int BITWISEXOREQUAL = 31; 086 int BITWISEOREQUAL = 32; 087 int SEMICOLON = 33; 088 int RPAREN = 34; 089 int QUESTIONMARK = 35; 090 int COLON = 36; 091 int OR = 37; 092 int AND = 38; 093 int BITWISEOR = 39; 094 int BITWISEXOR = 40; 095 int AMPERSAND = 41; 096 int NOTEQUAL = 42; 097 int EQUAL = 43; 098 int LESSTHAN = 44; 099 int GREATERTHAN = 45; 100 int LESSTHANOREQUALTO = 46; 101 int GREATERTHANOREQUALTO = 47; 102 int SHIFTLEFT = 48; 103 int SHIFTRIGHT = 49; 104 int PLUS = 50; 105 int MINUS = 51; 106 int STAR = 52; 107 int DIVIDE = 53; 108 int MOD = 54; 109 int DOTSTAR = 55; 110 int POINTERSTAR = 56; 111 int LITERAL_sizeof = 57; 112 int PLUSPLUS = 58; 113 int MINUSMINUS = 59; 114 int TILDE = 60; 115 int NOT = 61; 116 int LPAREN = 62; 117 int DOT = 63; 118 int IDENT_TAB = 64; 119 int IDENT = 65; 120 int POINTERTO = 66; 121 int LSQUARE = 67; 122 int RSQUARE = 68; 123 int SCOPE = 69; 124 int LITERAL_this = 70; 125 int LITERAL_boolean = 71; 126 int LITERAL_char = 72; 127 int LITERAL_byte = 73; 128 int LITERAL_short = 74; 129 int LITERAL_int = 75; 130 int LITERAL_long = 76; 131 int LITERAL_float = 77; 132 int LITERAL_double = 78; 133 int OCTALINT = 79; 134 int DECIMALINT = 80; 135 int HEXADECIMALINT = 81; 136 int CharLiteral = 82; 137 int StringLiteral = 83; 138 int FLOAT = 84; 139 int DOUBLE = 85; 140 int LITERAL_true = 86; 141 int LITERAL_false = 87; 142 int OPERATOR = 88; 143 int AT = 89; 144 int ETX = 90; 145 int LCURLY = 91; 146 int RCURLY = 92; 147 int ELLIPSIS = 93; 148 int NL = 94; 149 int WS = 95; 150 int Escape = 96; 151 int Digit = 97; 152 int Decimal = 98; 153 int LongSuffix = 99; 154 int UnsignedSuffix = 100; 155 int FloatSuffix = 101; 156 int Exponent = 102; 157 int Vocabulary = 103; 158 int NUM = 104; 159 int HEX_DIGIT = 105; 160 int EXPONENT = 106; 161 int FLOAT_SUFFIX = 107; 162 int TAB_IDENT = 108; 163 }