openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

api_grammar.tab.h (3733B)


      1 /* 
      2    This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      3    
      4    Copyright 2007-2019 Broadcom Inc. All rights reserved.
      5 */
      6 
      7 /* A Bison parser, made by GNU Bison 2.4.1.  */
      8 
      9 /* Skeleton interface for Bison's Yacc-like parsers in C
     10    
     11       Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
     12    Free Software Foundation, Inc.
     13    
     14    This program is free software: you can redistribute it and/or modify
     15    it under the terms of the GNU General Public License as published by
     16    the Free Software Foundation, either version 3 of the License, or
     17    (at your option) any later version.
     18    
     19    This program is distributed in the hope that it will be useful,
     20    but WITHOUT ANY WARRANTY; without even the implied warranty of
     21    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     22    GNU General Public License for more details.
     23    
     24    You should have received a copy of the GNU General Public License
     25    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
     26 
     27 /* As a special exception, you may create a larger work that contains
     28    part or all of the Bison parser skeleton and distribute that work
     29    under terms of your choice, so long as that work isn't itself a
     30    parser generator using the skeleton or a modified version thereof
     31    as a parser skeleton.  Alternatively, if you modify or redistribute
     32    the parser skeleton itself, you may (at your option) remove this
     33    special exception, which will cause the skeleton and the resulting
     34    Bison output files to be licensed under the GNU General Public
     35    License without this special exception.
     36    
     37    This special exception was added by the Free Software Foundation in
     38    version 2.2 of Bison.  */
     39 
     40 
     41 /* Tokens.  */
     42 #ifndef YYTOKENTYPE
     43 # define YYTOKENTYPE
     44    /* Put the tokens into the symbol table, so that GDB and other debuggers
     45       know about them.  */
     46    enum yytokentype {
     47      IDENT = 258,
     48      KEY = 259,
     49      CONSTANT = 260,
     50      AGGREGATE = 261,
     51      PROMPT = 262,
     52      EMPTY = 263,
     53      KEY_VALUE = 264,
     54      RANGE = 265,
     55      ITEM = 266,
     56      ASSIGN = 267,
     57      VALUE = 268,
     58      PRINT = 269,
     59      VAR = 270,
     60      CREATE = 271
     61    };
     62 #endif
     63 
     64 
     65 
     66 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
     67 typedef int YYSTYPE;
     68 # define YYSTYPE_IS_TRIVIAL 1
     69 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
     70 # define YYSTYPE_IS_DECLARED 1
     71 #endif
     72 
     73 
     74 
     75 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
     76 typedef struct YYLTYPE
     77 {
     78   int first_line;
     79   int first_column;
     80   int last_line;
     81   int last_column;
     82 } YYLTYPE;
     83 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
     84 # define YYLTYPE_IS_DECLARED 1
     85 # define YYLTYPE_IS_TRIVIAL 1
     86 #endif
     87 
     88 
     89 
     90 #ifndef YYPUSH_DECLS
     91 #  define YYPUSH_DECLS
     92 struct api_mode_pstate;
     93 typedef struct api_mode_pstate api_mode_pstate;
     94 enum { YYPUSH_MORE = 4 };
     95 #if defined __STDC__ || defined __cplusplus
     96 int api_mode_parse (yyscan_t yyscanner, void *parser);
     97 #else
     98 int api_mode_parse ();
     99 #endif
    100 #if defined __STDC__ || defined __cplusplus
    101 int api_mode_push_parse (api_mode_pstate *yyps, int yypushed_char, YYSTYPE const *yypushed_val, YYLTYPE const *yypushed_loc, yyscan_t yyscanner, void *parser);
    102 #else
    103 int api_mode_push_parse ();
    104 #endif
    105 #if defined __STDC__ || defined __cplusplus
    106 int api_mode_pull_parse (api_mode_pstate *yyps, yyscan_t yyscanner, void *parser);
    107 #else
    108 int api_mode_pull_parse ();
    109 #endif
    110 #if defined __STDC__ || defined __cplusplus
    111 api_mode_pstate * api_mode_pstate_new (void);
    112 #else
    113 api_mode_pstate * api_mode_pstate_new ();
    114 #endif
    115 #if defined __STDC__ || defined __cplusplus
    116 void api_mode_pstate_delete (api_mode_pstate *yyps);
    117 #else
    118 void api_mode_pstate_delete ();
    119 #endif
    120 #endif
    121