Graphviz 13.0.0~dev.20241220.2304
|
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <assert.h>
#include <grammar.h>
#include <cgraph/cghdr.h>
#include <stdbool.h>
#include <stddef.h>
#include <util/agxbuf.h>
#include <util/gv_ctype.h>
#include <util/startswith.h>
#include <unistd.h>
Go to the source code of this file.
Data Structures | |
struct | yy_buffer_state |
struct | yy_trans_info |
Typedefs | |
typedef signed char | flex_int8_t |
typedef short int | flex_int16_t |
typedef int | flex_int32_t |
typedef unsigned char | flex_uint8_t |
typedef unsigned short int | flex_uint16_t |
typedef unsigned int | flex_uint32_t |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef size_t | yy_size_t |
typedef flex_uint8_t | YY_CHAR |
typedef int | yy_state_type |
Functions | |
void | yyrestart (FILE *input_file) |
void | yy_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
YY_BUFFER_STATE | yy_create_buffer (FILE *file, int size) |
void | yy_delete_buffer (YY_BUFFER_STATE b) |
void | yy_flush_buffer (YY_BUFFER_STATE b) |
void | yypush_buffer_state (YY_BUFFER_STATE new_buffer) |
static void | yy_init_buffer (YY_BUFFER_STATE b, FILE *file) |
YY_BUFFER_STATE | yy_scan_buffer (char *base, yy_size_t size) |
YY_BUFFER_STATE | yy_scan_string (const char *yy_str) |
YY_BUFFER_STATE | yy_scan_bytes (const char *bytes, int len) |
void * | yyalloc (yy_size_t) |
void * | yyrealloc (void *, yy_size_t) |
void | yyfree (void *) |
static yy_state_type | yy_get_previous_state (void) |
static yy_state_type | yy_try_NUL_trans (yy_state_type current_state) |
static int | yy_get_next_buffer (void) |
static void yynoreturn | yy_fatal_error (const char *msg) |
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) |
static int | yy_init_globals (void) |
void | yyset_debug (int debug_flag) |
void | yyset_extra (YY_EXTRA_TYPE user_defined) |
void | yyset_in (FILE *_in_str) |
void | yyset_out (FILE *_out_str) |
void | yyset_lineno (int _line_number) |
static void | yyunput (int c, char *buf_ptr) |
if (!(yy_init)) | |
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 | |
int | yyleng |
FILE * | yyin = NULL |
FILE * | yyout = NULL |
static size_t | yy_buffer_stack_top = 0 |
static size_t | yy_buffer_stack_max = 0 |
static YY_BUFFER_STATE * | yy_buffer_stack = NULL |
static char | yy_hold_char |
static int | yy_n_chars |
static char * | yy_c_buf_p = NULL |
static int | yy_init = 0 |
static int | yy_start = 0 |
static int | yy_did_buffer_switch_on_eof |
int | yylineno = 1 |
char * | yytext |
static const flex_int16_t | yy_accept [93] |
static const YY_CHAR | yy_ec [256] |
static const YY_CHAR | yy_meta [49] |
static const flex_int16_t | yy_base [105] |
static const flex_int16_t | yy_def [105] |
static const flex_int16_t | yy_nxt [268] |
static const flex_int16_t | yy_chk [268] |
static yy_state_type | yy_last_accepting_state |
static char * | yy_last_accepting_cpos |
int | yy_flex_debug = 0 |
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 |
YY_DECL | |
char * | yy_cp |
char * | yy_bp |
int | yy_act |
#define GRAPH_EOF_TOKEN '@' /* lex class must be defined below */ |
#define isatty | ( | x | ) | gv_isatty_suppression |
#define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
#define YY_CURRENT_BUFFER |
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
#define YY_DO_BEFORE_ACTION |
#define YY_EXIT_FAILURE 2 |
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
#define yy_load_buffer_state | ( | void | ) | aag_load_buffer_state |
#define yy_new_buffer yy_create_buffer |
#define YY_RULE_SETUP |
#define yy_set_bol | ( | at_bol | ) |
#define yy_set_interactive | ( | is_interactive | ) |
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
#define yyensure_buffer_stack | ( | void | ) | aagensure_buffer_stack |
#define yyless | ( | n | ) |
#define yyless | ( | n | ) |
#define YYTABLES_NAME "yytables" |
typedef short int flex_int16_t |
typedef int flex_int32_t |
typedef signed char flex_int8_t |
typedef unsigned short int flex_uint16_t |
typedef unsigned int flex_uint32_t |
typedef unsigned char flex_uint8_t |
typedef struct yy_buffer_state* YY_BUFFER_STATE |
typedef flex_uint8_t YY_CHAR |
typedef int yy_state_type |
void aagerror | ( | const char * | str | ) |
Definition at line 2363 of file scan.c.
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 |
|
static |
|
static |
Definition at line 2500 of file scan.c.
References agwarningf(), fname, gv_isdigit(), InputFile, line_num, and twoDots().
|
static |
Definition at line 2435 of file scan.c.
References aaglval, Ag_G_global, agstrdup(), agxbuse(), Sbuf, and AAGSTYPE::str.
|
static |
Definition at line 2439 of file scan.c.
References aaglval, Ag_G_global, agstrdup_html(), agxbuse(), Sbuf, and AAGSTYPE::str.
if | ( | ! | yy_init | ) |
Definition at line 1082 of file scan.c.
References YY_BUF_SIZE, yy_create_buffer, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init, yy_load_buffer_state, yy_start, yyensure_buffer_stack, yyin, and yyout.
|
static |
Definition at line 2459 of file scan.c.
References cnt(), line_num, lineno, startswith(), and storeFileName().
|
static |
Definition at line 2443 of file scan.c.
References cnt(), fname, gv_realloc(), InputFile, and len().
Referenced by ppDirective().
|
static |
YY_BUFFER_STATE yy_create_buffer | ( | FILE * | file, |
int | size | ||
) |
void yy_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
|
static |
void yy_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
|
static |
|
static |
|
static |
|
static |
YY_BUFFER_STATE yy_scan_buffer | ( | char * | base, |
yy_size_t | size | ||
) |
YY_BUFFER_STATE yy_scan_bytes | ( | const char * | bytes, |
int | len | ||
) |
YY_BUFFER_STATE yy_scan_string | ( | const char * | yy_str | ) |
void yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
|
static |
void yyfree | ( | void * | ) |
void yypush_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
void * yyrealloc | ( | void * | , |
yy_size_t | |||
) |
void yyrestart | ( | FILE * | input_file | ) |
void yyset_debug | ( | int | debug_flag | ) |
void yyset_extra | ( | YY_EXTRA_TYPE | user_defined | ) |
void yyset_in | ( | FILE * | _in_str | ) |
void yyset_lineno | ( | int | _line_number | ) |
void yyset_out | ( | FILE * | _out_str | ) |
|
static |
|
static |
Definition at line 830 of file scan.c.
Referenced by aglexinit().
|
static |
Definition at line 832 of file scan.c.
Referenced by aglexinit(), init(), and main().
|
static |
Definition at line 831 of file scan.c.
Referenced by aglexinit().
|
static |
Definition at line 829 of file scan.c.
Referenced by aagerror(), agsetfile(), chkNum(), and storeFileName().
|
static |
Definition at line 827 of file scan.c.
Referenced by aagerror(), agsetfile(), chkNum(), and ppDirective().
|
static |
Definition at line 849 of file scan.c.
Referenced by aagerror(), addstr(), beginstr(), endstr(), and endstr_html().
|
static |
|
static |
|
static |
|
static |
YY_DECL |
The main scanner function which does all the work.
|
static |
|
static |
|
static |
|
static |