New directory tree, with preprocessor/ inside interpretor/.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / compiler / parser / faustparser.hpp
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 WITH = 258,
43 MIX = 259,
44 SPLIT = 260,
45 SEQ = 261,
46 PAR = 262,
47 REC = 263,
48 NE = 264,
49 GE = 265,
50 GT = 266,
51 EQ = 267,
52 LE = 268,
53 LT = 269,
54 OR = 270,
55 SUB = 271,
56 ADD = 272,
57 RSH = 273,
58 LSH = 274,
59 XOR = 275,
60 AND = 276,
61 MOD = 277,
62 DIV = 278,
63 MUL = 279,
64 POWOP = 280,
65 FDELAY = 281,
66 DELAY1 = 282,
67 DOT = 283,
68 APPL = 284,
69 HASH = 285,
70 MEM = 286,
71 PREFIX = 287,
72 INTCAST = 288,
73 FLOATCAST = 289,
74 FFUNCTION = 290,
75 FCONSTANT = 291,
76 FVARIABLE = 292,
77 BUTTON = 293,
78 CHECKBOX = 294,
79 VSLIDER = 295,
80 HSLIDER = 296,
81 NENTRY = 297,
82 VGROUP = 298,
83 HGROUP = 299,
84 TGROUP = 300,
85 HBARGRAPH = 301,
86 VBARGRAPH = 302,
87 ATTACH = 303,
88 ACOS = 304,
89 ASIN = 305,
90 ATAN = 306,
91 ATAN2 = 307,
92 COS = 308,
93 SIN = 309,
94 TAN = 310,
95 EXP = 311,
96 LOG = 312,
97 LOG10 = 313,
98 POWFUN = 314,
99 SQRT = 315,
100 ABS = 316,
101 MIN = 317,
102 MAX = 318,
103 FMOD = 319,
104 REMAINDER = 320,
105 FLOOR = 321,
106 CEIL = 322,
107 RINT = 323,
108 RDTBL = 324,
109 RWTBL = 325,
110 SELECT2 = 326,
111 SELECT3 = 327,
112 INT = 328,
113 FLOAT = 329,
114 LAMBDA = 330,
115 WIRE = 331,
116 CUT = 332,
117 ENDDEF = 333,
118 VIRG = 334,
119 LPAR = 335,
120 RPAR = 336,
121 LBRAQ = 337,
122 RBRAQ = 338,
123 LCROC = 339,
124 RCROC = 340,
125 DEF = 341,
126 IMPORT = 342,
127 COMPONENT = 343,
128 LIBRARY = 344,
129 ENVIRONMENT = 345,
130 IPAR = 346,
131 ISEQ = 347,
132 ISUM = 348,
133 IPROD = 349,
134 STRING = 350,
135 FSTRING = 351,
136 IDENT = 352,
137 EXTRA = 353,
138 DECLARE = 354,
139 CASE = 355,
140 ARROW = 356,
141 VECTORIZE = 357,
142 SERIALIZE = 358,
143 RATE = 359,
144 UPSAMPLE = 360,
145 DOWNSAMPLE = 361,
146 BDOC = 362,
147 EDOC = 363,
148 BEQN = 364,
149 EEQN = 365,
150 BDGM = 366,
151 EDGM = 367,
152 BLST = 368,
153 ELST = 369,
154 BMETADATA = 370,
155 EMETADATA = 371,
156 DOCCHAR = 372,
157 NOTICE = 373,
158 LISTING = 374,
159 LSTTRUE = 375,
160 LSTFALSE = 376,
161 LSTDEPENDENCIES = 377,
162 LSTMDOCTAGS = 378,
163 LSTDISTRIBUTED = 379,
164 LSTEQ = 380,
165 LSTQ = 381
166 };
167 #endif
168
169
170
171 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
172 typedef union YYSTYPE
173 {
174
175 /* Line 1676 of yacc.c */
176 #line 78 "parser/faustparser.y"
177
178 CTree* exp;
179 char* str;
180 string* cppstr;
181 bool b;
182
183
184
185 /* Line 1676 of yacc.c */
186 #line 187 "parser/faustparser.hpp"
187 } YYSTYPE;
188 # define YYSTYPE_IS_TRIVIAL 1
189 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
190 # define YYSTYPE_IS_DECLARED 1
191 #endif
192
193 extern YYSTYPE yylval;
194
195