/[ascend]/trunk/base/generic/compiler/exprio.h
ViewVC logotype

Annotation of /trunk/base/generic/compiler/exprio.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1066 - (hide annotations) (download) (as text)
Sun Jan 7 10:02:41 2007 UTC (17 years, 9 months ago) by johnpye
File MIME type: text/x-chdr
File size: 2183 byte(s)
Adding doxygen 'addtogroup' for Solver, Compiler, Integrator.
1 johnpye 669 /* ASCEND modelling environment
2     Copyright (C) 2006 Carnegie Mellon University
3     Copyright (C) 1990, 1993, 1994 Thomas Guthrie Epperly
4    
5     This program is free software; you can redistribute it and/or modify
6     it under the terms of the GNU General Public License as published by
7     the Free Software Foundation; either version 2, or (at your option)
8     any later version.
9    
10     This program is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13     GNU General Public License for more details.
14    
15     You should have received a copy of the GNU General Public License
16     along with this program; if not, write to the Free Software
17     Foundation, Inc., 59 Temple Place - Suite 330,
18     Boston, MA 02111-1307, USA.
19     *//**
20     @file
21     Expression Input/Output
22    
23     Requires:
24     #include "utilities/ascConfig.h"
25     #include "fractions.h"
26     #include "compiler.h"
27     #include "dimen.h"
28     #include "expr_types.h"
29     #include "symtab.h"
30     *//*
31 johnpye 978 by Tom Epperly
32     Last in CVS: $Revision: 1.6 $ $Date: 1998/02/05 16:35:57 $ $Author: ballan $
33 johnpye 669 */
34 aw0a 1
35 johnpye 669 #ifndef ASC_EXPRIO_H
36     #define ASC_EXPRIO_H
37 aw0a 1
38 johnpye 1066 /** addtogroup compiler Compiler
39     @{
40     */
41    
42 jds 54 extern CONST char *ExprEnumName(CONST enum Expr_enum t);
43 ben.allan 33 /**<
44 johnpye 978 Returns a pointer to a string containing the name of the Expr term
45     given. Do not free this string under any circumstances.
46     This string is not in the symbol table.
47     */
48 aw0a 1
49 jds 54 extern void WriteExprNode(FILE *f, CONST struct Expr *e);
50     /**<
51 johnpye 978 Write a single expression node with no leading or trailing white space.
52 aw0a 1 */
53    
54 jds 54 extern void WriteExpr(FILE *f, CONST struct Expr *e);
55     /**<
56 johnpye 978 Write the expression with no leading or trailing white space.
57     @NOTE The output is in POSTFIX format
58     */
59 aw0a 1
60 jds 54 extern void WriteExprNode2Str(Asc_DString *dstring, CONST struct Expr *e);
61 johnpye 978 /**<
62     Write a single expression node to a string with no leading
63     or trailing white space.
64     */
65 aw0a 1
66 jds 54 extern void WriteExpr2Str(Asc_DString *dstring, CONST struct Expr *e);
67     /**<
68 johnpye 978 Write the expression to a string with no leading or trailing white space.
69     @param dstring string into output is returned
70     @NOTE The return is in POSTFIX format.
71     */
72 aw0a 1
73 johnpye 1066 /* @} */
74    
75 johnpye 669 #endif /* ASC_EXPRIO_H */
76 aw0a 1

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22