Apache HTTPD
util_expr_parse.h
Go to the documentation of this file.
1/* A Bison parser, made by GNU Bison 2.5. */
2
3/* Bison interface for Yacc-like parsers in C
4
5 Copyright (C) 1984, 1989-1990, 2000-2011 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
34/* Tokens. */
35#ifndef YYTOKENTYPE
36# define YYTOKENTYPE
37 /* Put the tokens into the symbol table, so that GDB and other debuggers
38 know about them. */
40 T_TRUE = 258,
41 T_FALSE = 259,
44 T_ERROR = 262,
45 T_DIGIT = 263,
46 T_ID = 264,
47 T_STRING = 265,
48 T_REGEX = 266,
49 T_REGEX_I = 267,
54 T_STR_END = 272,
56 T_VAR_END = 274,
57 T_OP_EQ = 275,
58 T_OP_NE = 276,
59 T_OP_LT = 277,
60 T_OP_LE = 278,
61 T_OP_GT = 279,
62 T_OP_GE = 280,
63 T_OP_REG = 281,
64 T_OP_NRE = 282,
65 T_OP_IN = 283,
73 T_OP_OR = 291,
74 T_OP_AND = 292,
75 T_OP_NOT = 293
76 };
77#endif
78
79
80
81#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
82typedef union YYSTYPE
83{
84
85/* Line 2068 of yacc.c */
86#line 35 "util_expr_parse.y"
87
88 char *cpVal;
90 int num;
91
92
93
94/* Line 2068 of yacc.c */
95#line 96 "util_expr_parse.h"
97# define YYSTYPE_IS_TRIVIAL 1
98# define yystype YYSTYPE /* obsolescent; will be withdrawn */
99# define YYSTYPE_IS_DECLARED 1
100#endif
101
102
103
104
ap_expr_t * exVal
yytokentype
@ T_OP_STR_NE
@ T_OP_CONCAT
@ T_OP_STR_GE
@ T_OP_STR_LT
@ T_REGEX
@ T_STR_END
@ T_OP_IN
@ T_OP_STR_LE
@ T_STRING
@ T_OP_STR_EQ
@ T_ERROR
@ T_EXPR_BOOL
@ T_OP_REG
@ T_OP_EQ
@ T_TRUE
@ T_VAR_BEGIN
@ T_OP_UNARY
@ T_ID
@ T_OP_NE
@ T_OP_OR
@ T_OP_NOT
@ T_OP_STR_GT
@ T_OP_BINARY
@ T_REGEX_I
@ T_OP_LE
@ T_OP_GE
@ T_OP_GT
@ T_OP_NRE
@ T_FALSE
@ T_DIGIT
@ T_EXPR_STRING
@ T_VAR_END
@ T_OP_LT
@ T_OP_AND
@ T_STR_BEGIN
@ T_REGEX_BACKREF