00001 // Copyright (C) 2001, Compaq Computer Corporation 00002 // 00003 // This file is part of Vesta. 00004 // 00005 // Vesta is free software; you can redistribute it and/or 00006 // modify it under the terms of the GNU Lesser General Public 00007 // License as published by the Free Software Foundation; either 00008 // version 2.1 of the License, or (at your option) any later version. 00009 // 00010 // Vesta 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 // Lesser General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU Lesser General Public 00016 // License along with Vesta; if not, write to the Free Software 00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 00019 // File: ValExpr.H 00020 00021 #ifndef ValExpr_H 00022 #define ValExpr_H 00023 00024 #include "ListT.H" 00025 #include <Sequence.H> 00026 #include <Table.H> 00027 00028 class ValC; 00029 typedef ValC* Val; 00030 typedef ListT<Val> Vals; 00031 00032 class AssocVC; 00033 typedef AssocVC* Assoc; 00034 typedef ListT<Assoc> Context; 00035 00036 class BindingVC; 00037 typedef BindingVC* Binding; 00038 00039 class BooleanVC; 00040 class IntegerVC; 00041 class ClosureVC; 00042 class ModelVC; 00043 00044 class ExprC; 00045 typedef ExprC* Expr; 00046 00047 class ExprListEC; 00048 typedef ExprListEC* ExprList; 00049 00050 class ArgListEC; 00051 typedef ArgListEC* ArgList; 00052 00053 class StmtListEC; 00054 typedef StmtListEC* StmtList; 00055 00056 class NameEC; 00057 typedef NameEC* Name; 00058 00059 class ApplyEC; 00060 class FuncEC; 00061 00062 typedef Sequence<Expr> Exprs; 00063 00064 typedef ListT<Text> Vars; 00065 00066 extern const char *nameDot; 00067 extern Name exprDot; 00068 00069 #endif // ValExpr_H