|
Graphviz 14.0.3~dev.20251029.0425
|
#include <assert.h>#include <stdlib.h>#include <string.h>#include <gml2gv.h>#include <gmlparse.h>#include <util/alloc.h>#include <util/agxbuf.h>#include "config.h"Go to the source code of this file.
Macros | |
| #define | GRAPH_EOF_TOKEN '@' /* lex class must be defined below */ |
| #define | YY_INPUT(buf, result, max_size) |
Functions | |
| void | initgmlscan (FILE *ifile) |
| static void | beginstr (void) |
| static void | addstr (const char *src) |
| static void | endstr (void) |
| int | yylex (void) |
| void | gmlerror (const char *str) |
| int | gmlerrors (void) |
| void | gmllexeof (void) |
| int | yywrap (YY_CALL_ONLY_ARG) |
Variables | |
| static int | line_num = 1 |
| static int | errors |
| static FILE * | Ifile |
| static agxbuf | Sbuf |
| buffer for arbitrary length strings | |
| #define GRAPH_EOF_TOKEN '@' /* lex class must be defined below */ |
| #define YY_INPUT | ( | buf, | |
| result, | |||
| max_size | |||
| ) |
|
static |
|
static |
|
static |
Definition at line 54 of file gmlscan.l.
References agxbdisown(), gmllval, Sbuf, and GMLSTYPE::str.
| void gmlerror | ( | const char * | str | ) |
| int gmlerrors | ( | void | ) |
Definition at line 121 of file gmlscan.l.
References errors.
Referenced by gml_to_gv(), and gml_to_gv().
| void gmllexeof | ( | void | ) |
Definition at line 126 of file gmlscan.l.
References GRAPH_EOF_TOKEN, and unput.
| void initgmlscan | ( | FILE * | ifile | ) |
Definition at line 28 of file gmlscan.l.
References errors, errors, Ifile, Ifile, line_num, and line_num.
Referenced by gml_to_gv(), and gml_to_gv().
| int yywrap | ( | YY_CALL_ONLY_ARG | ) |
|
static |
Definition at line 25 of file gmlscan.l.
Referenced by gmlerror(), gmlerrors(), and initgmlscan().
|
static |
Definition at line 26 of file gmlscan.l.
Referenced by initgmlscan().
|
static |
Definition at line 24 of file gmlscan.l.
Referenced by gmlerror(), and initgmlscan().