WarpX
wp_parser.lex.h
Go to the documentation of this file.
1 #ifndef yyHEADER_H
2 #define yyHEADER_H 1
3 #define yyIN_HEADER 1
4 
5 #line 6 "wp_parser.lex.h"
6 
7 #line 8 "wp_parser.lex.h"
8 
9 #define YY_INT_ALIGNED short int
10 
11 /* A lexical scanner generated by flex */
12 
13 #define FLEX_SCANNER
14 #define YY_FLEX_MAJOR_VERSION 2
15 #define YY_FLEX_MINOR_VERSION 6
16 #define YY_FLEX_SUBMINOR_VERSION 4
17 #if YY_FLEX_SUBMINOR_VERSION > 0
18 #define FLEX_BETA
19 #endif
20 
21 /* First, we deal with platform-specific or compiler-specific issues. */
22 
23 /* begin standard C headers. */
24 #include <stdio.h>
25 #include <string.h>
26 #include <errno.h>
27 #include <stdlib.h>
28 
29 /* end standard C headers. */
30 
31 /* flex integer type definitions */
32 
33 #ifndef FLEXINT_H
34 #define FLEXINT_H
35 
36 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
37 
38 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
39 
40 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
41  * if you want the limit (max/min) macros for int types.
42  */
43 #ifndef __STDC_LIMIT_MACROS
44 #define __STDC_LIMIT_MACROS 1
45 #endif
46 
47 #include <inttypes.h>
48 typedef int8_t flex_int8_t;
49 typedef uint8_t flex_uint8_t;
50 typedef int16_t flex_int16_t;
51 typedef uint16_t flex_uint16_t;
52 typedef int32_t flex_int32_t;
53 typedef uint32_t flex_uint32_t;
54 #else
55 typedef signed char flex_int8_t;
56 typedef short int flex_int16_t;
57 typedef int flex_int32_t;
58 typedef unsigned char flex_uint8_t;
59 typedef unsigned short int flex_uint16_t;
60 typedef unsigned int flex_uint32_t;
61 
62 /* Limits of integral types. */
63 #ifndef INT8_MIN
64 #define INT8_MIN (-128)
65 #endif
66 #ifndef INT16_MIN
67 #define INT16_MIN (-32767-1)
68 #endif
69 #ifndef INT32_MIN
70 #define INT32_MIN (-2147483647-1)
71 #endif
72 #ifndef INT8_MAX
73 #define INT8_MAX (127)
74 #endif
75 #ifndef INT16_MAX
76 #define INT16_MAX (32767)
77 #endif
78 #ifndef INT32_MAX
79 #define INT32_MAX (2147483647)
80 #endif
81 #ifndef UINT8_MAX
82 #define UINT8_MAX (255U)
83 #endif
84 #ifndef UINT16_MAX
85 #define UINT16_MAX (65535U)
86 #endif
87 #ifndef UINT32_MAX
88 #define UINT32_MAX (4294967295U)
89 #endif
90 
91 #ifndef SIZE_MAX
92 #define SIZE_MAX (~(size_t)0)
93 #endif
94 
95 #endif /* ! C99 */
96 
97 #endif /* ! FLEXINT_H */
98 
99 /* begin standard C++ headers. */
100 
101 /* TODO: this is always defined, so inline it */
102 #define yyconst const
103 
104 #if defined(__GNUC__) && __GNUC__ >= 3
105 #define yynoreturn __attribute__((__noreturn__))
106 #else
107 #define yynoreturn
108 #endif
109 
110 /* Size of default input buffer. */
111 #ifndef YY_BUF_SIZE
112 #ifdef __ia64__
113 /* On IA-64, the buffer size is 16k, not 8k.
114  * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
115  * Ditto for the __ia64__ case accordingly.
116  */
117 #define YY_BUF_SIZE 32768
118 #else
119 #define YY_BUF_SIZE 16384
120 #endif /* __ia64__ */
121 #endif
122 
123 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
124 #define YY_TYPEDEF_YY_BUFFER_STATE
126 #endif
127 
128 #ifndef YY_TYPEDEF_YY_SIZE_T
129 #define YY_TYPEDEF_YY_SIZE_T
130 typedef size_t yy_size_t;
131 #endif
132 
133 extern int yyleng;
134 
135 extern FILE *yyin, *yyout;
136 
137 #ifndef YY_STRUCT_YY_BUFFER_STATE
138 #define YY_STRUCT_YY_BUFFER_STATE
139 struct yy_buffer_state
140  {
141  FILE *yy_input_file;
142 
143  char *yy_ch_buf; /* input buffer */
144  char *yy_buf_pos; /* current position in input buffer */
145 
146  /* Size of input buffer in bytes, not including room for EOB
147  * characters.
148  */
149  int yy_buf_size;
150 
151  /* Number of characters read into yy_ch_buf, not including EOB
152  * characters.
153  */
154  int yy_n_chars;
155 
156  /* Whether we "own" the buffer - i.e., we know we created it,
157  * and can realloc() it to grow it, and should free() it to
158  * delete it.
159  */
160  int yy_is_our_buffer;
161 
162  /* Whether this is an "interactive" input source; if so, and
163  * if we're using stdio for input, then we want to use getc()
164  * instead of fread(), to make sure we stop fetching input after
165  * each newline.
166  */
167  int yy_is_interactive;
168 
169  /* Whether we're considered to be at the beginning of a line.
170  * If so, '^' rules will be active on the next match, otherwise
171  * not.
172  */
173  int yy_at_bol;
174 
175  int yy_bs_lineno;
176  int yy_bs_column;
178  /* Whether to try to fill the input buffer when we reach the
179  * end of it.
180  */
181  int yy_fill_buffer;
182 
183  int yy_buffer_status;
184 
185  };
186 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
187 
188 void yyrestart ( FILE *input_file );
189 void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer );
190 YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size );
191 void yy_delete_buffer ( YY_BUFFER_STATE b );
192 void yy_flush_buffer ( YY_BUFFER_STATE b );
193 void yypush_buffer_state ( YY_BUFFER_STATE new_buffer );
194 void yypop_buffer_state ( void );
195 
196 YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size );
197 YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
198 YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
199 
200 void *yyalloc ( yy_size_t );
201 void *yyrealloc ( void *, yy_size_t );
202 void yyfree ( void * );
203 
204 /* Begin user sect3 */
205 
206 #define yywrap() (/*CONSTCOND*/1)
207 #define YY_SKIP_YYWRAP
208 
209 extern int yylineno;
210 
211 extern char *yytext;
212 #ifdef yytext_ptr
213 #undef yytext_ptr
214 #endif
215 #define yytext_ptr yytext
216 
217 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
218 #define INITIAL 0
219 
220 #endif
221 
222 #ifndef YY_NO_UNISTD_H
223 /* Special case for "unistd.h", since it is non-ANSI. We include it way
224  * down here because we want the user's section 1 to have been scanned first.
225  * The user has a chance to override it with an option.
226  */
227 #include <unistd.h>
228 #endif
229 
230 #ifndef YY_EXTRA_TYPE
231 #define YY_EXTRA_TYPE void *
232 #endif
233 
234 /* Accessor methods to globals.
235  These are made visible to non-reentrant scanners for convenience. */
236 
237 int yylex_destroy ( void );
238 
239 int yyget_debug ( void );
240 
241 void yyset_debug ( int debug_flag );
242 
243 YY_EXTRA_TYPE yyget_extra ( void );
244 
245 void yyset_extra ( YY_EXTRA_TYPE user_defined );
246 
247 FILE *yyget_in ( void );
248 
249 void yyset_in ( FILE * _in_str );
250 
251 FILE *yyget_out ( void );
252 
253 void yyset_out ( FILE * _out_str );
254 
255  int yyget_leng ( void );
256 
257 char *yyget_text ( void );
258 
259 int yyget_lineno ( void );
260 
261 void yyset_lineno ( int _line_number );
262 
263 /* Macros after this point can all be overridden by user definitions in
264  * section 1.
265  */
266 
267 #ifndef YY_SKIP_YYWRAP
268 #ifdef __cplusplus
269 extern "C" int yywrap ( void );
270 #else
271 extern int yywrap ( void );
272 #endif
273 #endif
274 
275 #ifndef yytext_ptr
276 static void yy_flex_strncpy ( char *, const char *, int );
277 #endif
278 
279 #ifdef YY_NEED_STRLEN
280 static int yy_flex_strlen ( const char * );
281 #endif
282 
283 #ifndef YY_NO_INPUT
284 
285 #endif
286 
287 /* Amount of stuff to slurp up with each read. */
288 #ifndef YY_READ_BUF_SIZE
289 #ifdef __ia64__
290 /* On IA-64, the buffer size is 16k, not 8k */
291 #define YY_READ_BUF_SIZE 16384
292 #else
293 #define YY_READ_BUF_SIZE 8192
294 #endif /* __ia64__ */
295 #endif
296 
297 /* Number of entries by which start-condition stack grows. */
298 #ifndef YY_START_STACK_INCR
299 #define YY_START_STACK_INCR 25
300 #endif
301 
302 /* Default declaration of generated scanner - a define so the user can
303  * easily add parameters.
304  */
305 #ifndef YY_DECL
306 #define YY_DECL_IS_OURS 1
307 
308 extern int yylex (void);
309 
310 #define YY_DECL int yylex (void)
311 #endif /* !YY_DECL */
312 
313 /* yy_get_previous_state - get the state just before the EOB char was reached */
314 
315 #undef YY_NEW_FILE
316 #undef YY_FLUSH_BUFFER
317 #undef yy_set_bol
318 #undef yy_new_buffer
319 #undef yy_set_interactive
320 #undef YY_DO_BEFORE_ACTION
321 
322 #ifdef YY_DECL_IS_OURS
323 #undef YY_DECL_IS_OURS
324 #undef YY_DECL
325 #endif
326 
327 #ifndef yy_create_buffer_ALREADY_DEFINED
328 #undef yy_create_buffer
329 #endif
330 #ifndef yy_delete_buffer_ALREADY_DEFINED
331 #undef yy_delete_buffer
332 #endif
333 #ifndef yy_scan_buffer_ALREADY_DEFINED
334 #undef yy_scan_buffer
335 #endif
336 #ifndef yy_scan_string_ALREADY_DEFINED
337 #undef yy_scan_string
338 #endif
339 #ifndef yy_scan_bytes_ALREADY_DEFINED
340 #undef yy_scan_bytes
341 #endif
342 #ifndef yy_init_buffer_ALREADY_DEFINED
343 #undef yy_init_buffer
344 #endif
345 #ifndef yy_flush_buffer_ALREADY_DEFINED
346 #undef yy_flush_buffer
347 #endif
348 #ifndef yy_load_buffer_state_ALREADY_DEFINED
349 #undef yy_load_buffer_state
350 #endif
351 #ifndef yy_switch_to_buffer_ALREADY_DEFINED
352 #undef yy_switch_to_buffer
353 #endif
354 #ifndef yypush_buffer_state_ALREADY_DEFINED
355 #undef yypush_buffer_state
356 #endif
357 #ifndef yypop_buffer_state_ALREADY_DEFINED
358 #undef yypop_buffer_state
359 #endif
360 #ifndef yyensure_buffer_stack_ALREADY_DEFINED
361 #undef yyensure_buffer_stack
362 #endif
363 #ifndef yylex_ALREADY_DEFINED
364 #undef yylex
365 #endif
366 #ifndef yyrestart_ALREADY_DEFINED
367 #undef yyrestart
368 #endif
369 #ifndef yylex_init_ALREADY_DEFINED
370 #undef yylex_init
371 #endif
372 #ifndef yylex_init_extra_ALREADY_DEFINED
373 #undef yylex_init_extra
374 #endif
375 #ifndef yylex_destroy_ALREADY_DEFINED
376 #undef yylex_destroy
377 #endif
378 #ifndef yyget_debug_ALREADY_DEFINED
379 #undef yyget_debug
380 #endif
381 #ifndef yyset_debug_ALREADY_DEFINED
382 #undef yyset_debug
383 #endif
384 #ifndef yyget_extra_ALREADY_DEFINED
385 #undef yyget_extra
386 #endif
387 #ifndef yyset_extra_ALREADY_DEFINED
388 #undef yyset_extra
389 #endif
390 #ifndef yyget_in_ALREADY_DEFINED
391 #undef yyget_in
392 #endif
393 #ifndef yyset_in_ALREADY_DEFINED
394 #undef yyset_in
395 #endif
396 #ifndef yyget_out_ALREADY_DEFINED
397 #undef yyget_out
398 #endif
399 #ifndef yyset_out_ALREADY_DEFINED
400 #undef yyset_out
401 #endif
402 #ifndef yyget_leng_ALREADY_DEFINED
403 #undef yyget_leng
404 #endif
405 #ifndef yyget_text_ALREADY_DEFINED
406 #undef yyget_text
407 #endif
408 #ifndef yyget_lineno_ALREADY_DEFINED
409 #undef yyget_lineno
410 #endif
411 #ifndef yyset_lineno_ALREADY_DEFINED
412 #undef yyset_lineno
413 #endif
414 #ifndef yyget_column_ALREADY_DEFINED
415 #undef yyget_column
416 #endif
417 #ifndef yyset_column_ALREADY_DEFINED
418 #undef yyset_column
419 #endif
420 #ifndef yywrap_ALREADY_DEFINED
421 #undef yywrap
422 #endif
423 #ifndef yyget_lval_ALREADY_DEFINED
424 #undef yyget_lval
425 #endif
426 #ifndef yyset_lval_ALREADY_DEFINED
427 #undef yyset_lval
428 #endif
429 #ifndef yyget_lloc_ALREADY_DEFINED
430 #undef yyget_lloc
431 #endif
432 #ifndef yyset_lloc_ALREADY_DEFINED
433 #undef yyset_lloc
434 #endif
435 #ifndef yyalloc_ALREADY_DEFINED
436 #undef yyalloc
437 #endif
438 #ifndef yyrealloc_ALREADY_DEFINED
439 #undef yyrealloc
440 #endif
441 #ifndef yyfree_ALREADY_DEFINED
442 #undef yyfree
443 #endif
444 #ifndef yytext_ALREADY_DEFINED
445 #undef yytext
446 #endif
447 #ifndef yyleng_ALREADY_DEFINED
448 #undef yyleng
449 #endif
450 #ifndef yyin_ALREADY_DEFINED
451 #undef yyin
452 #endif
453 #ifndef yyout_ALREADY_DEFINED
454 #undef yyout
455 #endif
456 #ifndef yy_flex_debug_ALREADY_DEFINED
457 #undef yy_flex_debug
458 #endif
459 #ifndef yylineno_ALREADY_DEFINED
460 #undef yylineno
461 #endif
462 #ifndef yytables_fload_ALREADY_DEFINED
463 #undef yytables_fload
464 #endif
465 #ifndef yytables_destroy_ALREADY_DEFINED
466 #undef yytables_destroy
467 #endif
468 #ifndef yyTABLES_NAME_ALREADY_DEFINED
469 #undef yyTABLES_NAME
470 #endif
471 
472 #line 75 "wp_parser.l"
473 
474 
475 #line 476 "wp_parser.lex.h"
476 #undef yyIN_HEADER
477 #endif /* yyHEADER_H */
void yy_delete_buffer(YY_BUFFER_STATE b)
char * yy_buf_pos
Definition: wp_parser.lex.cpp:191
FILE * yy_input_file
Definition: wp_parser.lex.cpp:188
struct yy_buffer_state * YY_BUFFER_STATE
Definition: wp_parser.lex.h:125
int yy_n_chars
Definition: wp_parser.lex.cpp:201
int yylex(void)
YY_BUFFER_STATE yy_scan_bytes(const char *bytes, int len)
void yyset_lineno(int _line_number)
int yyleng
int yyget_lineno(void)
char * yyget_text(void)
int yy_fill_buffer
Definition: wp_parser.lex.cpp:228
size_t yy_size_t
Definition: wp_parser.lex.h:130
FILE * yyout
#define YY_EXTRA_TYPE
Definition: wp_parser.lex.h:231
int yyget_leng(void)
int yy_buf_size
Definition: wp_parser.lex.cpp:196
void yyset_extra(YY_EXTRA_TYPE user_defined)
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)
int yy_bs_lineno
Definition: wp_parser.lex.cpp:222
input_file
Definition: run_alltests.py:302
int size
Definition: plot_parallel.py:244
#define yywrap()
Definition: wp_parser.lex.h:206
void * yyalloc(yy_size_t)
void yyfree(void *)
YY_BUFFER_STATE yy_scan_string(const char *yy_str)
void yyset_debug(int debug_flag)
int yy_at_bol
Definition: wp_parser.lex.cpp:220
short int flex_int16_t
Definition: wp_parser.lex.h:56
void yyset_out(FILE *_out_str)
int yy_bs_column
Definition: wp_parser.lex.cpp:223
unsigned short int flex_uint16_t
Definition: wp_parser.lex.h:59
YY_EXTRA_TYPE yyget_extra(void)
char * yy_ch_buf
Definition: wp_parser.lex.cpp:190
unsigned char flex_uint8_t
Definition: wp_parser.lex.h:58
signed char flex_int8_t
Definition: wp_parser.lex.h:55
Definition: wp_parser.lex.cpp:186
int yy_is_our_buffer
Definition: wp_parser.lex.cpp:207
char * yytext
FILE * yyget_out(void)
YY_BUFFER_STATE yy_scan_buffer(char *base, yy_size_t size)
unsigned int flex_uint32_t
Definition: wp_parser.lex.h:60
void yyrestart(FILE *input_file)
int yyget_debug(void)
int yy_is_interactive
Definition: wp_parser.lex.cpp:214
void yypush_buffer_state(YY_BUFFER_STATE new_buffer)
void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)
void yyset_in(FILE *_in_str)
int yylineno
int yylex_destroy(void)
void yypop_buffer_state(void)
FILE * yyin
FILE * yyget_in(void)
int flex_int32_t
Definition: wp_parser.lex.h:57
void yy_flush_buffer(YY_BUFFER_STATE b)
int yy_buffer_status
Definition: wp_parser.lex.cpp:230
size_t yy_size_t
Definition: wp_parser.lex.cpp:155
void * yyrealloc(void *, yy_size_t)