Removed obsolete selection code.
[gromacs/qmmm-gamess-us.git] / src / gmxlib / selection / parser.h
blob088158bd72fd40369d7a2b874d7348dba2db6c7e
1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
23 /* As a special exception, you may create a larger work that contains
24 part or all of the Bison parser skeleton and distribute that work
25 under terms of your choice, so long as that work isn't itself a
26 parser generator using the skeleton or a modified version thereof
27 as a parser skeleton. Alternatively, if you modify or redistribute
28 the parser skeleton itself, you may (at your option) remove this
29 special exception, which will cause the skeleton and the resulting
30 Bison output files to be licensed under the GNU General Public
31 License without this special exception.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
36 /* Tokens. */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPE
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
40 know about them. */
41 enum yytokentype {
42 INVALID = 258,
43 HELP = 259,
44 HELP_TOPIC = 260,
45 TOK_INT = 261,
46 TOK_REAL = 262,
47 STR = 263,
48 IDENTIFIER = 264,
49 CMD_SEP = 265,
50 GROUP = 266,
51 TO = 267,
52 VARIABLE_NUMERIC = 268,
53 VARIABLE_GROUP = 269,
54 VARIABLE_POS = 270,
55 KEYWORD_NUMERIC = 271,
56 KEYWORD_STR = 272,
57 KEYWORD_POS = 273,
58 KEYWORD_GROUP = 274,
59 METHOD_NUMERIC = 275,
60 METHOD_GROUP = 276,
61 METHOD_POS = 277,
62 MODIFIER = 278,
63 EMPTY_POSMOD = 279,
64 PARAM = 280,
65 END_OF_METHOD = 281,
66 OF = 282,
67 CMP_OP = 283,
68 PARAM_REDUCT = 284,
69 XOR = 285,
70 OR = 286,
71 AND = 287,
72 NOT = 288,
73 UNARY_NEG = 289
75 #endif
76 /* Tokens. */
77 #define INVALID 258
78 #define HELP 259
79 #define HELP_TOPIC 260
80 #define TOK_INT 261
81 #define TOK_REAL 262
82 #define STR 263
83 #define IDENTIFIER 264
84 #define CMD_SEP 265
85 #define GROUP 266
86 #define TO 267
87 #define VARIABLE_NUMERIC 268
88 #define VARIABLE_GROUP 269
89 #define VARIABLE_POS 270
90 #define KEYWORD_NUMERIC 271
91 #define KEYWORD_STR 272
92 #define KEYWORD_POS 273
93 #define KEYWORD_GROUP 274
94 #define METHOD_NUMERIC 275
95 #define METHOD_GROUP 276
96 #define METHOD_POS 277
97 #define MODIFIER 278
98 #define EMPTY_POSMOD 279
99 #define PARAM 280
100 #define END_OF_METHOD 281
101 #define OF 282
102 #define CMP_OP 283
103 #define PARAM_REDUCT 284
104 #define XOR 285
105 #define OR 286
106 #define AND 287
107 #define NOT 288
108 #define UNARY_NEG 289
113 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
114 typedef union YYSTYPE
115 #line 62 "parser.y"
117 int i;
118 real r;
119 char *str;
120 struct gmx_ana_selmethod_t *meth;
122 struct t_selelem *sel;
124 struct t_selexpr_value *val;
125 struct t_selexpr_param *param;
127 /* Line 1489 of yacc.c. */
128 #line 129 "parser.h"
129 YYSTYPE;
130 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
131 # define YYSTYPE_IS_DECLARED 1
132 # define YYSTYPE_IS_TRIVIAL 1
133 #endif