1AST(3) Library Functions Manual AST(3)
2
3
4
6 expr - c-like expression library
7
9 #include <graphviz/expr.h>
10
11 Expr_t* exopen(Exdisc_t*);
12 Excc_t* exccopen(Expr_t*, Exccdisc_t*);
13 int exccclose(Excc_t*);
14 void exclose(Expr_t*, int);
15 char* excontext(Expr_t*, char*, int);
16 void exerror(const char*, ...);
17 Extype_t exeval(Expr_t*, Exnode_t*, void*);
18 Exnode_t* exexpr(Expr_t*, const char*, Exid_t*, int);
19
20 Exnode_t* excast(Expr_t*, Exnode_t*, int, Exnode_t*, int);
21 Exnode_t* exnewnode(Expr_t*, int, int, int, Exnode_t*, Exnode_t*);
22 void exfreenode(Expr_t*, Exnode_t*);
23 int expush(Expr_t*, const char*, int, const char*, Sfio_t*);
24 int expop(Expr_t*);
25 int excomp(Expr_t*, const char*, int, const char*, Sfio_t*);
26 int extoken(Expr_t*);
27 char* extype(int);
28 Extype_t exzero(int);
29
30
32 exopen() is the first function called. exclose() is the last function
33 called. exccopen() is the called if code generation will be used. ex‐
34 ccclose() releases the state information allocated in exccopen().
35
36
38 AST(3)