Graphviz
13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gmlparse.h
Go to the documentation of this file.
1
/* A Bison parser, made by GNU Bison 3.5.1. */
2
3
/* Bison interface for Yacc-like parsers in C
4
5
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
6
Inc.
7
8
This program is free software: you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation, either version 3 of the License, or
11
(at your option) any later version.
12
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
17
18
You should have received a copy of the GNU General Public License
19
along with this program. If not, see <http://www.gnu.org/licenses/>. */
20
21
/* As a special exception, you may create a larger work that contains
22
part or all of the Bison parser skeleton and distribute that work
23
under terms of your choice, so long as that work isn't itself a
24
parser generator using the skeleton or a modified version thereof
25
as a parser skeleton. Alternatively, if you modify or redistribute
26
the parser skeleton itself, you may (at your option) remove this
27
special exception, which will cause the skeleton and the resulting
28
Bison output files to be licensed under the GNU General Public
29
License without this special exception.
30
31
This special exception was added by the Free Software Foundation in
32
version 2.2 of Bison. */
33
34
/* Undocumented macros, especially those whose name start with YY_,
35
are private implementation details. Do not rely on them. */
36
37
#ifndef YY_GML_GMLPARSE_H_INCLUDED
38
# define YY_GML_GMLPARSE_H_INCLUDED
39
/* Debug traces. */
40
#ifndef GMLDEBUG
41
# if defined YYDEBUG
42
#if YYDEBUG
43
# define GMLDEBUG 1
44
# else
45
# define GMLDEBUG 0
46
# endif
47
# else
/* ! defined YYDEBUG */
48
# define GMLDEBUG 0
49
# endif
/* ! defined YYDEBUG */
50
#endif
/* ! defined GMLDEBUG */
51
#if GMLDEBUG
52
extern
int
gmldebug;
53
#endif
54
55
/* Token type. */
56
#ifndef GMLTOKENTYPE
57
# define GMLTOKENTYPE
58
enum
gmltokentype
59
{
60
GRAPH
= 258,
61
NODE
= 259,
62
EDGE
= 260,
63
DIRECTED
= 261,
64
SOURCE
= 262,
65
TARGET
= 263,
66
XVAL
= 264,
67
YVAL
= 265,
68
WVAL
= 266,
69
HVAL
= 267,
70
LABEL
= 268,
71
GRAPHICS
= 269,
72
LABELGRAPHICS
= 270,
73
TYPE
= 271,
74
FILL
= 272,
75
OUTLINE
= 273,
76
OUTLINESTYLE
= 274,
77
OUTLINEWIDTH
= 275,
78
WIDTH
= 276,
79
STYLE
= 277,
80
LINE
= 278,
81
POINT
= 279,
82
TEXT
= 280,
83
FONTSIZE
= 281,
84
FONTNAME
= 282,
85
COLOR
= 283,
86
INTEGER
= 284,
87
REAL
= 285,
88
STRING
= 286,
89
ID
= 287,
90
NAME
= 288,
91
LIST
= 289
92
};
93
#endif
94
/* Tokens. */
95
#define GRAPH 258
96
#define NODE 259
97
#define EDGE 260
98
#define DIRECTED 261
99
#define SOURCE 262
100
#define TARGET 263
101
#define XVAL 264
102
#define YVAL 265
103
#define WVAL 266
104
#define HVAL 267
105
#define LABEL 268
106
#define GRAPHICS 269
107
#define LABELGRAPHICS 270
108
#define TYPE 271
109
#define FILL 272
110
#define OUTLINE 273
111
#define OUTLINESTYLE 274
112
#define OUTLINEWIDTH 275
113
#define WIDTH 276
114
#define STYLE 277
115
#define LINE 278
116
#define POINT 279
117
#define TEXT 280
118
#define FONTSIZE 281
119
#define FONTNAME 282
120
#define COLOR 283
121
#define INTEGER 284
122
#define REAL 285
123
#define STRING 286
124
#define ID 287
125
#define NAME 288
126
#define LIST 289
127
128
/* Value type. */
129
#if ! defined GMLSTYPE && ! defined GMLSTYPE_IS_DECLARED
130
union
GMLSTYPE
131
{
132
#line 197 "../../cmd/tools/gmlparse.y"
133
134
int
i
;
135
char
*
str
;
136
gmlnode
*
np
;
137
gmledge
*
ep
;
138
gmlattr
*
ap
;
139
attrs_t *
list
;
140
141
#line 142 "gmlparse.h"
142
143
};
144
typedef
union
GMLSTYPE
GMLSTYPE
;
145
# define GMLSTYPE_IS_TRIVIAL 1
146
# define GMLSTYPE_IS_DECLARED 1
147
#endif
148
149
150
extern
GMLSTYPE
gmllval
;
151
152
int
gmlparse
(
void
);
153
154
#endif
/* !YY_GML_GMLPARSE_H_INCLUDED */
gmltokentype
gmltokentype
Definition
gmlparse.c:311
LABEL
#define LABEL
Definition
gmlparse.h:105
STRING
#define STRING
Definition
gmlparse.h:123
OUTLINESTYLE
#define OUTLINESTYLE
Definition
gmlparse.h:111
WIDTH
#define WIDTH
Definition
gmlparse.h:113
gmllval
GMLSTYPE gmllval
GRAPHICS
#define GRAPHICS
Definition
gmlparse.h:106
POINT
#define POINT
Definition
gmlparse.h:116
NAME
#define NAME
Definition
gmlparse.h:125
COLOR
#define COLOR
Definition
gmlparse.h:120
REAL
#define REAL
Definition
gmlparse.h:122
TEXT
#define TEXT
Definition
gmlparse.h:117
TYPE
#define TYPE
Definition
gmlparse.h:108
FONTSIZE
#define FONTSIZE
Definition
gmlparse.h:118
FILL
#define FILL
Definition
gmlparse.h:109
ID
#define ID
Definition
gmlparse.h:124
OUTLINEWIDTH
#define OUTLINEWIDTH
Definition
gmlparse.h:112
SOURCE
#define SOURCE
Definition
gmlparse.h:99
DIRECTED
#define DIRECTED
Definition
gmlparse.h:98
INTEGER
#define INTEGER
Definition
gmlparse.h:121
gmlparse
int gmlparse(void)
NODE
#define NODE
Definition
gmlparse.h:96
TARGET
#define TARGET
Definition
gmlparse.h:100
WVAL
#define WVAL
Definition
gmlparse.h:103
EDGE
#define EDGE
Definition
gmlparse.h:97
STYLE
#define STYLE
Definition
gmlparse.h:114
HVAL
#define HVAL
Definition
gmlparse.h:104
YVAL
#define YVAL
Definition
gmlparse.h:102
FONTNAME
#define FONTNAME
Definition
gmlparse.h:119
LABELGRAPHICS
#define LABELGRAPHICS
Definition
gmlparse.h:107
LIST
#define LIST
Definition
gmlparse.h:126
XVAL
#define XVAL
Definition
gmlparse.h:101
LINE
#define LINE
Definition
gmlparse.h:115
OUTLINE
#define OUTLINE
Definition
gmlparse.h:110
GRAPH
#define GRAPH
Definition
gmlparse.h:95
gmlattr
Definition
gml2gv.h:10
gmledge
Definition
gml2gv.h:33
gmlnode
Definition
gml2gv.h:24
GMLSTYPE
Definition
gmlparse.c:383
GMLSTYPE::ap
gmlattr * ap
Definition
gmlparse.c:390
GMLSTYPE::str
char * str
Definition
gmlparse.c:387
GMLSTYPE::ep
gmledge * ep
Definition
gmlparse.c:389
GMLSTYPE::i
int i
Definition
gmlparse.c:386
GMLSTYPE::np
gmlnode * np
Definition
gmlparse.c:388
GMLSTYPE::list
attrs_t * list
Definition
gmlparse.c:391
cmd
tools
gmlparse.h
Generated by
1.9.8