00001 /***************************************************************************** 00002 * Copyright (C) 1997-2007, Mark Hummel 00003 * This file is part of Vrq. 00004 * 00005 * Vrq is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * Vrq is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301 USA 00019 ***************************************************************************** 00020 */ 00021 /****************************************************************************** 00022 * 00023 * 00024 * external.hpp 00025 * - manager for external ref info 00026 * 00027 ****************************************************************************** 00028 */ 00029 00030 #ifndef EXTERNAL_HPP 00031 #define EXTERNAL_HPP 00032 00038 class External { 00039 public: 00043 static void Initialize() {} 00049 static int Width( CSymbol* symbol ) { return 32; } 00055 static CNode* WidthExp( CSymbol* symbol ) { return NULL; } 00062 static int WidthConstant( CSymbol* symbol ) { return FALSE; } 00069 static int WidthVolatile( CSymbol* symbol ) { return TRUE; } 00075 static int WidthEvaluateable( CSymbol* symbol ) { return FALSE; } 00081 static NodeType_t Type( CSymbol* symbol ) { return eB; } 00082 }; 00083 00084 #endif // EXTERNAL_HPP