Graphviz 13.0.0~dev.20241220.2304
|
#include <assert.h>
#include <grammar.h>
#include <cgraph/cghdr.h>
#include <stdbool.h>
#include <stddef.h>
#include <string.h>
#include <util/agxbuf.h>
#include <util/gv_ctype.h>
#include <util/startswith.h>
Go to the source code of this file.
Macros | |
#define | GRAPH_EOF_TOKEN '@' /* lex class must be defined below */ |
#define | isatty(x) gv_isatty_suppression |
#define | YY_INPUT(buf, result, max_size) |
#define | YY_CALL_ONLY_ARG void |
Functions | |
static void | beginstr (void) |
static void | addstr (char *src) |
static void | endstr (void) |
static void | endstr_html (void) |
static void | storeFileName (char *fname, size_t len) |
static void | ppDirective (void) |
static bool | twoDots (void) |
static int | chkNum (void) |
int | yylex (void) |
void | aagerror (const char *str) |
void | aglexeof (void) |
void | aglexbad (void) |
int | aagwrap (YY_CALL_ONLY_ARG) |
void | agsetfile (const char *f) |
sets the current file name for subsequent error reporting | |
void | aglexinit (Agdisc_t *disc, void *ifile) |
Variables | |
static int | line_num = 1 |
static int | html_nest = 0 |
static const char * | InputFile |
static Agdisc_t * | Disc |
static void * | Ifile |
static int | graphType |
int | gv_isatty_suppression |
static agxbuf | Sbuf |
#define GRAPH_EOF_TOKEN '@' /* lex class must be defined below */ |
#define isatty | ( | x | ) | gv_isatty_suppression |
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
void aagerror | ( | const char * | str | ) |
Definition at line 147 of file scan.l.
References agerrorf(), agxbfree(), agxblen(), agxbprint(), agxbputc(), agxbuse(), BEGIN, comment, hstring, INITIAL, InputFile, line_num, qstring, Sbuf, str, YY_BUF_SIZE, and YYSTATE.
int aagwrap | ( | YY_CALL_ONLY_ARG | ) |
|
static |
void aglexbad | ( | void | ) |
Definition at line 186 of file scan.l.
References YY_FLUSH_BUFFER.
Referenced by agconcat().
void aglexeof | ( | void | ) |
Definition at line 184 of file scan.l.
References GRAPH_EOF_TOKEN, and unput.
Referenced by endgraph(), and endgraph().
void aglexinit | ( | Agdisc_t * | disc, |
void * | ifile | ||
) |
|
static |
|
static |
Definition at line 284 of file scan.l.
References agwarningf(), fname, gv_isdigit(), InputFile, line_num, and twoDots().
|
static |
Definition at line 219 of file scan.l.
References aaglval, Ag_G_global, agstrdup(), agxbuse(), Sbuf, and AAGSTYPE::str.
|
static |
Definition at line 223 of file scan.l.
References aaglval, Ag_G_global, agstrdup_html(), agxbuse(), Sbuf, and AAGSTYPE::str.
|
static |
Definition at line 243 of file scan.l.
References cnt(), line_num, lineno, startswith(), and storeFileName().
|
static |
Definition at line 227 of file scan.l.
References cnt(), fname, gv_realloc(), InputFile, and len().
Referenced by ppDirective().
|
static |
|
static |
Definition at line 45 of file scan.l.
Referenced by aglexinit().
|
static |
Definition at line 47 of file scan.l.
Referenced by aglexinit().
|
static |
Definition at line 46 of file scan.l.
Referenced by aglexinit().
|
static |
Definition at line 44 of file scan.l.
Referenced by aagerror(), agsetfile(), chkNum(), and storeFileName().
|
static |
Definition at line 42 of file scan.l.
Referenced by aagerror(), agsetfile(), chkNum(), and ppDirective().
|
static |
Definition at line 64 of file scan.l.
Referenced by aagerror(), addstr(), beginstr(), endstr(), and endstr_html().