doxygen
mscgen_language.h
1 
2 /* A Bison parser, made by GNU Bison 2.4.1. */
3 
4 /* Skeleton interface for Bison's Yacc-like parsers in C
5 
6  Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7  Free Software Foundation, Inc.
8 
9  This program is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  (at your option) any later version.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program. If not, see <http://www.gnu.org/licenses/>. */
21 
22 /* As a special exception, you may create a larger work that contains
23  part or all of the Bison parser skeleton and distribute that work
24  under terms of your choice, so long as that work isn't itself a
25  parser generator using the skeleton or a modified version thereof
26  as a parser skeleton. Alternatively, if you modify or redistribute
27  the parser skeleton itself, you may (at your option) remove this
28  special exception, which will cause the skeleton and the resulting
29  Bison output files to be licensed under the GNU General Public
30  License without this special exception.
31 
32  This special exception was added by the Free Software Foundation in
33  version 2.2 of Bison. */
34 
35 
36 /* Tokens. */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPE
39  /* Put the tokens into the symbol table, so that GDB and other debuggers
40  know about them. */
41  enum yytokentype {
42  TOK_STRING = 258,
43  TOK_QSTRING = 259,
44  TOK_EQUAL = 260,
45  TOK_COMMA = 261,
46  TOK_SEMICOLON = 262,
47  TOK_OCBRACKET = 263,
48  TOK_CCBRACKET = 264,
49  TOK_OSBRACKET = 265,
50  TOK_CSBRACKET = 266,
51  TOK_MSC = 267,
52  TOK_ATTR_LABEL = 268,
53  TOK_ATTR_URL = 269,
54  TOK_ATTR_ID = 270,
55  TOK_ATTR_IDURL = 271,
56  TOK_ATTR_LINE_COLOUR = 272,
57  TOK_ATTR_TEXT_COLOUR = 273,
58  TOK_ATTR_TEXT_BGCOLOUR = 274,
59  TOK_ATTR_ARC_LINE_COLOUR = 275,
60  TOK_ATTR_ARC_TEXT_COLOUR = 276,
61  TOK_ATTR_ARC_TEXT_BGCOLOUR = 277,
62  TOK_REL_LOSS_TO = 278,
63  TOK_REL_LOSS_FROM = 279,
64  TOK_REL_SIG_BI = 280,
65  TOK_REL_SIG_TO = 281,
66  TOK_REL_SIG_FROM = 282,
67  TOK_REL_METHOD_BI = 283,
68  TOK_REL_METHOD_TO = 284,
69  TOK_REL_METHOD_FROM = 285,
70  TOK_REL_RETVAL_BI = 286,
71  TOK_REL_RETVAL_TO = 287,
72  TOK_REL_RETVAL_FROM = 288,
73  TOK_REL_DOUBLE_BI = 289,
74  TOK_REL_DOUBLE_TO = 290,
75  TOK_REL_DOUBLE_FROM = 291,
76  TOK_REL_CALLBACK_BI = 292,
77  TOK_REL_CALLBACK_TO = 293,
78  TOK_REL_CALLBACK_FROM = 294,
79  TOK_REL_BOX = 295,
80  TOK_REL_ABOX = 296,
81  TOK_REL_RBOX = 297,
82  TOK_REL_NOTE = 298,
83  TOK_SPECIAL_ARC = 299,
84  TOK_OPT_HSCALE = 300,
85  TOK_OPT_WIDTH = 301,
86  TOK_OPT_ARCGRADIENT = 302,
87  TOK_OPT_WORDWRAPARCS = 303,
88  TOK_ASTERISK = 304,
89  TOK_UNKNOWN = 305,
90  TOK_REL_SIG = 306,
91  TOK_REL_METHOD = 307,
92  TOK_REL_RETVAL = 308,
93  TOK_REL_DOUBLE = 309,
94  TOK_ATTR_ARC_SKIP = 310
95  };
96 #endif
97 /* Tokens. */
98 #define TOK_STRING 258
99 #define TOK_QSTRING 259
100 #define TOK_EQUAL 260
101 #define TOK_COMMA 261
102 #define TOK_SEMICOLON 262
103 #define TOK_OCBRACKET 263
104 #define TOK_CCBRACKET 264
105 #define TOK_OSBRACKET 265
106 #define TOK_CSBRACKET 266
107 #define TOK_MSC 267
108 #define TOK_ATTR_LABEL 268
109 #define TOK_ATTR_URL 269
110 #define TOK_ATTR_ID 270
111 #define TOK_ATTR_IDURL 271
112 #define TOK_ATTR_LINE_COLOUR 272
113 #define TOK_ATTR_TEXT_COLOUR 273
114 #define TOK_ATTR_TEXT_BGCOLOUR 274
115 #define TOK_ATTR_ARC_LINE_COLOUR 275
116 #define TOK_ATTR_ARC_TEXT_COLOUR 276
117 #define TOK_ATTR_ARC_TEXT_BGCOLOUR 277
118 #define TOK_REL_LOSS_TO 278
119 #define TOK_REL_LOSS_FROM 279
120 #define TOK_REL_SIG_BI 280
121 #define TOK_REL_SIG_TO 281
122 #define TOK_REL_SIG_FROM 282
123 #define TOK_REL_METHOD_BI 283
124 #define TOK_REL_METHOD_TO 284
125 #define TOK_REL_METHOD_FROM 285
126 #define TOK_REL_RETVAL_BI 286
127 #define TOK_REL_RETVAL_TO 287
128 #define TOK_REL_RETVAL_FROM 288
129 #define TOK_REL_DOUBLE_BI 289
130 #define TOK_REL_DOUBLE_TO 290
131 #define TOK_REL_DOUBLE_FROM 291
132 #define TOK_REL_CALLBACK_BI 292
133 #define TOK_REL_CALLBACK_TO 293
134 #define TOK_REL_CALLBACK_FROM 294
135 #define TOK_REL_BOX 295
136 #define TOK_REL_ABOX 296
137 #define TOK_REL_RBOX 297
138 #define TOK_REL_NOTE 298
139 #define TOK_SPECIAL_ARC 299
140 #define TOK_OPT_HSCALE 300
141 #define TOK_OPT_WIDTH 301
142 #define TOK_OPT_ARCGRADIENT 302
143 #define TOK_OPT_WORDWRAPARCS 303
144 #define TOK_ASTERISK 304
145 #define TOK_UNKNOWN 305
146 #define TOK_REL_SIG 306
147 #define TOK_REL_METHOD 307
148 #define TOK_REL_RETVAL 308
149 #define TOK_REL_DOUBLE 309
150 #define TOK_ATTR_ARC_SKIP 310
151 
152 
153 
154 
155 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
156 typedef union YYSTYPE
157 {
158 
159 /* Line 1676 of yacc.c */
160 #line 248 "language.y"
161 
162  char *string;
163  Msc msc;
164  MscOpt opt;
165  MscOptType optType;
166  MscArc arc;
167  MscArcList arclist;
168  MscArcType arctype;
169  MscEntity entity;
170  MscEntityList entitylist;
171  MscAttrib attrib;
172  MscAttribType attribType;
173 
174 
175 
176 /* Line 1676 of yacc.c */
177 #line 178 "language.h"
178 } YYSTYPE;
179 # define YYSTYPE_IS_TRIVIAL 1
180 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
181 # define YYSTYPE_IS_DECLARED 1
182 #endif
183 
184 extern YYSTYPE yylval;
185 
186 
Definition: mscgen_language.h:156