/* 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_YY_IFS_YACC_H_INCLUDED
# define YY_YY_IFS_YACC_H_INCLUDED
/* Debug traces.  */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int yydebug;
#endif

/* Token kinds.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
  enum yytokentype
  {
    YYEMPTY = -2,
    YYEOF = 0,                     /* "end of file"  */
    YYerror = 256,                 /* error  */
    YYUNDEF = 257,                 /* "invalid token"  */
    TOK_ALLOWED_TYPES = 258,       /* TOK_ALLOWED_TYPES  */
    TOK_ARRAY = 259,               /* TOK_ARRAY  */
    TOK_ARRAY_BOUNDS = 260,        /* TOK_ARRAY_BOUNDS  */
    TOK_BOOL_NO = 261,             /* TOK_BOOL_NO  */
    TOK_BOOL_YES = 262,            /* TOK_BOOL_YES  */
    TOK_COMMA = 263,               /* TOK_COMMA  */
    TOK_PORT_NAME = 264,           /* TOK_PORT_NAME  */
    TOK_PORT_TABLE = 265,          /* TOK_PORT_TABLE  */
    TOK_CTYPE_D = 266,             /* TOK_CTYPE_D  */
    TOK_CTYPE_G = 267,             /* TOK_CTYPE_G  */
    TOK_CTYPE_GD = 268,            /* TOK_CTYPE_GD  */
    TOK_CTYPE_H = 269,             /* TOK_CTYPE_H  */
    TOK_CTYPE_HD = 270,            /* TOK_CTYPE_HD  */
    TOK_CTYPE_I = 271,             /* TOK_CTYPE_I  */
    TOK_CTYPE_ID = 272,            /* TOK_CTYPE_ID  */
    TOK_CTYPE_V = 273,             /* TOK_CTYPE_V  */
    TOK_CTYPE_VD = 274,            /* TOK_CTYPE_VD  */
    TOK_CTYPE_VNAM = 275,          /* TOK_CTYPE_VNAM  */
    TOK_C_FUNCTION_NAME = 276,     /* TOK_C_FUNCTION_NAME  */
    TOK_DASH = 277,                /* TOK_DASH  */
    TOK_DATA_TYPE = 278,           /* TOK_DATA_TYPE  */
    TOK_DEFAULT_TYPE = 279,        /* TOK_DEFAULT_TYPE  */
    TOK_DEFAULT_VALUE = 280,       /* TOK_DEFAULT_VALUE  */
    TOK_DESCRIPTION = 281,         /* TOK_DESCRIPTION  */
    TOK_DIRECTION = 282,           /* TOK_DIRECTION  */
    TOK_DIR_IN = 283,              /* TOK_DIR_IN  */
    TOK_DIR_INOUT = 284,           /* TOK_DIR_INOUT  */
    TOK_DIR_OUT = 285,             /* TOK_DIR_OUT  */
    TOK_DTYPE_BOOLEAN = 286,       /* TOK_DTYPE_BOOLEAN  */
    TOK_DTYPE_COMPLEX = 287,       /* TOK_DTYPE_COMPLEX  */
    TOK_DTYPE_INT = 288,           /* TOK_DTYPE_INT  */
    TOK_DTYPE_POINTER = 289,       /* TOK_DTYPE_POINTER  */
    TOK_DTYPE_REAL = 290,          /* TOK_DTYPE_REAL  */
    TOK_DTYPE_STRING = 291,        /* TOK_DTYPE_STRING  */
    TOK_IDENTIFIER = 292,          /* TOK_IDENTIFIER  */
    TOK_STATIC_VAR_NAME = 293,     /* TOK_STATIC_VAR_NAME  */
    TOK_STATIC_VAR_TABLE = 294,    /* TOK_STATIC_VAR_TABLE  */
    TOK_INT_LITERAL = 295,         /* TOK_INT_LITERAL  */
    TOK_LANGLE = 296,              /* TOK_LANGLE  */
    TOK_LBRACKET = 297,            /* TOK_LBRACKET  */
    TOK_LIMITS = 298,              /* TOK_LIMITS  */
    TOK_NAME_TABLE = 299,          /* TOK_NAME_TABLE  */
    TOK_NULL_ALLOWED = 300,        /* TOK_NULL_ALLOWED  */
    TOK_PARAMETER_NAME = 301,      /* TOK_PARAMETER_NAME  */
    TOK_PARAMETER_TABLE = 302,     /* TOK_PARAMETER_TABLE  */
    TOK_RANGLE = 303,              /* TOK_RANGLE  */
    TOK_RBRACKET = 304,            /* TOK_RBRACKET  */
    TOK_REAL_LITERAL = 305,        /* TOK_REAL_LITERAL  */
    TOK_SPICE_MODEL_NAME = 306,    /* TOK_SPICE_MODEL_NAME  */
    TOK_STRING_LITERAL = 307       /* TOK_STRING_LITERAL  */
  };
  typedef enum yytokentype yytoken_kind_t;
