Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

broparse.h

Go to the documentation of this file.
00001 /* A Bison parser, made by GNU Bison 1.875c.  */
00002 
00003 /* Skeleton parser for Yacc-like parsing with Bison,
00004    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2, or (at your option)
00009    any later version.
00010 
00011    This program is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015 
00016    You should have received a copy of the GNU General Public License
00017    along with this program; if not, write to the Free Software
00018    Foundation, Inc., 59 Temple Place - Suite 330,
00019    Boston, MA 02111-1307, USA.  */
00020 
00021 /* As a special exception, when this file is copied by Bison into a
00022    Bison output file, you may use that output file without restriction.
00023    This special exception was added by the Free Software Foundation
00024    in version 1.24 of Bison.  */
00025 
00026 /* Tokens.  */
00027 #ifndef YYTOKENTYPE
00028 # define YYTOKENTYPE
00029    /* Put the tokens into the symbol table, so that GDB and other debuggers
00030       know about them.  */
00031    enum yytokentype {
00032      TOK_ADD = 258,
00033      TOK_ADD_TO = 259,
00034      TOK_ADDR = 260,
00035      TOK_ALARM = 261,
00036      TOK_ANY = 262,
00037      TOK_ATENDIF = 263,
00038      TOK_ATELSE = 264,
00039      TOK_ATIF = 265,
00040      TOK_ATIFDEF = 266,
00041      TOK_ATIFNDEF = 267,
00042      TOK_BOOL = 268,
00043      TOK_BREAK = 269,
00044      TOK_CASE = 270,
00045      TOK_CONST = 271,
00046      TOK_CONSTANT = 272,
00047      TOK_COUNT = 273,
00048      TOK_COUNTER = 274,
00049      TOK_DEFAULT = 275,
00050      TOK_DELETE = 276,
00051      TOK_DOUBLE = 277,
00052      TOK_ELSE = 278,
00053      TOK_ENUM = 279,
00054      TOK_EVENT = 280,
00055      TOK_EXPORT = 281,
00056      TOK_FILE = 282,
00057      TOK_FOR = 283,
00058      TOK_FUNCTION = 284,
00059      TOK_GLOBAL = 285,
00060      TOK_GLOBAL_ATTR = 286,
00061      TOK_ID = 287,
00062      TOK_IF = 288,
00063      TOK_INT = 289,
00064      TOK_INTERVAL = 290,
00065      TOK_LIST = 291,
00066      TOK_LOCAL = 292,
00067      TOK_MODULE = 293,
00068      TOK_MATCH = 294,
00069      TOK_NET = 295,
00070      TOK_NEXT = 296,
00071      TOK_OF = 297,
00072      TOK_PATTERN = 298,
00073      TOK_PATTERN_TEXT = 299,
00074      TOK_PORT = 300,
00075      TOK_PRINT = 301,
00076      TOK_RECORD = 302,
00077      TOK_REDEF = 303,
00078      TOK_REMOVE_FROM = 304,
00079      TOK_RETURN = 305,
00080      TOK_SCHEDULE = 306,
00081      TOK_SET = 307,
00082      TOK_STRING = 308,
00083      TOK_SUBNET = 309,
00084      TOK_SWITCH = 310,
00085      TOK_TABLE = 311,
00086      TOK_THIS = 312,
00087      TOK_TIME = 313,
00088      TOK_TIMER = 314,
00089      TOK_TYPE = 315,
00090      TOK_UNION = 316,
00091      TOK_VECTOR = 317,
00092      TOK_ATTR_ADD_FUNC = 318,
00093      TOK_ATTR_ATTR = 319,
00094      TOK_ATTR_ENCRYPT = 320,
00095      TOK_ATTR_DEFAULT = 321,
00096      TOK_ATTR_OPTIONAL = 322,
00097      TOK_ATTR_REDEF = 323,
00098      TOK_ATTR_ROTATE_INTERVAL = 324,
00099      TOK_ATTR_ROTATE_SIZE = 325,
00100      TOK_ATTR_DEL_FUNC = 326,
00101      TOK_ATTR_EXPIRE_FUNC = 327,
00102      TOK_ATTR_EXPIRE_CREATE = 328,
00103      TOK_ATTR_EXPIRE_READ = 329,
00104      TOK_ATTR_EXPIRE_WRITE = 330,
00105      TOK_ATTR_PERSISTENT = 331,
00106      TOK_ATTR_MATCH = 332,
00107      TOK_ATTR_SYNCHRONIZED = 333,
00108      TOK_DEBUG = 334,
00109      TOK_USING = 335,
00110      TOK_OR = 336,
00111      TOK_AND = 337,
00112      TOK_NE = 338,
00113      TOK_EQ = 339,
00114      TOK_GE = 340,
00115      TOK_LE = 341,
00116      TOK_NOT_IN = 342,
00117      TOK_IN = 343,
00118      TOK_DECR = 344,
00119      TOK_INCR = 345,
00120      TOK_HAS_ATTR = 346,
00121      TOK_HAS_FIELD = 347
00122    };
00123 #endif
00124 #define TOK_ADD 258
00125 #define TOK_ADD_TO 259
00126 #define TOK_ADDR 260
00127 #define TOK_ALARM 261
00128 #define TOK_ANY 262
00129 #define TOK_ATENDIF 263
00130 #define TOK_ATELSE 264
00131 #define TOK_ATIF 265
00132 #define TOK_ATIFDEF 266
00133 #define TOK_ATIFNDEF 267
00134 #define TOK_BOOL 268
00135 #define TOK_BREAK 269
00136 #define TOK_CASE 270
00137 #define TOK_CONST 271
00138 #define TOK_CONSTANT 272
00139 #define TOK_COUNT 273
00140 #define TOK_COUNTER 274
00141 #define TOK_DEFAULT 275
00142 #define TOK_DELETE 276
00143 #define TOK_DOUBLE 277
00144 #define TOK_ELSE 278
00145 #define TOK_ENUM 279
00146 #define TOK_EVENT 280
00147 #define TOK_EXPORT 281
00148 #define TOK_FILE 282
00149 #define TOK_FOR 283
00150 #define TOK_FUNCTION 284
00151 #define TOK_GLOBAL 285
00152 #define TOK_GLOBAL_ATTR 286
00153 #define TOK_ID 287
00154 #define TOK_IF 288
00155 #define TOK_INT 289
00156 #define TOK_INTERVAL 290
00157 #define TOK_LIST 291
00158 #define TOK_LOCAL 292
00159 #define TOK_MODULE 293
00160 #define TOK_MATCH 294
00161 #define TOK_NET 295
00162 #define TOK_NEXT 296
00163 #define TOK_OF 297
00164 #define TOK_PATTERN 298
00165 #define TOK_PATTERN_TEXT 299
00166 #define TOK_PORT 300
00167 #define TOK_PRINT 301
00168 #define TOK_RECORD 302
00169 #define TOK_REDEF 303
00170 #define TOK_REMOVE_FROM 304
00171 #define TOK_RETURN 305
00172 #define TOK_SCHEDULE 306
00173 #define TOK_SET 307
00174 #define TOK_STRING 308
00175 #define TOK_SUBNET 309
00176 #define TOK_SWITCH 310
00177 #define TOK_TABLE 311
00178 #define TOK_THIS 312
00179 #define TOK_TIME 313
00180 #define TOK_TIMER 314
00181 #define TOK_TYPE 315
00182 #define TOK_UNION 316
00183 #define TOK_VECTOR 317
00184 #define TOK_ATTR_ADD_FUNC 318
00185 #define TOK_ATTR_ATTR 319
00186 #define TOK_ATTR_ENCRYPT 320
00187 #define TOK_ATTR_DEFAULT 321
00188 #define TOK_ATTR_OPTIONAL 322
00189 #define TOK_ATTR_REDEF 323
00190 #define TOK_ATTR_ROTATE_INTERVAL 324
00191 #define TOK_ATTR_ROTATE_SIZE 325
00192 #define TOK_ATTR_DEL_FUNC 326
00193 #define TOK_ATTR_EXPIRE_FUNC 327
00194 #define TOK_ATTR_EXPIRE_CREATE 328
00195 #define TOK_ATTR_EXPIRE_READ 329
00196 #define TOK_ATTR_EXPIRE_WRITE 330
00197 #define TOK_ATTR_PERSISTENT 331
00198 #define TOK_ATTR_MATCH 332
00199 #define TOK_ATTR_SYNCHRONIZED 333
00200 #define TOK_DEBUG 334
00201 #define TOK_USING 335
00202 #define TOK_OR 336
00203 #define TOK_AND 337
00204 #define TOK_NE 338
00205 #define TOK_EQ 339
00206 #define TOK_GE 340
00207 #define TOK_LE 341
00208 #define TOK_NOT_IN 342
00209 #define TOK_IN 343
00210 #define TOK_DECR 344
00211 #define TOK_INCR 345
00212 #define TOK_HAS_ATTR 346
00213 #define TOK_HAS_FIELD 347
00214 
00215 
00216 
00217 
00218 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
00219 #line 123 "parse.y"
00220 typedef union YYSTYPE {
00221         char* str;
00222         ID* id;
00223         id_list* id_l;
00224         init_class ic;
00225         Val* val;
00226         RE_Matcher* re;
00227         Expr* expr;
00228         CallExpr* call_expr;
00229         EventExpr* event_expr;
00230         Stmt* stmt;
00231         ListExpr* list;
00232         BroType* type;
00233         RecordType* record;
00234         FuncType* func_type;
00235         TypeList* type_l;
00236         TypeDecl* type_decl;
00237         type_decl_list* type_decl_l;
00238         Case* c_case;
00239         case_list* case_l;
00240         Attr* attr;
00241         attr_list* attr_l;
00242         attr_tag attrtag;
00243 } YYSTYPE;
00244 /* Line 1268 of yacc.c.  */
00245 #line 246 "y.tab.h"
00246 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00247 # define YYSTYPE_IS_DECLARED 1
00248 # define YYSTYPE_IS_TRIVIAL 1
00249 #endif
00250 
00251 extern YYSTYPE yylval;
00252 
00253 #if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED)
00254 typedef struct YYLTYPE
00255 {
00256   int first_line;
00257   int first_column;
00258   int last_line;
00259   int last_column;
00260 } YYLTYPE;
00261 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
00262 # define YYLTYPE_IS_DECLARED 1
00263 # define YYLTYPE_IS_TRIVIAL 1
00264 #endif
00265 
00266 extern YYLTYPE yylloc;
00267 
00268 

Generated on Wed Sep 14 02:55:58 2005 for bro_docs by doxygen 1.3.5