00001 /* 00002 * Name: stack_value.hh 00003 * Author: Rafael Jesus Alcantara Perez 00004 * Summary: UESQL stack value for scanner/parser 00005 * Date: $Date: 2003/06/22 14:35:39 $ 00006 * Revision: $Revision: 1.11 $ 00007 * 00008 * Copyright (C) 1996-1999 Rafael Jesus Alcantara Perez <rafa@dedalo-ing.com> 00009 * 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00023 * MA 02111-1307, USA. 00024 */ 00025 00026 #ifndef _STACK_VALUE__ 00027 #define _STACK_VALUE__ 00028 00029 #include <mpcl/text/string.hh> 00030 00031 00033 class TStackValue 00034 { 00035 00036 public: 00037 00039 bool gHasColumnDefinition; 00040 00042 bool gHasAsterisk; 00043 00045 int iItemCount; 00046 00048 mpcl::text::TString yCode; 00049 00051 mpcl::text::TString yFirstIdentifier; 00052 00054 mpcl::text::TString yFourthIdentifier; 00055 00057 mpcl::text::TString yOriginalText; 00058 00060 mpcl::text::TString ySecondIdentifier; 00061 00063 mpcl::text::TString yThirdIdentifier; 00064 00065 00066 public: 00067 00068 // 00069 // C O N S T R U C T O R S 00070 // 00071 00073 TStackValue (void) : 00074 gHasColumnDefinition (false) , 00075 gHasAsterisk (false) , 00076 iItemCount (-1) , 00077 yCode () , 00078 yFirstIdentifier () , 00079 yFourthIdentifier () , 00080 yOriginalText () , 00081 ySecondIdentifier () , 00082 yThirdIdentifier () {} 00083 00084 }; // class TStackValue 00085 00086 00087 #endif // not _STACK_VALUE__