Fixing copyright issues and code contributors
[alexxy/gromacs.git] / src / gmxlib / selection / parser.h
1 /*
2  * This file is part of the GROMACS molecular simulation package.
3  *
4  * Copyright (c) 2012,2013, by the GROMACS development team, led by
5  * David van der Spoel, Berk Hess, Erik Lindahl, and including many
6  * others, as listed in the AUTHORS file in the top-level source
7  * directory and at http://www.gromacs.org.
8  *
9  * GROMACS is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public License
11  * as published by the Free Software Foundation; either version 2.1
12  * of the License, or (at your option) any later version.
13  *
14  * GROMACS is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with GROMACS; if not, see
21  * http://www.gnu.org/licenses, or write to the Free Software Foundation,
22  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
23  *
24  * If you want to redistribute modifications to GROMACS, please
25  * consider that scientific software is very special. Version
26  * control is crucial - bugs must be traceable. We will be happy to
27  * consider code for inclusion in the official distribution, but
28  * derived work must not be called official GROMACS. Details are found
29  * in the README & COPYING files - if they are missing, get the
30  * official version at http://www.gromacs.org.
31  *
32  * To help us fund GROMACS development, we humbly ask that you cite
33  * the research papers on the package. Check out http://www.gromacs.org.
34  */
35 /* A Bison parser, made by GNU Bison 2.3.  */
36
37 /* Skeleton interface for Bison's Yacc-like parsers in C
38
39    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
40    Free Software Foundation, Inc.
41
42    This program is free software; you can redistribute it and/or modify
43    it under the terms of the GNU General Public License as published by
44    the Free Software Foundation; either version 2, or (at your option)
45    any later version.
46
47    This program is distributed in the hope that it will be useful,
48    but WITHOUT ANY WARRANTY; without even the implied warranty of
49    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
50    GNU General Public License for more details.
51
52    You should have received a copy of the GNU General Public License
53    along with this program; if not, write to the Free Software
54    Foundation, Inc., 51 Franklin Street, Fifth Floor,
55    Boston, MA 02110-1301, USA.  */
56
57 /* As a special exception, you may create a larger work that contains
58    part or all of the Bison parser skeleton and distribute that work
59    under terms of your choice, so long as that work isn't itself a
60    parser generator using the skeleton or a modified version thereof
61    as a parser skeleton.  Alternatively, if you modify or redistribute
62    the parser skeleton itself, you may (at your option) remove this
63    special exception, which will cause the skeleton and the resulting
64    Bison output files to be licensed under the GNU General Public
65    License without this special exception.
66
67    This special exception was added by the Free Software Foundation in
68    version 2.2 of Bison.  */
69
70 /* Tokens.  */
71 #ifndef YYTOKENTYPE
72 # define YYTOKENTYPE
73    /* Put the tokens into the symbol table, so that GDB and other debuggers
74       know about them.  */
75    enum yytokentype {
76      INVALID = 258,
77      HELP = 259,
78      HELP_TOPIC = 260,
79      TOK_INT = 261,
80      TOK_REAL = 262,
81      STR = 263,
82      IDENTIFIER = 264,
83      CMD_SEP = 265,
84      GROUP = 266,
85      TO = 267,
86      VARIABLE_NUMERIC = 268,
87      VARIABLE_GROUP = 269,
88      VARIABLE_POS = 270,
89      KEYWORD_NUMERIC = 271,
90      KEYWORD_STR = 272,
91      KEYWORD_POS = 273,
92      KEYWORD_GROUP = 274,
93      METHOD_NUMERIC = 275,
94      METHOD_GROUP = 276,
95      METHOD_POS = 277,
96      MODIFIER = 278,
97      EMPTY_POSMOD = 279,
98      PARAM = 280,
99      END_OF_METHOD = 281,
100      OF = 282,
101      CMP_OP = 283,
102      PARAM_REDUCT = 284,
103      XOR = 285,
104      OR = 286,
105      AND = 287,
106      NOT = 288,
107      UNARY_NEG = 289,
108      NUM_REDUCT = 290
109    };
110 #endif
111 /* Tokens.  */
112 #define INVALID 258
113 #define HELP 259
114 #define HELP_TOPIC 260
115 #define TOK_INT 261
116 #define TOK_REAL 262
117 #define STR 263
118 #define IDENTIFIER 264
119 #define CMD_SEP 265
120 #define GROUP 266
121 #define TO 267
122 #define VARIABLE_NUMERIC 268
123 #define VARIABLE_GROUP 269
124 #define VARIABLE_POS 270
125 #define KEYWORD_NUMERIC 271
126 #define KEYWORD_STR 272
127 #define KEYWORD_POS 273
128 #define KEYWORD_GROUP 274
129 #define METHOD_NUMERIC 275
130 #define METHOD_GROUP 276
131 #define METHOD_POS 277
132 #define MODIFIER 278
133 #define EMPTY_POSMOD 279
134 #define PARAM 280
135 #define END_OF_METHOD 281
136 #define OF 282
137 #define CMP_OP 283
138 #define PARAM_REDUCT 284
139 #define XOR 285
140 #define OR 286
141 #define AND 287
142 #define NOT 288
143 #define UNARY_NEG 289
144 #define NUM_REDUCT 290
145
146
147
148
149 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
150 typedef union YYSTYPE
151 #line 68 "parser.y"
152 {
153     int                         i;
154     real                        r;
155     char                       *str;
156     struct gmx_ana_selmethod_t *meth;
157
158     struct t_selelem           *sel;
159
160     struct t_selexpr_value     *val;
161     struct t_selexpr_param     *param;
162 }
163 /* Line 1529 of yacc.c.  */
164 #line 131 "parser.h"
165         YYSTYPE;
166 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
167 # define YYSTYPE_IS_DECLARED 1
168 # define YYSTYPE_IS_TRIVIAL 1
169 #endif
170
171
172