about summary refs log tree commit diff homepage
path: root/lib/SMT/smtlib_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SMT/smtlib_parser.h')
-rw-r--r--lib/SMT/smtlib_parser.h171
1 files changed, 171 insertions, 0 deletions
diff --git a/lib/SMT/smtlib_parser.h b/lib/SMT/smtlib_parser.h
new file mode 100644
index 00000000..c587a126
--- /dev/null
+++ b/lib/SMT/smtlib_parser.h
@@ -0,0 +1,171 @@
+/* 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 {
+     NUMERAL_TOK = 258,
+     SYM_TOK = 259,
+     STRING_TOK = 260,
+     AR_SYMB = 261,
+     USER_VAL_TOK = 262,
+     TRUE_TOK = 263,
+     FALSE_TOK = 264,
+     ITE_TOK = 265,
+     NOT_TOK = 266,
+     IMPLIES_TOK = 267,
+     IF_THEN_ELSE_TOK = 268,
+     AND_TOK = 269,
+     OR_TOK = 270,
+     XOR_TOK = 271,
+     IFF_TOK = 272,
+     EXISTS_TOK = 273,
+     FORALL_TOK = 274,
+     LET_TOK = 275,
+     FLET_TOK = 276,
+     NOTES_TOK = 277,
+     CVC_COMMAND_TOK = 278,
+     SORTS_TOK = 279,
+     FUNS_TOK = 280,
+     PREDS_TOK = 281,
+     EXTENSIONS_TOK = 282,
+     DEFINITION_TOK = 283,
+     AXIOMS_TOK = 284,
+     LOGIC_TOK = 285,
+     COLON_TOK = 286,
+     LBRACKET_TOK = 287,
+     RBRACKET_TOK = 288,
+     LCURBRACK_TOK = 289,
+     RCURBRACK_TOK = 290,
+     LPAREN_TOK = 291,
+     RPAREN_TOK = 292,
+     SAT_TOK = 293,
+     UNSAT_TOK = 294,
+     UNKNOWN_TOK = 295,
+     ASSUMPTION_TOK = 296,
+     FORMULA_TOK = 297,
+     STATUS_TOK = 298,
+     BENCHMARK_TOK = 299,
+     EXTRASORTS_TOK = 300,
+     EXTRAFUNS_TOK = 301,
+     EXTRAPREDS_TOK = 302,
+     LANGUAGE_TOK = 303,
+     DOLLAR_TOK = 304,
+     QUESTION_TOK = 305,
+     DISTINCT_TOK = 306,
+     SEMICOLON_TOK = 307,
+     EOF_TOK = 308,
+     PAT_TOK = 309
+   };
+#endif
+/* Tokens.  */
+#define NUMERAL_TOK 258
+#define SYM_TOK 259
+#define STRING_TOK 260
+#define AR_SYMB 261
+#define USER_VAL_TOK 262
+#define TRUE_TOK 263
+#define FALSE_TOK 264
+#define ITE_TOK 265
+#define NOT_TOK 266
+#define IMPLIES_TOK 267
+#define IF_THEN_ELSE_TOK 268
+#define AND_TOK 269
+#define OR_TOK 270
+#define XOR_TOK 271
+#define IFF_TOK 272
+#define EXISTS_TOK 273
+#define FORALL_TOK 274
+#define LET_TOK 275
+#define FLET_TOK 276
+#define NOTES_TOK 277
+#define CVC_COMMAND_TOK 278
+#define SORTS_TOK 279
+#define FUNS_TOK 280
+#define PREDS_TOK 281
+#define EXTENSIONS_TOK 282
+#define DEFINITION_TOK 283
+#define AXIOMS_TOK 284
+#define LOGIC_TOK 285
+#define COLON_TOK 286
+#define LBRACKET_TOK 287
+#define RBRACKET_TOK 288
+#define LCURBRACK_TOK 289
+#define RCURBRACK_TOK 290
+#define LPAREN_TOK 291
+#define RPAREN_TOK 292
+#define SAT_TOK 293
+#define UNSAT_TOK 294
+#define UNKNOWN_TOK 295
+#define ASSUMPTION_TOK 296
+#define FORMULA_TOK 297
+#define STATUS_TOK 298
+#define BENCHMARK_TOK 299
+#define EXTRASORTS_TOK 300
+#define EXTRAFUNS_TOK 301
+#define EXTRAPREDS_TOK 302
+#define LANGUAGE_TOK 303
+#define DOLLAR_TOK 304
+#define QUESTION_TOK 305
+#define DISTINCT_TOK 306
+#define SEMICOLON_TOK 307
+#define EOF_TOK 308
+#define PAT_TOK 309
+
+
+
+
+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
+typedef union YYSTYPE
+#line 76 "smtlib.y"
+{
+  std::string *str;
+  std::vector<std::string> *strvec;
+  Expr node;
+  std::vector<void*> *vec;
+}
+/* Line 1489 of yacc.c.  */
+#line 164 "smtlib_parser.hpp"
+	YYSTYPE;
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+# define YYSTYPE_IS_TRIVIAL 1
+#endif
+
+extern YYSTYPE smtliblval;
+