/* A Bison parser, made by GNU Bison 3.8.2.  */

/* Bison interface for Yacc-like parsers in C

   Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 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 3 of the License, 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, see <https://www.gnu.org/licenses/>.  */

/* 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.  */

/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
   especially those whose name start with YY_ or yy_.  They are
   private implementation details that can be changed or removed.  */

#ifndef YY_SMT2_BUILD_STP_SRC_BUILD_LIB_PARSER_PARSESMT2_TAB_H_INCLUDED
# define YY_SMT2_BUILD_STP_SRC_BUILD_LIB_PARSER_PARSESMT2_TAB_H_INCLUDED
/* Debug traces.  */
#ifndef SMT2DEBUG
# if defined YYDEBUG
#if YYDEBUG
#   define SMT2DEBUG 1
#  else
#   define SMT2DEBUG 0
#  endif
# else /* ! defined YYDEBUG */
#  define SMT2DEBUG 1
# endif /* ! defined YYDEBUG */
#endif  /* ! defined SMT2DEBUG */
#if SMT2DEBUG
extern int smt2debug;
#endif

/* Token kinds.  */
#ifndef SMT2TOKENTYPE
# define SMT2TOKENTYPE
  enum smt2tokentype
  {
    SMT2EMPTY = -2,
    END = 0,                       /* "end of file"  */
    SMT2error = 256,               /* error  */
    SMT2UNDEF = 257,               /* "invalid token"  */
    NUMERAL_TOK = 258,             /* NUMERAL_TOK  */
    BVCONST_DECIMAL_TOK = 259,     /* BVCONST_DECIMAL_TOK  */
    BVCONST_BINARY_TOK = 260,      /* BVCONST_BINARY_TOK  */
    BVCONST_HEXIDECIMAL_TOK = 261, /* BVCONST_HEXIDECIMAL_TOK  */
    DECIMAL_TOK = 262,             /* DECIMAL_TOK  */
    FORMID_TOK = 263,              /* FORMID_TOK  */
    TERMID_TOK = 264,              /* TERMID_TOK  */
    STRING_TOK = 265,              /* STRING_TOK  */
    BITVECTOR_FUNCTIONID_TOK = 266, /* BITVECTOR_FUNCTIONID_TOK  */
    BOOLEAN_FUNCTIONID_TOK = 267,  /* BOOLEAN_FUNCTIONID_TOK  */
    SOURCE_TOK = 268,              /* SOURCE_TOK  */
    CATEGORY_TOK = 269,            /* CATEGORY_TOK  */
    DIFFICULTY_TOK = 270,          /* DIFFICULTY_TOK  */
    VERSION_TOK = 271,             /* VERSION_TOK  */
    STATUS_TOK = 272,              /* STATUS_TOK  */
    LICENSE_TOK = 273,             /* LICENSE_TOK  */
    UNDERSCORE_TOK = 274,          /* UNDERSCORE_TOK  */
    LPAREN_TOK = 275,              /* LPAREN_TOK  */
    RPAREN_TOK = 276,              /* RPAREN_TOK  */
    EXCLAIMATION_MARK_TOK = 277,   /* EXCLAIMATION_MARK_TOK  */
    NAMED_ATTRIBUTE_TOK = 278,     /* NAMED_ATTRIBUTE_TOK  */
    BVLEFTSHIFT_1_TOK = 279,       /* BVLEFTSHIFT_1_TOK  */
    BVRIGHTSHIFT_1_TOK = 280,      /* BVRIGHTSHIFT_1_TOK  */
    BVARITHRIGHTSHIFT_TOK = 281,   /* BVARITHRIGHTSHIFT_TOK  */
    BVPLUS_TOK = 282,              /* BVPLUS_TOK  */
    BVSUB_TOK = 283,               /* BVSUB_TOK  */
    BVNOT_TOK = 284,               /* BVNOT_TOK  */
    BVMULT_TOK = 285,              /* BVMULT_TOK  */
    BVDIV_TOK = 286,               /* BVDIV_TOK  */
    SBVDIV_TOK = 287,              /* SBVDIV_TOK  */
    BVMOD_TOK = 288,               /* BVMOD_TOK  */
    SBVREM_TOK = 289,              /* SBVREM_TOK  */
    SBVMOD_TOK = 290,              /* SBVMOD_TOK  */
    BVNEG_TOK = 291,               /* BVNEG_TOK  */
    BVAND_TOK = 292,               /* BVAND_TOK  */
    BVOR_TOK = 293,                /* BVOR_TOK  */
    BVXOR_TOK = 294,               /* BVXOR_TOK  */
    BVNAND_TOK = 295,              /* BVNAND_TOK  */
    BVNOR_TOK = 296,               /* BVNOR_TOK  */
    BVXNOR_TOK = 297,              /* BVXNOR_TOK  */
    BVCONCAT_TOK = 298,            /* BVCONCAT_TOK  */
    BVLT_TOK = 299,                /* BVLT_TOK  */
    BVGT_TOK = 300,                /* BVGT_TOK  */
    BVLE_TOK = 301,                /* BVLE_TOK  */
    BVGE_TOK = 302,                /* BVGE_TOK  */
    BVSLT_TOK = 303,               /* BVSLT_TOK  */
    BVSGT_TOK = 304,               /* BVSGT_TOK  */
    BVSLE_TOK = 305,               /* BVSLE_TOK  */
    BVSGE_TOK = 306,               /* BVSGE_TOK  */
    BVSX_TOK = 307,                /* BVSX_TOK  */
    BVEXTRACT_TOK = 308,           /* BVEXTRACT_TOK  */
    BVZX_TOK = 309,                /* BVZX_TOK  */
    BVROTATE_RIGHT_TOK = 310,      /* BVROTATE_RIGHT_TOK  */
    BVROTATE_LEFT_TOK = 311,       /* BVROTATE_LEFT_TOK  */
    BVREPEAT_TOK = 312,            /* BVREPEAT_TOK  */
    BVCOMP_TOK = 313,              /* BVCOMP_TOK  */
    BITVEC_TOK = 314,              /* BITVEC_TOK  */
    ARRAY_TOK = 315,               /* ARRAY_TOK  */
    BOOL_TOK = 316,                /* BOOL_TOK  */
    TRUE_TOK = 317,                /* TRUE_TOK  */
    FALSE_TOK = 318,               /* FALSE_TOK  */
    NOT_TOK = 319,                 /* NOT_TOK  */
    AND_TOK = 320,                 /* AND_TOK  */
    OR_TOK = 321,                  /* OR_TOK  */
    XOR_TOK = 322,                 /* XOR_TOK  */
    ITE_TOK = 323,                 /* ITE_TOK  */
    EQ_TOK = 324,                  /* EQ_TOK  */
    IMPLIES_TOK = 325,             /* IMPLIES_TOK  */
    DISTINCT_TOK = 326,            /* DISTINCT_TOK  */
    LET_TOK = 327,                 /* LET_TOK  */
    COLON_TOK = 328,               /* COLON_TOK  */
    ASSERT_TOK = 329,              /* ASSERT_TOK  */
    CHECK_SAT_TOK = 330,           /* CHECK_SAT_TOK  */
    CHECK_SAT_ASSUMING_TOK = 331,  /* CHECK_SAT_ASSUMING_TOK  */
    DECLARE_CONST_TOK = 332,       /* DECLARE_CONST_TOK  */
    DECLARE_FUNCTION_TOK = 333,    /* DECLARE_FUNCTION_TOK  */
    DECLARE_SORT_TOK = 334,        /* DECLARE_SORT_TOK  */
    DEFINE_FUNCTION_TOK = 335,     /* DEFINE_FUNCTION_TOK  */
    DECLARE_FUN_REC_TOK = 336,     /* DECLARE_FUN_REC_TOK  */
    DECLARE_FUNS_REC_TOK = 337,    /* DECLARE_FUNS_REC_TOK  */
    DEFINE_SORT_TOK = 338,         /* DEFINE_SORT_TOK  */
    ECHO_TOK = 339,                /* ECHO_TOK  */
    EXIT_TOK = 340,                /* EXIT_TOK  */
    GET_ASSERTIONS_TOK = 341,      /* GET_ASSERTIONS_TOK  */
    GET_ASSIGNMENT_TOK = 342,      /* GET_ASSIGNMENT_TOK  */
    GET_INFO_TOK = 343,            /* GET_INFO_TOK  */
    GET_MODEL_TOK = 344,           /* GET_MODEL_TOK  */
    GET_OPTION_TOK = 345,          /* GET_OPTION_TOK  */
    GET_PROOF_TOK = 346,           /* GET_PROOF_TOK  */
    GET_UNSAT_ASSUMPTION_TOK = 347, /* GET_UNSAT_ASSUMPTION_TOK  */
    GET_UNSAT_CORE_TOK = 348,      /* GET_UNSAT_CORE_TOK  */
    GET_VALUE_TOK = 349,           /* GET_VALUE_TOK  */
    POP_TOK = 350,                 /* POP_TOK  */
    PUSH_TOK = 351,                /* PUSH_TOK  */
    RESET_TOK = 352,               /* RESET_TOK  */
    RESET_ASSERTIONS_TOK = 353,    /* RESET_ASSERTIONS_TOK  */
    NOTES_TOK = 354,               /* NOTES_TOK  */
    LOGIC_TOK = 355,               /* LOGIC_TOK  */
    SET_OPTION_TOK = 356,          /* SET_OPTION_TOK  */
    SELECT_TOK = 357,              /* SELECT_TOK  */
    STORE_TOK = 358                /* STORE_TOK  */
  };
  typedef enum smt2tokentype smt2token_kind_t;
#endif

/* Value type.  */
#if ! defined SMT2STYPE && ! defined SMT2STYPE_IS_DECLARED
union SMT2STYPE
{
#line 253 "/build/stp/src/stp-2.3.4/lib/Parser/smt2.y"

  unsigned uintval; /* for numerals in types. */

  //ASTNode,ASTVec
  stp::ASTNode *node;
  stp::ASTVec *vec;

  std::string *str;

#line 185 "/build/stp/src/build/lib/Parser/parsesmt2.tab.h"

};
typedef union SMT2STYPE SMT2STYPE;
# define SMT2STYPE_IS_TRIVIAL 1
# define SMT2STYPE_IS_DECLARED 1
#endif


extern SMT2STYPE smt2lval;


int smt2parse (void);


#endif /* !YY_SMT2_BUILD_STP_SRC_BUILD_LIB_PARSER_PARSESMT2_TAB_H_INCLUDED  */
