File indexing completed on 2025-01-19 06:54:45
0001 /* A Bison parser, made by GNU Bison 3.8.2. */ 0002 0003 /* Bison interface for Yacc-like parsers in C 0004 0005 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, 0006 Inc. 0007 0008 This program is free software: you can redistribute it and/or modify 0009 it under the terms of the GNU General Public License as published by 0010 the Free Software Foundation, either version 3 of the License, or 0011 (at your option) any later version. 0012 0013 This program is distributed in the hope that it will be useful, 0014 but WITHOUT ANY WARRANTY; without even the implied warranty of 0015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0016 GNU General Public License for more details. 0017 0018 You should have received a copy of the GNU General Public License 0019 along with this program. If not, see <https://www.gnu.org/licenses/>. */ 0020 0021 /* As a special exception, you may create a larger work that contains 0022 part or all of the Bison parser skeleton and distribute that work 0023 under terms of your choice, so long as that work isn't itself a 0024 parser generator using the skeleton or a modified version thereof 0025 as a parser skeleton. Alternatively, if you modify or redistribute 0026 the parser skeleton itself, you may (at your option) remove this 0027 special exception, which will cause the skeleton and the resulting 0028 Bison output files to be licensed under the GNU General Public 0029 License without this special exception. 0030 0031 This special exception was added by the Free Software Foundation in 0032 version 2.2 of Bison. */ 0033 0034 /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, 0035 especially those whose name start with YY_ or yy_. They are 0036 private implementation details that can be changed or removed. */ 0037 0038 #ifndef YY_YY_BISON_INPUT_TAB_HPP_INCLUDED 0039 # define YY_YY_BISON_INPUT_TAB_HPP_INCLUDED 0040 /* Debug traces. */ 0041 #ifndef YYDEBUG 0042 # define YYDEBUG 0 0043 #endif 0044 #if YYDEBUG 0045 extern int yydebug; 0046 #endif 0047 0048 /* Token kinds. */ 0049 #ifndef YYTOKENTYPE 0050 # define YYTOKENTYPE 0051 enum yytokentype 0052 { 0053 YYEMPTY = -2, 0054 YYEOF = 0, /* "end of file" */ 0055 YYerror = 256, /* error */ 0056 YYUNDEF = 257, /* "invalid token" */ 0057 INTEGER = 258, /* INTEGER */ 0058 DOUBLE_V = 259, /* DOUBLE_V */ 0059 STRING_V = 260, /* STRING_V */ 0060 STRING_LITERAL = 261, /* STRING_LITERAL */ 0061 FUNCTION_NAME = 262, /* FUNCTION_NAME */ 0062 STRING_TYPECAST = 263, /* STRING_TYPECAST */ 0063 INT_TYPECAST = 264, /* INT_TYPECAST */ 0064 DOUBLE_TYPECAST = 265, /* DOUBLE_TYPECAST */ 0065 AND = 266, /* AND */ 0066 OR = 267, /* OR */ 0067 GT = 268, /* GT */ 0068 GE = 269, /* GE */ 0069 LT = 270, /* LT */ 0070 LE = 271, /* LE */ 0071 EQUALS = 272, /* EQUALS */ 0072 NOT_EQUALS = 273, /* NOT_EQUALS */ 0073 EQ = 274, /* EQ */ 0074 NE = 275, /* NE */ 0075 UMINUS = 276, /* UMINUS */ 0076 FUNCTION_CALL = 277 /* FUNCTION_CALL */ 0077 }; 0078 typedef enum yytokentype yytoken_kind_t; 0079 #endif 0080 0081 /* Value type. */ 0082 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 0083 union YYSTYPE 0084 { 0085 #line 61 "libs/bison-input.ypp" 0086 0087 int int_val; 0088 double double_val; 0089 char *string_val; 0090 int nothing; 0091 0092 #line 93 "bison-input.tab.hpp" 0093 0094 }; 0095 typedef union YYSTYPE YYSTYPE; 0096 # define YYSTYPE_IS_TRIVIAL 1 0097 # define YYSTYPE_IS_DECLARED 1 0098 #endif 0099 0100 0101 extern YYSTYPE yylval; 0102 0103 0104 int yyparse (void); 0105 0106 0107 #endif /* !YY_YY_BISON_INPUT_TAB_HPP_INCLUDED */