#endif
/* Token kinds.  */
#define YYEMPTY -2
#define YYEOF 0
#define YYerror 256
#define YYUNDEF 257
#define TOK_ALLOWED_TYPES 258
#define TOK_ARRAY 259
#define TOK_ARRAY_BOUNDS 260
#define TOK_BOOL_NO 261
#define TOK_BOOL_YES 262
#define TOK_COMMA 263
#define TOK_PORT_NAME 264
#define TOK_PORT_TABLE 265
#define TOK_CTYPE_D 266
#define TOK_CTYPE_G 267
#define TOK_CTYPE_GD 268
#define TOK_CTYPE_H 269
#define TOK_CTYPE_HD 270
#define TOK_CTYPE_I 271
#define TOK_CTYPE_ID 272
#define TOK_CTYPE_V 273
#define TOK_CTYPE_VD 274
#define TOK_CTYPE_VNAM 275
#define TOK_C_FUNCTION_NAME 276
#define TOK_DASH 277
#define TOK_DATA_TYPE 278
#define TOK_DEFAULT_TYPE 279
#define TOK_DEFAULT_VALUE 280
#define TOK_DESCRIPTION 281
#define TOK_DIRECTION 282
#define TOK_DIR_IN 283
#define TOK_DIR_INOUT 284
#define TOK_DIR_OUT 285
#define TOK_DTYPE_BOOLEAN 286
#define TOK_DTYPE_COMPLEX 287
#define TOK_DTYPE_INT 288
#define TOK_DTYPE_POINTER 289
#define TOK_DTYPE_REAL 290
#define TOK_DTYPE_STRING 291
#define TOK_IDENTIFIER 292
#define TOK_STATIC_VAR_NAME 293
#define TOK_STATIC_VAR_TABLE 294
#define TOK_INT_LITERAL 295
#define TOK_LANGLE 296
#define TOK_LBRACKET 297
#define TOK_LIMITS 298
#define TOK_NAME_TABLE 299
#define TOK_NULL_ALLOWED 300
#define TOK_PARAMETER_NAME 301
#define TOK_PARAMETER_TABLE 302
#define TOK_RANGLE 303
#define TOK_RBRACKET 304
#define TOK_REAL_LITERAL 305
#define TOK_SPICE_MODEL_NAME 306
#define TOK_STRING_LITERAL 307

/* Value type.  */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE
{
#line 538 "ifs_yacc.y"

   Ctype_List_t     *ctype_list;
   Dir_t        dir;
   bool         btype;
   Range_t      range;
   Data_Type_t      dtype;
   My_Port_Type_t   ctype;
   My_Value_t       value;
   char         *str;
   Bound_t      bound;
   int          ival;
   double       rval;
   Complex_t        cval;

#line 186 "ifs_yacc.h"

};
typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif


extern YYSTYPE yylval;


int yyparse (void);


#endif /* !YY_YY_IFS_YACC_H_INCLUDED  */
