Graphviz 13.0.0~dev.20250121.0651
|
#include <sfio/sfio.h>
#include <parse.h>
#include <gprstate.h>
#include <expr/expr.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | case_stmt |
struct | nval_t |
struct | lock_t |
struct | gval_t |
struct | edata |
struct | compflags_t |
struct | comp_block |
struct | comp_prog |
Macros | |
#define | UDATA "userval" |
#define | OBJ(p) ((Agobj_t*)p) |
#define | nData(n) ((ndata*)(aggetrec(n,UDATA,0))) |
#define | gData(g) ((gdata*)(aggetrec(g,UDATA,0))) |
Typedefs | |
typedef nval_t | ndata |
typedef gval_t | gdata |
Functions | |
comp_prog * | compileProg (parse_prog *, Gpr_t *, compflags_t) |
void | freeCompileProg (comp_prog *p) |
Agraph_t * | readG (FILE *fp) |
Agraph_t * | openG (char *name, Agdesc_t) |
Agraph_t * | openSubg (Agraph_t *g, char *name) |
Agnode_t * | openNode (Agraph_t *g, char *name) |
Agedge_t * | openEdge (Agraph_t *g, Agnode_t *t, Agnode_t *h, char *key) |
comp_prog * compileProg | ( | parse_prog * | inp, |
Gpr_t * | state, | ||
compflags_t | flags | ||
) |
Definition at line 2368 of file compile.c.
References comp_prog::begin_stmt, parse_prog::begin_stmt, BITS_PER_BYTE, comp_prog::blocks, parse_prog::blocks, codePhase, compile(), doFlags(), Gpr_t::dp, comp_prog::end_stmt, parse_prog::end_stmt, comp_prog::endg_stmt, parse_prog::endg_stmt, error, ERROR_ERROR, exinit(), exopen(), flags, freeCompileProg(), G, getErrorErrors(), gv_calloc(), initDisc(), parse_prog::l_begin, parse_prog::l_end, parse_prog::l_endg, mkBlock(), comp_prog::n_blocks, NULL, comp_prog::prog, setErrorLine(), parse_prog::source, symbols, T_graph, TBITS, tchk, Exid_s::type, comp_prog::uses_graph, VOIDTYPE, and Y.
Referenced by gvpr_core().
|
extern |
Definition at line 2448 of file compile.c.
References comp_prog::blocks, comp_block::edge_stmts, exclose(), free(), comp_prog::n_blocks, comp_block::node_stmts, and comp_prog::prog.
Referenced by compileProg(), and gvpr().
Definition at line 2525 of file compile.c.
References agbindrec(), agedge(), aggetrec(), sameG(), and UDATA.
Referenced by cloneO(), copy(), and getval().
Definition at line 2513 of file compile.c.
References agbindrec(), aggetrec(), agnode(), and UDATA.
Referenced by cloneO(), copy(), and getval().
Definition at line 2501 of file compile.c.
References agbindrec(), aggetrec(), agsubg(), and UDATA.
Referenced by cloneO(), compOf(), copy(), getval(), and traverse().
|
extern |
Definition at line 2468 of file compile.c.
References AGEDGE, AgIdDisc, aginit(), AGNODE, AGRAPH, agread(), gprDisc, Agdisc_s::id, and UDATA.
Referenced by freadFile(), ing_read(), and readFile().