Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
parse.h File Reference
#include <stddef.h>
Include dependency graph for parse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _case_info
 
struct  _parse_block
 
struct  parse_prog
 

Typedefs

typedef struct _case_info case_info
 
typedef struct _parse_block parse_block
 

Enumerations

enum  case_t {
  Begin , End , BeginG , EndG ,
  Node , Edge , Eof , Error
}
 

Functions

parse_progparseProg (char *, int)
 
void freeParseProg (parse_prog *)
 

Typedef Documentation

◆ case_info

typedef struct _case_info case_info

◆ parse_block

typedef struct _parse_block parse_block

Enumeration Type Documentation

◆ case_t

enum case_t
Enumerator
Begin 
End 
BeginG 
EndG 
Node 
Edge 
Eof 
Error 

Definition at line 19 of file parse.h.

Function Documentation

◆ freeParseProg()

void freeParseProg ( parse_prog prog)
extern

Definition at line 590 of file parse.c.

References parse_prog::begin_stmt, parse_prog::blocks, parse_prog::end_stmt, parse_prog::endg_stmt, free(), and freeBlocks().

Referenced by gvpr(), and parseProg().

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

◆ parseProg()

parse_prog * parseProg ( char *  input,
int  isFile 
)
extern

Definition at line 444 of file parse.c.

References addBlock(), addCase(), Begin, parse_prog::begin_stmt, BeginG, bindAction(), parse_prog::blocks, col0, End, parse_prog::end_stmt, EndG, parse_prog::endg_stmt, Eof, error(), Error, ERROR_ERROR, free(), freeParseProg(), getErrorErrors(), guard, kwLine, parse_prog::l_begin, parse_prog::l_end, parse_prog::l_endg, lineno, parse_prog::n_blocks, NULL, parseCase(), parse_prog::source, startLine, str, and UNREACHABLE.

Referenced by gvpr_core().

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