Graphviz 12.0.1~dev.20240716.0800
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
52extern int gmldebug;
53#endif
54
55/* Token type. */
56#ifndef GMLTOKENTYPE
57# define 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,
73 TYPE = 271,
74 FILL = 272,
75 OUTLINE = 273,
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
130union GMLSTYPE
131{
132#line 236 "../../cmd/tools/gmlparse.y"
133
134 int i;
135 char *str;
136 gmlnode* np;
137 gmledge* ep;
138 gmlattr* ap;
139 Dt_t* list;
140
141#line 142 "gmlparse.h"
142
143};
144typedef union GMLSTYPE GMLSTYPE;
145# define GMLSTYPE_IS_TRIVIAL 1
146# define GMLSTYPE_IS_DECLARED 1
147#endif
148
149
150extern GMLSTYPE gmllval;
151
152int gmlparse (void);
153
154#endif /* !YY_GML_GMLPARSE_H_INCLUDED */
gmltokentype
Definition gmlparse.c:350
#define LABEL
Definition gmlparse.h:105
#define STRING
Definition gmlparse.h:123
#define OUTLINESTYLE
Definition gmlparse.h:111
#define WIDTH
Definition gmlparse.h:113
GMLSTYPE gmllval
#define GRAPHICS
Definition gmlparse.h:106
#define POINT
Definition gmlparse.h:116
#define NAME
Definition gmlparse.h:125
#define COLOR
Definition gmlparse.h:120
#define REAL
Definition gmlparse.h:122
#define TEXT
Definition gmlparse.h:117
#define TYPE
Definition gmlparse.h:108
#define FONTSIZE
Definition gmlparse.h:118
#define FILL
Definition gmlparse.h:109
#define ID
Definition gmlparse.h:124
#define OUTLINEWIDTH
Definition gmlparse.h:112
#define SOURCE
Definition gmlparse.h:99
#define DIRECTED
Definition gmlparse.h:98
#define INTEGER
Definition gmlparse.h:121
int gmlparse(void)
#define NODE
Definition gmlparse.h:96
#define TARGET
Definition gmlparse.h:100
#define WVAL
Definition gmlparse.h:103
#define EDGE
Definition gmlparse.h:97
#define STYLE
Definition gmlparse.h:114
#define HVAL
Definition gmlparse.h:104
#define YVAL
Definition gmlparse.h:102
#define FONTNAME
Definition gmlparse.h:119
#define LABELGRAPHICS
Definition gmlparse.h:107
#define LIST
Definition gmlparse.h:126
#define XVAL
Definition gmlparse.h:101
#define LINE
Definition gmlparse.h:115
#define OUTLINE
Definition gmlparse.h:110
#define GRAPH
Definition gmlparse.h:95
Definition cdt.h:104
Dt_t * list
Definition gmlparse.c:430
gmlattr * ap
Definition gmlparse.c:429
char * str
Definition gmlparse.c:426
gmledge * ep
Definition gmlparse.c:428
gmlnode * np
Definition gmlparse.c:427