this repo has no description
1/* A Bison parser, made by GNU Bison 3.7.2. */
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/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
35 especially those whose name start with YY_ or yy_. They are
36 private implementation details that can be changed or removed. */
37
38#ifndef YY_YY_GECODE_FLATZINC_PARSER_TAB_HPP_INCLUDED
39# define YY_YY_GECODE_FLATZINC_PARSER_TAB_HPP_INCLUDED
40/* Debug traces. */
41#ifndef YYDEBUG
42# define YYDEBUG 1
43#endif
44#if YYDEBUG
45extern int yydebug;
46#endif
47
48/* Token kinds. */
49#ifndef YYTOKENTYPE
50# define YYTOKENTYPE
51 enum yytokentype
52 {
53 YYEMPTY = -2,
54 YYEOF = 0, /* "end of file" */
55 YYerror = 256, /* error */
56 YYUNDEF = 257, /* "invalid token" */
57 FZ_INT_LIT = 258, /* FZ_INT_LIT */
58 FZ_BOOL_LIT = 259, /* FZ_BOOL_LIT */
59 FZ_FLOAT_LIT = 260, /* FZ_FLOAT_LIT */
60 FZ_ID = 261, /* FZ_ID */
61 FZ_U_ID = 262, /* FZ_U_ID */
62 FZ_STRING_LIT = 263, /* FZ_STRING_LIT */
63 FZ_VAR = 264, /* FZ_VAR */
64 FZ_PAR = 265, /* FZ_PAR */
65 FZ_ANNOTATION = 266, /* FZ_ANNOTATION */
66 FZ_ANY = 267, /* FZ_ANY */
67 FZ_ARRAY = 268, /* FZ_ARRAY */
68 FZ_BOOL = 269, /* FZ_BOOL */
69 FZ_CASE = 270, /* FZ_CASE */
70 FZ_COLONCOLON = 271, /* FZ_COLONCOLON */
71 FZ_CONSTRAINT = 272, /* FZ_CONSTRAINT */
72 FZ_DEFAULT = 273, /* FZ_DEFAULT */
73 FZ_DOTDOT = 274, /* FZ_DOTDOT */
74 FZ_ELSE = 275, /* FZ_ELSE */
75 FZ_ELSEIF = 276, /* FZ_ELSEIF */
76 FZ_ENDIF = 277, /* FZ_ENDIF */
77 FZ_ENUM = 278, /* FZ_ENUM */
78 FZ_FLOAT = 279, /* FZ_FLOAT */
79 FZ_FUNCTION = 280, /* FZ_FUNCTION */
80 FZ_IF = 281, /* FZ_IF */
81 FZ_INCLUDE = 282, /* FZ_INCLUDE */
82 FZ_INT = 283, /* FZ_INT */
83 FZ_LET = 284, /* FZ_LET */
84 FZ_MAXIMIZE = 285, /* FZ_MAXIMIZE */
85 FZ_MINIMIZE = 286, /* FZ_MINIMIZE */
86 FZ_OF = 287, /* FZ_OF */
87 FZ_SATISFY = 288, /* FZ_SATISFY */
88 FZ_OUTPUT = 289, /* FZ_OUTPUT */
89 FZ_PREDICATE = 290, /* FZ_PREDICATE */
90 FZ_RECORD = 291, /* FZ_RECORD */
91 FZ_SET = 292, /* FZ_SET */
92 FZ_SHOW = 293, /* FZ_SHOW */
93 FZ_SHOWCOND = 294, /* FZ_SHOWCOND */
94 FZ_SOLVE = 295, /* FZ_SOLVE */
95 FZ_STRING = 296, /* FZ_STRING */
96 FZ_TEST = 297, /* FZ_TEST */
97 FZ_THEN = 298, /* FZ_THEN */
98 FZ_TUPLE = 299, /* FZ_TUPLE */
99 FZ_TYPE = 300, /* FZ_TYPE */
100 FZ_VARIANT_RECORD = 301, /* FZ_VARIANT_RECORD */
101 FZ_WHERE = 302 /* FZ_WHERE */
102 };
103 typedef enum yytokentype yytoken_kind_t;
104#endif
105
106/* Value type. */
107#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
108union YYSTYPE
109{
110#line 502 "../gecode/flatzinc/parser.yxx"
111 int iValue; char* sValue; bool bValue; double dValue;
112 std::vector<int>* setValue;
113 Gecode::FlatZinc::AST::SetLit* setLit;
114 std::vector<double>* floatSetValue;
115 std::vector<Gecode::FlatZinc::AST::SetLit>* setValueList;
116 Gecode::FlatZinc::Option<Gecode::FlatZinc::AST::SetLit* > oSet;
117 Gecode::FlatZinc::Option<std::pair<double,double>* > oPFloat;
118 Gecode::FlatZinc::VarSpec* varSpec;
119 Gecode::FlatZinc::Option<Gecode::FlatZinc::AST::Node*> oArg;
120 std::vector<Gecode::FlatZinc::VarSpec*>* varSpecVec;
121 Gecode::FlatZinc::Option<std::vector<Gecode::FlatZinc::VarSpec*>* > oVarSpecVec;
122 Gecode::FlatZinc::AST::Node* arg;
123 Gecode::FlatZinc::AST::Array* argVec;
124
125
126#line 127 "gecode/flatzinc/parser.tab.hpp"
127
128};
129typedef union YYSTYPE YYSTYPE;
130# define YYSTYPE_IS_TRIVIAL 1
131# define YYSTYPE_IS_DECLARED 1
132#endif
133
134
135
136int yyparse (void *parm);
137
138#endif /* !YY_YY_GECODE_FLATZINC_PARSER_TAB_HPP_INCLUDED */