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 excc(Excc_t*, const char*, Exid_t*, int);
14 int exccclose(Excc_t*);
15 void exclose(Expr_t*, int);
16 char* excontext(Expr_t*, char*, int);
17 void exerror(const char*, ...);
18 Extype_t exeval(Expr_t*, Exnode_t*, void*);
19 Exnode_t* exexpr(Expr_t*, const char*, Exid_t*, int);
20
21 Exnode_t* excast(Expr_t*, Exnode_t*, int, Exnode_t*, int);
22 Exnode_t* exnewnode(Expr_t*, int, int, int, Exnode_t*, Exnode_t*);
23 void exfreenode(Expr_t*, Exnode_t*);
24 int expush(Expr_t*, const char*, int, const char*, Sfio_t*);
25 int expop(Expr_t*);
26 int excomp(Expr_t*, const char*, int, const char*, Sfio_t*);
27 int exrewind(Expr_t*);
28 void exstatement(Expr_t*);
29 int extoken(Expr_t*);
30 char* extype(int);
31 Extype_t exzero(int);
32
33
35 exopen() is the first function called. exclose() is the last function
36 called. exccopen() is the called if code generation will be used.
37 exccclose() releases the state information allocated in exccopen().
38 exstatement() saves statement start information. exrewind() restores
39 statement start information saved by exstatement().
40
41
43 AST(3)