1 |
/* |
/**< |
2 |
* Expression Input/Output |
* Expression Input/Output |
3 |
* by Tom Epperly |
* by Tom Epperly |
4 |
* Version: $Revision: 1.6 $ |
* Version: $Revision: 1.6 $ |
30 |
#define __EXPRIO_H_SEEN__ |
#define __EXPRIO_H_SEEN__ |
31 |
|
|
32 |
|
|
33 |
/* |
/**< |
34 |
* When #including exprio.h, make sure these files are #included first: |
* When #including exprio.h, make sure these files are #included first: |
35 |
* #include "fractions.h" |
* #include "fractions.h" |
36 |
* #include "compiler.h" |
* #include "compiler.h" |
41 |
|
|
42 |
|
|
43 |
extern CONST char *ExprEnumName(CONST enum Expr_enum); |
extern CONST char *ExprEnumName(CONST enum Expr_enum); |
44 |
/* |
/**< |
45 |
* CONST char *ExprEnumName(t); |
* CONST char *ExprEnumName(t); |
46 |
* CONST enum Expr_enum t; |
* CONST enum Expr_enum t; |
47 |
* Returns a pointer to a string containing the name of the Expr term |
* Returns a pointer to a string containing the name of the Expr term |
50 |
*/ |
*/ |
51 |
|
|
52 |
extern void WriteExprNode(FILE *,CONST struct Expr *); |
extern void WriteExprNode(FILE *,CONST struct Expr *); |
53 |
/* |
/**< |
54 |
* void WriteExprNode(f,e) |
* void WriteExprNode(f,e) |
55 |
* FILE *f; |
* FILE *f; |
56 |
* const struct Expr *e; |
* const struct Expr *e; |
57 |
*/ |
*/ |
58 |
|
|
59 |
extern void WriteExpr(FILE *,CONST struct Expr *); |
extern void WriteExpr(FILE *,CONST struct Expr *); |
60 |
/* |
/**< |
61 |
* void WriteExpr(f,e) |
* void WriteExpr(f,e) |
62 |
* FILE *f; |
* FILE *f; |
63 |
* const struct Expr *e; |
* const struct Expr *e; |
65 |
*/ |
*/ |
66 |
|
|
67 |
extern void WriteExprNode2Str(Asc_DString *,CONST struct Expr *); |
extern void WriteExprNode2Str(Asc_DString *,CONST struct Expr *); |
68 |
/* |
/**< |
69 |
* void WriteExprNode2Str(dstring,e) |
* void WriteExprNode2Str(dstring,e) |
70 |
* Asc_DString *dstring; |
* Asc_DString *dstring; |
71 |
* const struct Expr *e; |
* const struct Expr *e; |
72 |
*/ |
*/ |
73 |
|
|
74 |
extern void WriteExpr2Str(Asc_DString *,CONST struct Expr *); |
extern void WriteExpr2Str(Asc_DString *,CONST struct Expr *); |
75 |
/* |
/**< |
76 |
* void WriteExpr2Str(dstring,e) |
* void WriteExpr2Str(dstring,e) |
77 |
* Asc_DString *dstring; |
* Asc_DString *dstring; |
78 |
* const struct Expr *e; |
* const struct Expr *e; |
79 |
* Write the expression with no leading or trailing white space. |
* Write the expression with no leading or trailing white space. |
80 |
*/ |
*/ |
81 |
#endif /* __EXPRIO_H_SEEN__ */ |
#endif /**< __EXPRIO_H_SEEN__ */ |
82 |
|
|
83 |
|
|
84 |
|
|