]> granicus.if.org Git - apache/blob - server/util_expr_parse.h
On the trunk:
[apache] / server / util_expr_parse.h
1 /* A Bison parser, made by GNU Bison 2.7.12-4996.  */
2
3 /* Bison interface for Yacc-like parsers in C
4    
5       Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
6    
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.
11    
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.
16    
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/>.  */
19
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.
29    
30    This special exception was added by the Free Software Foundation in
31    version 2.2 of Bison.  */
32
33 #ifndef YY_AP_EXPR_YY_UTIL_EXPR_PARSE_H_INCLUDED
34 # define YY_AP_EXPR_YY_UTIL_EXPR_PARSE_H_INCLUDED
35 /* Enabling traces.  */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int ap_expr_yydebug;
41 #endif
42
43 /* Tokens.  */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46    /* Put the tokens into the symbol table, so that GDB and other debuggers
47       know about them.  */
48    enum yytokentype {
49      T_TRUE = 258,
50      T_FALSE = 259,
51      T_EXPR_BOOL = 260,
52      T_EXPR_STRING = 261,
53      T_ERROR = 262,
54      T_DIGIT = 263,
55      T_ID = 264,
56      T_STRING = 265,
57      T_REGEX = 266,
58      T_REGEX_I = 267,
59      T_REGEX_BACKREF = 268,
60      T_OP_UNARY = 269,
61      T_OP_BINARY = 270,
62      T_STR_BEGIN = 271,
63      T_STR_END = 272,
64      T_VAR_BEGIN = 273,
65      T_VAR_END = 274,
66      T_OP_EQ = 275,
67      T_OP_NE = 276,
68      T_OP_LT = 277,
69      T_OP_LE = 278,
70      T_OP_GT = 279,
71      T_OP_GE = 280,
72      T_OP_REG = 281,
73      T_OP_NRE = 282,
74      T_OP_IN = 283,
75      T_OP_STR_EQ = 284,
76      T_OP_STR_NE = 285,
77      T_OP_STR_LT = 286,
78      T_OP_STR_LE = 287,
79      T_OP_STR_GT = 288,
80      T_OP_STR_GE = 289,
81      T_OP_CONCAT = 290,
82      T_OP_OR = 291,
83      T_OP_AND = 292,
84      T_OP_NOT = 293
85    };
86 #endif
87
88
89 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
90 typedef union YYSTYPE
91 {
92 /* Line 2053 of yacc.c  */
93 #line 35 "util_expr_parse.y"
94
95     char      *cpVal;
96     ap_expr_t *exVal;
97     int        num;
98
99
100 /* Line 2053 of yacc.c  */
101 #line 102 "util_expr_parse.h"
102 } YYSTYPE;
103 # define YYSTYPE_IS_TRIVIAL 1
104 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
105 # define YYSTYPE_IS_DECLARED 1
106 #endif
107
108
109 #ifdef YYPARSE_PARAM
110 #if defined __STDC__ || defined __cplusplus
111 int ap_expr_yyparse (void *YYPARSE_PARAM);
112 #else
113 int ap_expr_yyparse ();
114 #endif
115 #else /* ! YYPARSE_PARAM */
116 #if defined __STDC__ || defined __cplusplus
117 int ap_expr_yyparse (ap_expr_parse_ctx_t *ctx);
118 #else
119 int ap_expr_yyparse ();
120 #endif
121 #endif /* ! YYPARSE_PARAM */
122
123 #endif /* !YY_AP_EXPR_YY_UTIL_EXPR_PARSE_H_INCLUDED  */