Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
util_expr_parse.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 2.7.1. */
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,
53  T_ERROR = 262,
54  T_DIGIT = 263,
55  T_ID = 264,
56  T_STRING = 265,
57  T_REGEX = 266,
58  T_REGSUB = 267,
59  T_REG_MATCH = 268,
60  T_REG_SUBST = 269,
61  T_REG_FLAGS = 270,
62  T_BACKREF = 271,
63  T_OP_UNARY = 272,
64  T_OP_BINARY = 273,
65  T_STR_BEGIN = 274,
66  T_STR_END = 275,
67  T_VAR_BEGIN = 276,
68  T_VAR_END = 277,
70  T_VAREXP_END = 279,
71  T_OP_EQ = 280,
72  T_OP_NE = 281,
73  T_OP_LT = 282,
74  T_OP_LE = 283,
75  T_OP_GT = 284,
76  T_OP_GE = 285,
77  T_OP_REG = 286,
78  T_OP_NRE = 287,
79  T_OP_IN = 288,
80  T_OP_STR_EQ = 289,
81  T_OP_STR_NE = 290,
82  T_OP_STR_LT = 291,
83  T_OP_STR_LE = 292,
84  T_OP_STR_GT = 293,
85  T_OP_STR_GE = 294,
86  T_OP_CONCAT = 295,
87  T_OP_JOIN = 296,
88  T_OP_SPLIT = 297,
89  T_OP_SUB = 298,
90  T_OP_OR = 299,
91  T_OP_AND = 300,
92  T_OP_NOT = 301
93  };
94 #endif
95 
96 
97 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
98 typedef union YYSTYPE
99 {
100 /* Line 2053 of yacc.c */
101 #line 35 "util_expr_parse.y"
102 
103  char *cpVal;
105  int num;
106 
107 
108 /* Line 2053 of yacc.c */
109 #line 110 "util_expr_parse.h"
110 } YYSTYPE;
111 # define YYSTYPE_IS_TRIVIAL 1
112 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
113 # define YYSTYPE_IS_DECLARED 1
114 #endif
115 
116 
117 #ifdef YYPARSE_PARAM
118 #if defined __STDC__ || defined __cplusplus
119 int ap_expr_yyparse (void *YYPARSE_PARAM);
120 #else
121 int ap_expr_yyparse ();
122 #endif
123 #else /* ! YYPARSE_PARAM */
124 #if defined __STDC__ || defined __cplusplus
126 #else
127 int ap_expr_yyparse ();
128 #endif
129 #endif /* ! YYPARSE_PARAM */
130 
131 #endif /* !YY_AP_EXPR_YY_UTIL_EXPR_PARSE_H_INCLUDED */
Definition: util_expr_parse.h:76
Definition: util_expr_parse.h:67
Definition: util_expr_parse.h:60
Definition: util_expr_parse.h:57
Definition: util_expr_parse.h:65
Definition: util_expr_parse.h:92
Definition: util_expr_parse.h:78
Definition: util_expr_parse.h:90
Definition: util_expr_parse.h:55
Definition: util_expr_parse.h:56
Definition: util_expr_parse.h:74
Definition: util_expr_parse.h:58
Definition: util_expr_parse.h:59
Definition: util_expr_parse.h:89
ap_expr_t * exVal
Definition: util_expr_parse.h:104
Definition: util_expr_parse.h:84
Definition: util_expr_parse.h:86
Definition: util_expr_parse.h:64
yytokentype
Definition: util_expr_parse.h:48
Definition: util_expr_private.h:93
Definition: util_expr_parse.h:91
Definition: util_expr_parse.h:52
Definition: util_expr_parse.h:79
Definition: util_expr_parse.h:68
Definition: util_expr_parse.h:50
Definition: util_expr_parse.h:82
int num
Definition: util_expr_parse.h:105
Definition: util_expr_parse.h:49
Definition: util_expr_parse.h:69
Definition: util_expr_parse.h:63
Definition: util_expr_parse.h:75
Definition: util_expr_parse.h:81
Definition: util_expr_private.h:77
Definition: util_expr_parse.h:77
Definition: util_expr_parse.h:51
Definition: util_expr_parse.h:54
Definition: util_expr_parse.h:61
Definition: util_expr_parse.h:66
union YYSTYPE YYSTYPE
Definition: util_expr_parse.h:53
Definition: util_expr_parse.h:70
Definition: util_expr_parse.h:87
Definition: util_expr_parse.h:98
Definition: util_expr_parse.h:72
Definition: util_expr_parse.h:80
Definition: util_expr_parse.h:85
Definition: util_expr_parse.h:71
char * cpVal
Definition: util_expr_parse.h:103
Definition: util_expr_parse.h:62
Definition: util_expr_parse.h:88
Definition: util_expr_parse.h:73
Definition: util_expr_parse.h:83
int ap_expr_yyparse()