fc61ef097b9946eec8e6377056a9e647512c31f9
[alexxy/gromacs.git] / src / gmxlib / selection / parser.h
1 /* A Bison parser, made by GNU Bison 2.3.  */
2
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4
5    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6    Free Software Foundation, Inc.
7
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.
12
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.
17
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.  */
22
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.
32
33    This special exception was added by the Free Software Foundation in
34    version 2.2 of Bison.  */
35
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,
74      NUM_REDUCT = 290
75    };
76 #endif
77 /* Tokens.  */
78 #define INVALID 258
79 #define HELP 259
80 #define HELP_TOPIC 260
81 #define TOK_INT 261
82 #define TOK_REAL 262
83 #define STR 263
84 #define IDENTIFIER 264
85 #define CMD_SEP 265
86 #define GROUP 266
87 #define TO 267
88 #define VARIABLE_NUMERIC 268
89 #define VARIABLE_GROUP 269
90 #define VARIABLE_POS 270
91 #define KEYWORD_NUMERIC 271
92 #define KEYWORD_STR 272
93 #define KEYWORD_POS 273
94 #define KEYWORD_GROUP 274
95 #define METHOD_NUMERIC 275
96 #define METHOD_GROUP 276
97 #define METHOD_POS 277
98 #define MODIFIER 278
99 #define EMPTY_POSMOD 279
100 #define PARAM 280
101 #define END_OF_METHOD 281
102 #define OF 282
103 #define CMP_OP 283
104 #define PARAM_REDUCT 284
105 #define XOR 285
106 #define OR 286
107 #define AND 287
108 #define NOT 288
109 #define UNARY_NEG 289
110 #define NUM_REDUCT 290
111
112
113
114
115 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
116 typedef union YYSTYPE
117 #line 68 "parser.y"
118 {
119     int                         i;
120     real                        r;
121     char                       *str;
122     struct gmx_ana_selmethod_t *meth;
123
124     struct t_selelem           *sel;
125
126     struct t_selexpr_value     *val;
127     struct t_selexpr_param     *param;
128 }
129 /* Line 1529 of yacc.c.  */
130 #line 131 "parser.h"
131         YYSTYPE;
132 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
133 # define YYSTYPE_IS_DECLARED 1
134 # define YYSTYPE_IS_TRIVIAL 1
135 #endif
136
137
138