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.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,
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,
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;
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
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 */
Definition: util_expr_parse.h:71
Definition: util_expr_parse.h:64
Definition: util_expr_parse.h:58
Definition: util_expr_parse.h:57
Definition: util_expr_parse.h:62
Definition: util_expr_parse.h:84
Definition: util_expr_parse.h:73
Definition: util_expr_parse.h:82
Definition: util_expr_parse.h:55
Definition: util_expr_parse.h:56
Definition: util_expr_parse.h:59
Definition: util_expr_parse.h:69
ap_expr_t * exVal
Definition: util_expr_parse.h:96
Definition: util_expr_parse.h:79
Definition: util_expr_parse.h:81
Definition: util_expr_parse.h:61
yytokentype
Definition: util_expr_parse.h:48
Definition: util_expr_private.h:83
Definition: util_expr_parse.h:83
Definition: util_expr_parse.h:52
Definition: util_expr_parse.h:74
Definition: util_expr_parse.h:65
Definition: util_expr_parse.h:50
Definition: util_expr_parse.h:77
int num
Definition: util_expr_parse.h:97
Definition: util_expr_parse.h:49
Definition: util_expr_parse.h:60
Definition: util_expr_parse.h:70
Definition: util_expr_parse.h:76
Definition: util_expr_private.h:76
Definition: util_expr_parse.h:72
Definition: util_expr_parse.h:51
Definition: util_expr_parse.h:54
Definition: util_expr_parse.h:63
union YYSTYPE YYSTYPE
Definition: util_expr_parse.h:53
Definition: util_expr_parse.h:90
Definition: util_expr_parse.h:67
Definition: util_expr_parse.h:75
Definition: util_expr_parse.h:80
Definition: util_expr_parse.h:66
char * cpVal
Definition: util_expr_parse.h:95
Definition: util_expr_parse.h:68
Definition: util_expr_parse.h:78
int ap_expr_yyparse()