00001 #ifndef YY_mootClassfreqsParser_h_included
00002 #define YY_mootClassfreqsParser_h_included
00003
00004 #line 1 "/usr/local/share/flex++bison++/bison.h"
00005
00006 #ifdef c_plusplus
00007 #ifndef __cplusplus
00008 #define __cplusplus
00009 #endif
00010 #endif
00011 #ifdef __cplusplus
00012 #ifndef YY_USE_CLASS
00013 #define YY_USE_CLASS
00014 #endif
00015 #else
00016 #endif
00017 #include <stdio.h>
00018
00019
00020 #define YY_mootClassfreqsParser_LSP_NEEDED
00021 #define YY_mootClassfreqsParser_LTYPE mootClassfreqsParserLType
00022 #define YY_mootClassfreqsParser_DEBUG 1
00023 #define YY_mootClassfreqsParser_ERROR_VERBOSE
00024 #define YY_mootClassfreqsParser_LEX_BODY =0
00025 #line 55 "mootClassfreqsParser.yy"
00026
00027 #include <stdio.h>
00028 #include <stdlib.h>
00029 #include <stdarg.h>
00030 #include <math.h>
00031
00032 #include <string>
00033 #include <string.h>
00034
00035 #include "mootTypes.h"
00036 #include "mootClassfreqs.h"
00037
00038
00039 #undef YYACCEPT
00040 #undef YYABORT
00041 #undef YYERROR
00042 #undef YYRECOVERING
00043
00044
00045
00046
00047 typedef struct {
00048 int timestamp;
00049 int first_line;
00050 int first_column;
00051 int last_line;
00052 int last_column;
00053 char *text;
00054 } mootClassfreqsParserLType;
00055
00056
00061 #define YY_mootClassfreqsParser_CLASS mootClassfreqsParser
00062 #define YY_mootClassfreqsParser_MEMBERS \
00063 public: \
00064 \
00065 \
00066 moot::mootClassfreqs *cfreqs; \
00067 protected: \
00068 \
00069 \
00070 moot::mootClassfreqs::LexClass lclass; \
00071 public: \
00072 \
00073 \
00074 virtual ~mootClassfreqsParser(void) {};\
00075 \
00076 virtual void yywarn(const char *msg) { \
00077 yycarp("mootClassfreqsParser: Warning: %s", msg);\
00078 }; \
00079 \
00080 virtual void yycarp(char *fmt, ...);
00081 #define YY_mootClassfreqsParser_CONSTRUCTOR_INIT : cfreqs(NULL)
00082
00083 #line 128 "mootClassfreqsParser.yy"
00084 typedef union {
00085 moot::mootTagString *tagstr;
00086 moot::CountT count;
00087 } yy_mootClassfreqsParser_stype;
00088 #define YY_mootClassfreqsParser_STYPE yy_mootClassfreqsParser_stype
00089 #line 133 "mootClassfreqsParser.yy"
00090
00096 #line 14 "/usr/local/share/flex++bison++/bison.h"
00097
00098 #ifndef YY_mootClassfreqsParser_COMPATIBILITY
00099 #ifndef YY_USE_CLASS
00100 #define YY_mootClassfreqsParser_COMPATIBILITY 1
00101 #else
00102 #define YY_mootClassfreqsParser_COMPATIBILITY 0
00103 #endif
00104 #endif
00105
00106 #if YY_mootClassfreqsParser_COMPATIBILITY != 0
00107
00108 #ifdef YYLTYPE
00109 #ifndef YY_mootClassfreqsParser_LTYPE
00110 #define YY_mootClassfreqsParser_LTYPE YYLTYPE
00111
00112
00113 #endif
00114 #endif
00115 #ifdef YYSTYPE
00116 #ifndef YY_mootClassfreqsParser_STYPE
00117 #define YY_mootClassfreqsParser_STYPE YYSTYPE
00118
00119
00120 #endif
00121 #endif
00122 #ifdef YYDEBUG
00123 #ifndef YY_mootClassfreqsParser_DEBUG
00124 #define YY_mootClassfreqsParser_DEBUG YYDEBUG
00125
00126
00127 #endif
00128 #endif
00129 #ifdef YY_mootClassfreqsParser_STYPE
00130 #ifndef yystype
00131 #define yystype YY_mootClassfreqsParser_STYPE
00132 #endif
00133 #endif
00134 #endif
00135
00136 #ifndef YY_mootClassfreqsParser_PURE
00137
00138
00139
00140 #line 54 "/usr/local/share/flex++bison++/bison.h"
00141
00142 #endif
00143
00144
00145
00146 #line 56 "/usr/local/share/flex++bison++/bison.h"
00147
00148 #ifndef YY_mootClassfreqsParser_DEBUG
00149
00150
00151
00152 #line 58 "/usr/local/share/flex++bison++/bison.h"
00153
00154 #endif
00155 #ifndef YY_mootClassfreqsParser_LSP_NEEDED
00156
00157
00158
00159 #line 61 "/usr/local/share/flex++bison++/bison.h"
00160
00161 #endif
00162
00163 #ifdef YY_mootClassfreqsParser_LSP_NEEDED
00164 #ifndef YY_mootClassfreqsParser_LTYPE
00165 typedef
00166 struct yyltype
00167 {
00168 int timestamp;
00169 int first_line;
00170 int first_column;
00171 int last_line;
00172 int last_column;
00173 char *text;
00174 }
00175 yyltype;
00176
00177 #define YY_mootClassfreqsParser_LTYPE yyltype
00178 #endif
00179 #endif
00180
00181 #ifndef YY_mootClassfreqsParser_STYPE
00182 #define YY_mootClassfreqsParser_STYPE int
00183 #endif
00184
00185 #ifndef YY_mootClassfreqsParser_PARSE
00186 #define YY_mootClassfreqsParser_PARSE yyparse
00187 #endif
00188 #ifndef YY_mootClassfreqsParser_LEX
00189 #define YY_mootClassfreqsParser_LEX yylex
00190 #endif
00191 #ifndef YY_mootClassfreqsParser_LVAL
00192 #define YY_mootClassfreqsParser_LVAL yylval
00193 #endif
00194 #ifndef YY_mootClassfreqsParser_LLOC
00195 #define YY_mootClassfreqsParser_LLOC yylloc
00196 #endif
00197 #ifndef YY_mootClassfreqsParser_CHAR
00198 #define YY_mootClassfreqsParser_CHAR yychar
00199 #endif
00200 #ifndef YY_mootClassfreqsParser_NERRS
00201 #define YY_mootClassfreqsParser_NERRS yynerrs
00202 #endif
00203 #ifndef YY_mootClassfreqsParser_DEBUG_FLAG
00204 #define YY_mootClassfreqsParser_DEBUG_FLAG yydebug
00205 #endif
00206 #ifndef YY_mootClassfreqsParser_ERROR
00207 #define YY_mootClassfreqsParser_ERROR yyerror
00208 #endif
00209
00210 #ifndef YY_mootClassfreqsParser_PARSE_PARAM
00211 #ifndef __STDC__
00212 #ifndef __cplusplus
00213 #ifndef YY_USE_CLASS
00214 #define YY_mootClassfreqsParser_PARSE_PARAM
00215 #ifndef YY_mootClassfreqsParser_PARSE_PARAM_DEF
00216 #define YY_mootClassfreqsParser_PARSE_PARAM_DEF
00217 #endif
00218 #endif
00219 #endif
00220 #endif
00221 #ifndef YY_mootClassfreqsParser_PARSE_PARAM
00222 #define YY_mootClassfreqsParser_PARSE_PARAM void
00223 #endif
00224 #endif
00225
00226
00227 #ifndef YY_USE_CLASS
00228
00229 #ifndef YY_mootClassfreqsParser_PURE
00230 extern YY_mootClassfreqsParser_STYPE YY_mootClassfreqsParser_LVAL;
00231 #endif
00232
00233
00234
00235 #define TAG 258
00236 #define COUNT 259
00237
00238
00239 #line 134 "/usr/local/share/flex++bison++/bison.h"
00240
00241
00242 #else
00243 #ifndef YY_mootClassfreqsParser_CLASS
00244 #define YY_mootClassfreqsParser_CLASS mootClassfreqsParser
00245 #endif
00246
00247 #ifndef YY_mootClassfreqsParser_INHERIT
00248 #define YY_mootClassfreqsParser_INHERIT
00249 #endif
00250 #ifndef YY_mootClassfreqsParser_MEMBERS
00251 #define YY_mootClassfreqsParser_MEMBERS
00252 #endif
00253 #ifndef YY_mootClassfreqsParser_LEX_BODY
00254 #define YY_mootClassfreqsParser_LEX_BODY
00255 #endif
00256 #ifndef YY_mootClassfreqsParser_ERROR_BODY
00257 #define YY_mootClassfreqsParser_ERROR_BODY
00258 #endif
00259 #ifndef YY_mootClassfreqsParser_CONSTRUCTOR_PARAM
00260 #define YY_mootClassfreqsParser_CONSTRUCTOR_PARAM
00261 #endif
00262
00263 class YY_mootClassfreqsParser_CLASS YY_mootClassfreqsParser_INHERIT
00264 {
00265 public:
00266
00267
00268 static const int TAG;
00269 static const int COUNT;
00270
00271
00272 #line 160 "/usr/local/share/flex++bison++/bison.h"
00273
00274 public:
00275 int YY_mootClassfreqsParser_PARSE(YY_mootClassfreqsParser_PARSE_PARAM);
00276 virtual void YY_mootClassfreqsParser_ERROR(char *) YY_mootClassfreqsParser_ERROR_BODY;
00277 #ifdef YY_mootClassfreqsParser_PURE
00278 #ifdef YY_mootClassfreqsParser_LSP_NEEDED
00279 virtual int YY_mootClassfreqsParser_LEX(YY_mootClassfreqsParser_STYPE *YY_mootClassfreqsParser_LVAL,YY_mootClassfreqsParser_LTYPE *YY_mootClassfreqsParser_LLOC) YY_mootClassfreqsParser_LEX_BODY;
00280 #else
00281 virtual int YY_mootClassfreqsParser_LEX(YY_mootClassfreqsParser_STYPE *YY_mootClassfreqsParser_LVAL) YY_mootClassfreqsParser_LEX_BODY;
00282 #endif
00283 #else
00284 virtual int YY_mootClassfreqsParser_LEX() YY_mootClassfreqsParser_LEX_BODY;
00285 YY_mootClassfreqsParser_STYPE YY_mootClassfreqsParser_LVAL;
00286 #ifdef YY_mootClassfreqsParser_LSP_NEEDED
00287 YY_mootClassfreqsParser_LTYPE YY_mootClassfreqsParser_LLOC;
00288 #endif
00289 int YY_mootClassfreqsParser_NERRS;
00290 int YY_mootClassfreqsParser_CHAR;
00291 #endif
00292 #if YY_mootClassfreqsParser_DEBUG != 0
00293 public:
00294 int YY_mootClassfreqsParser_DEBUG_FLAG;
00295 #endif
00296 public:
00297 YY_mootClassfreqsParser_CLASS(YY_mootClassfreqsParser_CONSTRUCTOR_PARAM);
00298 public:
00299 YY_mootClassfreqsParser_MEMBERS
00300 };
00301
00302 #endif
00303
00304
00305 #if YY_mootClassfreqsParser_COMPATIBILITY != 0
00306
00307 #ifndef YYSTYPE
00308 #define YYSTYPE YY_mootClassfreqsParser_STYPE
00309 #endif
00310
00311 #ifndef YYLTYPE
00312 #define YYLTYPE YY_mootClassfreqsParser_LTYPE
00313 #endif
00314 #ifndef YYDEBUG
00315 #ifdef YY_mootClassfreqsParser_DEBUG
00316 #define YYDEBUG YY_mootClassfreqsParser_DEBUG
00317 #endif
00318 #endif
00319
00320 #endif
00321
00322
00323
00324 #endif