parser.tab.hh
4.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/* A Bison parser, made by GNU Bison 2.3. */
/* Skeleton interface for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
FZ_INT_LIT = 258,
FZ_BOOL_LIT = 259,
FZ_FLOAT_LIT = 260,
FZ_ID = 261,
FZ_U_ID = 262,
FZ_STRING_LIT = 263,
FZ_VAR = 264,
FZ_PAR = 265,
FZ_ANNOTATION = 266,
FZ_ANY = 267,
FZ_ARRAY = 268,
FZ_BOOL = 269,
FZ_CASE = 270,
FZ_COLONCOLON = 271,
FZ_CONSTRAINT = 272,
FZ_DEFAULT = 273,
FZ_DOTDOT = 274,
FZ_ELSE = 275,
FZ_ELSEIF = 276,
FZ_ENDIF = 277,
FZ_ENUM = 278,
FZ_FLOAT = 279,
FZ_FUNCTION = 280,
FZ_IF = 281,
FZ_INCLUDE = 282,
FZ_INT = 283,
FZ_LET = 284,
FZ_MAXIMIZE = 285,
FZ_MINIMIZE = 286,
FZ_OF = 287,
FZ_SATISFY = 288,
FZ_OUTPUT = 289,
FZ_PREDICATE = 290,
FZ_RECORD = 291,
FZ_SET = 292,
FZ_SHOW = 293,
FZ_SHOWCOND = 294,
FZ_SOLVE = 295,
FZ_STRING = 296,
FZ_TEST = 297,
FZ_THEN = 298,
FZ_TUPLE = 299,
FZ_TYPE = 300,
FZ_VARIANT_RECORD = 301,
FZ_WHERE = 302
};
#endif
/* Tokens. */
#define FZ_INT_LIT 258
#define FZ_BOOL_LIT 259
#define FZ_FLOAT_LIT 260
#define FZ_ID 261
#define FZ_U_ID 262
#define FZ_STRING_LIT 263
#define FZ_VAR 264
#define FZ_PAR 265
#define FZ_ANNOTATION 266
#define FZ_ANY 267
#define FZ_ARRAY 268
#define FZ_BOOL 269
#define FZ_CASE 270
#define FZ_COLONCOLON 271
#define FZ_CONSTRAINT 272
#define FZ_DEFAULT 273
#define FZ_DOTDOT 274
#define FZ_ELSE 275
#define FZ_ELSEIF 276
#define FZ_ENDIF 277
#define FZ_ENUM 278
#define FZ_FLOAT 279
#define FZ_FUNCTION 280
#define FZ_IF 281
#define FZ_INCLUDE 282
#define FZ_INT 283
#define FZ_LET 284
#define FZ_MAXIMIZE 285
#define FZ_MINIMIZE 286
#define FZ_OF 287
#define FZ_SATISFY 288
#define FZ_OUTPUT 289
#define FZ_PREDICATE 290
#define FZ_RECORD 291
#define FZ_SET 292
#define FZ_SHOW 293
#define FZ_SHOWCOND 294
#define FZ_SOLVE 295
#define FZ_STRING 296
#define FZ_TEST 297
#define FZ_THEN 298
#define FZ_TUPLE 299
#define FZ_TYPE 300
#define FZ_VARIANT_RECORD 301
#define FZ_WHERE 302
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
#line 330 "parser.yxx"
{ int iValue; char* sValue; bool bValue; double dValue;
std::vector<int>* setValue;
FlatZinc::AST::SetLit* setLit;
std::vector<double>* floatSetValue;
std::vector<FlatZinc::AST::SetLit>* setValueList;
FlatZinc::Option<FlatZinc::AST::SetLit* > oSet;
FlatZinc::VarSpec* varSpec;
FlatZinc::Option<FlatZinc::AST::Node*> oArg;
std::vector<FlatZinc::VarSpec*>* varSpecVec;
FlatZinc::Option<std::vector<FlatZinc::VarSpec*>* > oVarSpecVec;
FlatZinc::AST::Node* arg;
FlatZinc::AST::Array* argVec;
}
/* Line 1529 of yacc.c. */
#line 157 "parser.tab.hpp"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif