00001 /* ASCEND modelling environment 00002 Copyright (C) 1990, 1993, 1994 Thomas Guthrie Epperly 00003 Copyright (C) 2006 Carnegie Mellon University 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2, or (at your option) 00008 any later version. 00009 00010 This program 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 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place - Suite 330, 00018 Boston, MA 02111-1307, USA. 00019 *//* 00031 by Tom Epperly 00032 Created: 1/16/90 00033 Last in CVS: $Revision: 1.10 $ $Date: 1997/07/18 12:29:08 $ $Author: mthomas $ 00034 */ 00035 00036 #ifndef ASC_EVALUATE_H 00037 #define ASC_EVALUATE_H 00038 00039 #include "expr_types.h" 00040 #include "compiler.h" 00041 00046 extern struct value_t EvaluateSet(CONST struct Set *sptr, 00047 struct value_t (*EvaluateName)()); 00052 extern struct value_t EvaluateExpr(CONST struct Expr *expr, 00053 CONST struct Expr *stop, 00054 struct value_t (*EvaluateName)()); 00062 extern struct gl_list_t *EvaluateNamesNeeded(CONST struct Expr *expr, 00063 CONST struct Expr *stop, 00064 struct gl_list_t *list); 00085 extern struct gl_list_t *EvaluateNamesNeededShallow(CONST struct Expr *expr, 00086 CONST struct Expr *stop, 00087 struct gl_list_t *list); 00108 extern struct gl_list_t 00109 *EvaluateSetNamesNeeded(CONST struct Set *sptr, struct gl_list_t *list); 00129 extern struct gl_list_t 00130 *EvaluateSetNamesNeededShallow(CONST struct Set *sptr, struct gl_list_t *list); 00150 extern void ClearRecycleStack(void); 00164 /* @} */ 00165 00166 #endif /* ASC_EVALUATE_H */ 00167
1.5.1