Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

expr (3)

Name

expr - like expression library

Synopsis

#include <graphviz/expr.h>

Expr_t*          exopen(Exdisc_t*);
Excc_t*          exccopen(Expr_t*, Exccdisc_t*);
int              excc(Excc_t*, const char*, Exid_t*, int);
int              exccclose(Excc_t*);
void             exclose(Expr_t*, int);
char*            excontext(Expr_t*, char*, int);
void             exerror(const char*, ...);
Extype_t         exeval(Expr_t*, Exnode_t*, void*);
Exnode_t*        exexpr(Expr_t*, const char*, Exid_t*, int);

Exnode_t*        excast(Expr_t*, Exnode_t*, int, Exnode_t*, int);
Exnode_t*        exnewnode(Expr_t*, int, int, int, Exnode_t*, Exnode_t*);
void             exfreenode(Expr_t*, Exnode_t*);
int              expush(Expr_t*, const char*, int, const char*, Sfio_t*);
int              expop(Expr_t*);
int              excomp(Expr_t*, const char*, int, const char*, Sfio_t*);
int              exrewind(Expr_t*);
void             exstatement(Expr_t*);
int              extoken(Expr_t*);
char*            extype(int);
Extype_t         exzero(int);

Description

AST(3)                     Library Functions Manual                     AST(3)



NAME
       expr - c-like expression library

SYNOPSIS
       #include <graphviz/expr.h>

       Expr_t*          exopen(Exdisc_t*);
       Excc_t*          exccopen(Expr_t*, Exccdisc_t*);
       int              excc(Excc_t*, const char*, Exid_t*, int);
       int              exccclose(Excc_t*);
       void             exclose(Expr_t*, int);
       char*            excontext(Expr_t*, char*, int);
       void             exerror(const char*, ...);
       Extype_t         exeval(Expr_t*, Exnode_t*, void*);
       Exnode_t*        exexpr(Expr_t*, const char*, Exid_t*, int);

       Exnode_t*        excast(Expr_t*, Exnode_t*, int, Exnode_t*, int);
       Exnode_t*        exnewnode(Expr_t*, int, int, int, Exnode_t*, Exnode_t*);
       void             exfreenode(Expr_t*, Exnode_t*);
       int              expush(Expr_t*, const char*, int, const char*, Sfio_t*);
       int              expop(Expr_t*);
       int              excomp(Expr_t*, const char*, int, const char*, Sfio_t*);
       int              exrewind(Expr_t*);
       void             exstatement(Expr_t*);
       int              extoken(Expr_t*);
       char*            extype(int);
       Extype_t         exzero(int);


DESCRIPTION
       exopen()  is the first function called.  exclose() is the last function
       called.  exccopen() is the called if  code  generation  will  be  used.
       exccclose()  releases  the  state  information allocated in exccopen().
       exstatement() saves statement start information.   exrewind()  restores
       statement start information saved by exstatement().



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | image/graphviz   |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+
SEE ALSO
NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source  was  downloaded from  http://www.graphviz.org/pub/graphviz/sta-
       ble/SOURCES/graphviz-2.28.0.tar.gz

       Further information about this software can be found on the open source
       community website at http://www.graphviz.org/.



                                                                        AST(3)