|
|
00001 #ifndef eval_MODULE 00002 #define eval_MODULE 00003 00004 /* 00005 * Copyright (c) 1989 by the Massachusetts Institute of Technology. 00006 * For copying and distribution information, see the file 00007 * "mit-copyright.h". 00008 * 00009 * Modified for jwgc by Daniel Henninger. 00010 */ 00011 00012 #include "mit-copyright.h" 00013 00014 #include "new_string.h" 00015 00016 /* 00017 * string eval_expr(Node *expr) 00018 * Modifies: dict 00019 * Requires: expr is a proper expression (NOT NULL). (see node.c) 00020 * Effects: Evaluates expr to its string value which is returned. 00021 * The returned string is on the heap and must be freed 00022 * eventually. 00023 */ 00024 00025 extern string eval_expr(); 00026 00027 /* 00028 * int eval_bool_expr(Node *expr) 00029 * Modifies: dict 00030 * Requires: expr is a proper expression or NULL. (see node.c) 00031 * Effects: Evaluates expr to its boolean value which is returned. 00032 * NULL is defined to have the boolean value true. 00033 */ 00034 00035 extern int eval_bool_expr(); 00036 00037 #endif
Last updated at Tue Dec 18 21:07:42 PST 2007. | This site and project hosted by... |