1 /* A Bison parser, made by GNU Bison 2.6.2. */
3 /* Bison interface for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 /* As a special exception, you may create a larger work that contains
21 part or all of the Bison parser skeleton and distribute that work
22 under terms of your choice, so long as that work isn't itself a
23 parser generator using the skeleton or a modified version thereof
24 as a parser skeleton. Alternatively, if you modify or redistribute
25 the parser skeleton itself, you may (at your option) remove this
26 special exception, which will cause the skeleton and the resulting
27 Bison output files to be licensed under the GNU General Public
28 License without this special exception.
30 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
33 #ifndef _GMX_SEL_YY_PARSER_H
34 # define _GMX_SEL_YY_PARSER_H
35 /* Enabling traces. */
40 extern int _gmx_sel_yydebug;
42 /* "%code requires" blocks. */
43 /* Line 2049 of yacc.c */
47 * This file is part of the GROMACS molecular simulation package.
49 * Copyright (c) 2009,2010,2011,2012,2013,2014, by the GROMACS development team, led by
50 * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
51 * and including many others, as listed in the AUTHORS file in the
52 * top-level source directory and at http://www.gromacs.org.
54 * GROMACS is free software; you can redistribute it and/or
55 * modify it under the terms of the GNU Lesser General Public License
56 * as published by the Free Software Foundation; either version 2.1
57 * of the License, or (at your option) any later version.
59 * GROMACS is distributed in the hope that it will be useful,
60 * but WITHOUT ANY WARRANTY; without even the implied warranty of
61 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
62 * Lesser General Public License for more details.
64 * You should have received a copy of the GNU Lesser General Public
65 * License along with GROMACS; if not, see
66 * http://www.gnu.org/licenses, or write to the Free Software Foundation,
67 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
69 * If you want to redistribute modifications to GROMACS, please
70 * consider that scientific software is very special. Version
71 * control is crucial - bugs must be traceable. We will be happy to
72 * consider code for inclusion in the official distribution, but
73 * derived work must not be called official GROMACS. Details are found
74 * in the README & COPYING files - if they are missing, get the
75 * official version at http://www.gromacs.org.
77 * To help us fund GROMACS development, we humbly ask that you cite
78 * the research papers on the package. Check out http://www.gromacs.org.
81 /* Line 2049 of yacc.c */
84 #include "parsetree.h"
88 /* Line 2049 of yacc.c */
94 /* Put the tokens into the symbol table, so that GDB and other debuggers
105 VARIABLE_NUMERIC = 266,
106 VARIABLE_GROUP = 267,
108 KEYWORD_NUMERIC = 269,
112 METHOD_NUMERIC = 273,
132 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
133 typedef union YYSTYPE
135 /* Line 2049 of yacc.c */
141 struct gmx_ana_selmethod_t *meth;
143 gmx::SelectionStringMatchType smt;
145 gmx::SelectionTreeElementPointer *sel;
146 gmx::SelectionParserValue *val;
147 gmx::SelectionParserValueListPointer *vlist;
148 gmx::SelectionParserParameter *param;
149 gmx::SelectionParserParameterListPointer *plist;
152 /* Line 2049 of yacc.c */
155 # define YYSTYPE_IS_TRIVIAL 1
156 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
157 # define YYSTYPE_IS_DECLARED 1
161 #ifndef YYPUSH_MORE_DEFINED
162 # define YYPUSH_MORE_DEFINED
163 enum { YYPUSH_MORE = 4 };
166 typedef struct _gmx_sel_yypstate _gmx_sel_yypstate;
168 #if defined __STDC__ || defined __cplusplus
169 int _gmx_sel_yypush_parse (_gmx_sel_yypstate *ps, int pushed_char, YYSTYPE const *pushed_val, void *scanner);
171 int _gmx_sel_yypush_parse ();
174 #if defined __STDC__ || defined __cplusplus
175 _gmx_sel_yypstate * _gmx_sel_yypstate_new (void);
177 _gmx_sel_yypstate * _gmx_sel_yypstate_new ();
179 #if defined __STDC__ || defined __cplusplus
180 void _gmx_sel_yypstate_delete (_gmx_sel_yypstate *ps);
182 void _gmx_sel_yypstate_delete ();
185 #endif /* !_GMX_SEL_YY_PARSER_H */