Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
gprstate.h File Reference
#include <sfio/sfio.h>
#include "cgraph.h"
#include <ast/ast.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <expr/expr.h>
#include "gvpr.h"
Include dependency graph for gprstate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Gpr_t
 
struct  gpr_info
 

Enumerations

enum  trav_type {
  TV_flat , TV_ne , TV_en , TV_bfs ,
  TV_dfs , TV_fwd , TV_rev , TV_postdfs ,
  TV_postfwd , TV_postrev , TV_prepostdfs , TV_prepostfwd ,
  TV_prepostrev
}
 

Functions

Gpr_topenGPRState (gpr_info *)
 
void addBindings (Gpr_t *state, gvprbinding *)
 
gvprbindingfindBinding (Gpr_t *state, char *)
 
void closeGPRState (Gpr_t *state)
 
void initGPRState (Gpr_t *)
 
bool validTVT (long long)
 

Enumeration Type Documentation

◆ trav_type

enum trav_type
Enumerator
TV_flat 
TV_ne 
TV_en 
TV_bfs 
TV_dfs 
TV_fwd 
TV_rev 
TV_postdfs 
TV_postfwd 
TV_postrev 
TV_prepostdfs 
TV_prepostfwd 
TV_prepostrev 

Definition at line 26 of file gprstate.h.

Function Documentation

◆ addBindings()

void addBindings ( Gpr_t state,
gvprbinding bindings 
)
extern

Definition at line 91 of file gprstate.c.

References bindingcmpf(), gvprbinding::fn, gv_calloc(), gvprbinding::name, and state.

Referenced by gvpr_core().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ closeGPRState()

void closeGPRState ( Gpr_t state)
extern

Definition at line 119 of file gprstate.c.

References free(), name_used, and state.

Referenced by gvpr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ findBinding()

gvprbinding * findBinding ( Gpr_t state,
char *  fname 
)
extern

Definition at line 67 of file gprstate.c.

References bindingcmpf(), error(), ERROR_ERROR, fname, key, NULL, and state.

Referenced by getval().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initGPRState()

void initGPRState ( Gpr_t state)
extern

Definition at line 30 of file gprstate.c.

References state.

Referenced by gvpr_core().

Here is the caller graph for this function:

◆ openGPRState()

Gpr_t * openGPRState ( gpr_info info)
extern

Definition at line 34 of file gprstate.c.

References error(), ERROR_ERROR, name_used, state, and TV_flat.

Referenced by gvpr_core().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ validTVT()

bool validTVT ( long long  c)
extern

Definition at line 26 of file gprstate.c.

References TV_flat, and TV_prepostrev.

Referenced by convert(), and setval().

Here is the caller graph for this function: