nsgenbind
Loading...
Searching...
No Matches
webidl-lexer.h
Go to the documentation of this file.
1#ifndef webidl_HEADER_H
2#define webidl_HEADER_H 1
3#define webidl_IN_HEADER 1
4
5#line 6 "build-x86_64-linux-gnu-x86_64-linux-gnu-release-binary/webidl-lexer.h"
6
7#line 8 "build-x86_64-linux-gnu-x86_64-linux-gnu-release-binary/webidl-lexer.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#ifdef yy_create_buffer
22#define webidl__create_buffer_ALREADY_DEFINED
23#else
24#define yy_create_buffer webidl__create_buffer
25#endif
26
27#ifdef yy_delete_buffer
28#define webidl__delete_buffer_ALREADY_DEFINED
29#else
30#define yy_delete_buffer webidl__delete_buffer
31#endif
32
33#ifdef yy_scan_buffer
34#define webidl__scan_buffer_ALREADY_DEFINED
35#else
36#define yy_scan_buffer webidl__scan_buffer
37#endif
38
39#ifdef yy_scan_string
40#define webidl__scan_string_ALREADY_DEFINED
41#else
42#define yy_scan_string webidl__scan_string
43#endif
44
45#ifdef yy_scan_bytes
46#define webidl__scan_bytes_ALREADY_DEFINED
47#else
48#define yy_scan_bytes webidl__scan_bytes
49#endif
50
51#ifdef yy_init_buffer
52#define webidl__init_buffer_ALREADY_DEFINED
53#else
54#define yy_init_buffer webidl__init_buffer
55#endif
56
57#ifdef yy_flush_buffer
58#define webidl__flush_buffer_ALREADY_DEFINED
59#else
60#define yy_flush_buffer webidl__flush_buffer
61#endif
62
63#ifdef yy_load_buffer_state
64#define webidl__load_buffer_state_ALREADY_DEFINED
65#else
66#define yy_load_buffer_state webidl__load_buffer_state
67#endif
68
69#ifdef yy_switch_to_buffer
70#define webidl__switch_to_buffer_ALREADY_DEFINED
71#else
72#define yy_switch_to_buffer webidl__switch_to_buffer
73#endif
74
75#ifdef yypush_buffer_state
76#define webidl_push_buffer_state_ALREADY_DEFINED
77#else
78#define yypush_buffer_state webidl_push_buffer_state
79#endif
80
81#ifdef yypop_buffer_state
82#define webidl_pop_buffer_state_ALREADY_DEFINED
83#else
84#define yypop_buffer_state webidl_pop_buffer_state
85#endif
86
87#ifdef yyensure_buffer_stack
88#define webidl_ensure_buffer_stack_ALREADY_DEFINED
89#else
90#define yyensure_buffer_stack webidl_ensure_buffer_stack
91#endif
92
93#ifdef yylex
94#define webidl_lex_ALREADY_DEFINED
95#else
96#define yylex webidl_lex
97#endif
98
99#ifdef yyrestart
100#define webidl_restart_ALREADY_DEFINED
101#else
102#define yyrestart webidl_restart
103#endif
104
105#ifdef yylex_init
106#define webidl_lex_init_ALREADY_DEFINED
107#else
108#define yylex_init webidl_lex_init
109#endif
110
111#ifdef yylex_init_extra
112#define webidl_lex_init_extra_ALREADY_DEFINED
113#else
114#define yylex_init_extra webidl_lex_init_extra
115#endif
116
117#ifdef yylex_destroy
118#define webidl_lex_destroy_ALREADY_DEFINED
119#else
120#define yylex_destroy webidl_lex_destroy
121#endif
122
123#ifdef yyget_debug
124#define webidl_get_debug_ALREADY_DEFINED
125#else
126#define yyget_debug webidl_get_debug
127#endif
128
129#ifdef yyset_debug
130#define webidl_set_debug_ALREADY_DEFINED
131#else
132#define yyset_debug webidl_set_debug
133#endif
134
135#ifdef yyget_extra
136#define webidl_get_extra_ALREADY_DEFINED
137#else
138#define yyget_extra webidl_get_extra
139#endif
140
141#ifdef yyset_extra
142#define webidl_set_extra_ALREADY_DEFINED
143#else
144#define yyset_extra webidl_set_extra
145#endif
146
147#ifdef yyget_in
148#define webidl_get_in_ALREADY_DEFINED
149#else
150#define yyget_in webidl_get_in
151#endif
152
153#ifdef yyset_in
154#define webidl_set_in_ALREADY_DEFINED
155#else
156#define yyset_in webidl_set_in
157#endif
158
159#ifdef yyget_out
160#define webidl_get_out_ALREADY_DEFINED
161#else
162#define yyget_out webidl_get_out
163#endif
164
165#ifdef yyset_out
166#define webidl_set_out_ALREADY_DEFINED
167#else
168#define yyset_out webidl_set_out
169#endif
170
171#ifdef yyget_leng
172#define webidl_get_leng_ALREADY_DEFINED
173#else
174#define yyget_leng webidl_get_leng
175#endif
176
177#ifdef yyget_text
178#define webidl_get_text_ALREADY_DEFINED
179#else
180#define yyget_text webidl_get_text
181#endif
182
183#ifdef yyget_lineno
184#define webidl_get_lineno_ALREADY_DEFINED
185#else
186#define yyget_lineno webidl_get_lineno
187#endif
188
189#ifdef yyset_lineno
190#define webidl_set_lineno_ALREADY_DEFINED
191#else
192#define yyset_lineno webidl_set_lineno
193#endif
194
195#ifdef yywrap
196#define webidl_wrap_ALREADY_DEFINED
197#else
198#define yywrap webidl_wrap
199#endif
200
201#ifdef yyget_lval
202#define webidl_get_lval_ALREADY_DEFINED
203#else
204#define yyget_lval webidl_get_lval
205#endif
206
207#ifdef yyset_lval
208#define webidl_set_lval_ALREADY_DEFINED
209#else
210#define yyset_lval webidl_set_lval
211#endif
212
213#ifdef yyget_lloc
214#define webidl_get_lloc_ALREADY_DEFINED
215#else
216#define yyget_lloc webidl_get_lloc
217#endif
218
219#ifdef yyset_lloc
220#define webidl_set_lloc_ALREADY_DEFINED
221#else
222#define yyset_lloc webidl_set_lloc
223#endif
224
225#ifdef yyalloc
226#define webidl_alloc_ALREADY_DEFINED
227#else
228#define yyalloc webidl_alloc
229#endif
230
231#ifdef yyrealloc
232#define webidl_realloc_ALREADY_DEFINED
233#else
234#define yyrealloc webidl_realloc
235#endif
236
237#ifdef yyfree
238#define webidl_free_ALREADY_DEFINED
239#else
240#define yyfree webidl_free
241#endif
242
243#ifdef yytext
244#define webidl_text_ALREADY_DEFINED
245#else
246#define yytext webidl_text
247#endif
248
249#ifdef yyleng
250#define webidl_leng_ALREADY_DEFINED
251#else
252#define yyleng webidl_leng
253#endif
254
255#ifdef yyin
256#define webidl_in_ALREADY_DEFINED
257#else
258#define yyin webidl_in
259#endif
260
261#ifdef yyout
262#define webidl_out_ALREADY_DEFINED
263#else
264#define yyout webidl_out
265#endif
266
267#ifdef yy_flex_debug
268#define webidl__flex_debug_ALREADY_DEFINED
269#else
270#define yy_flex_debug webidl__flex_debug
271#endif
272
273#ifdef yylineno
274#define webidl_lineno_ALREADY_DEFINED
275#else
276#define yylineno webidl_lineno
277#endif
278
279/* First, we deal with platform-specific or compiler-specific issues. */
280
281/* begin standard C headers. */
282#include <stdio.h>
283#include <string.h>
284#include <errno.h>
285#include <stdlib.h>
286
287/* end standard C headers. */
288
289/* flex integer type definitions */
290
291#ifndef FLEXINT_H
292#define FLEXINT_H
293
294/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
295
296#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
297
298/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
299 * if you want the limit (max/min) macros for int types.
300 */
301#ifndef __STDC_LIMIT_MACROS
302#define __STDC_LIMIT_MACROS 1
303#endif
304
305#include <inttypes.h>
306typedef int8_t flex_int8_t;
307typedef uint8_t flex_uint8_t;
308typedef int16_t flex_int16_t;
309typedef uint16_t flex_uint16_t;
310typedef int32_t flex_int32_t;
311typedef uint32_t flex_uint32_t;
312#else
313typedef signed char flex_int8_t;
314typedef short int flex_int16_t;
315typedef int flex_int32_t;
316typedef unsigned char flex_uint8_t;
317typedef unsigned short int flex_uint16_t;
318typedef unsigned int flex_uint32_t;
319
320/* Limits of integral types. */
321#ifndef INT8_MIN
322#define INT8_MIN (-128)
323#endif
324#ifndef INT16_MIN
325#define INT16_MIN (-32767-1)
326#endif
327#ifndef INT32_MIN
328#define INT32_MIN (-2147483647-1)
329#endif
330#ifndef INT8_MAX
331#define INT8_MAX (127)
332#endif
333#ifndef INT16_MAX
334#define INT16_MAX (32767)
335#endif
336#ifndef INT32_MAX
337#define INT32_MAX (2147483647)
338#endif
339#ifndef UINT8_MAX
340#define UINT8_MAX (255U)
341#endif
342#ifndef UINT16_MAX
343#define UINT16_MAX (65535U)
344#endif
345#ifndef UINT32_MAX
346#define UINT32_MAX (4294967295U)
347#endif
348
349#ifndef SIZE_MAX
350#define SIZE_MAX (~(size_t)0)
351#endif
352
353#endif /* ! C99 */
354
355#endif /* ! FLEXINT_H */
356
357/* begin standard C++ headers. */
358
359/* TODO: this is always defined, so inline it */
360#define yyconst const
361
362#if defined(__GNUC__) && __GNUC__ >= 3
363#define yynoreturn __attribute__((__noreturn__))
364#else
365#define yynoreturn
366#endif
367
368/* Size of default input buffer. */
369#ifndef YY_BUF_SIZE
370#ifdef __ia64__
371/* On IA-64, the buffer size is 16k, not 8k.
372 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
373 * Ditto for the __ia64__ case accordingly.
374 */
375#define YY_BUF_SIZE 32768
376#else
377#define YY_BUF_SIZE 16384
378#endif /* __ia64__ */
379#endif
380
381#ifndef YY_TYPEDEF_YY_BUFFER_STATE
382#define YY_TYPEDEF_YY_BUFFER_STATE
384#endif
385
386#ifndef YY_TYPEDEF_YY_SIZE_T
387#define YY_TYPEDEF_YY_SIZE_T
388typedef size_t yy_size_t;
389#endif
390
391extern int yyleng;
392
393extern FILE *yyin, *yyout;
394
395#ifndef YY_STRUCT_YY_BUFFER_STATE
396#define YY_STRUCT_YY_BUFFER_STATE
397struct yy_buffer_state
398 {
399 FILE *yy_input_file;
400
401 char *yy_ch_buf; /* input buffer */
402 char *yy_buf_pos; /* current position in input buffer */
403
404 /* Size of input buffer in bytes, not including room for EOB
405 * characters.
406 */
407 int yy_buf_size;
408
409 /* Number of characters read into yy_ch_buf, not including EOB
410 * characters.
411 */
412 int yy_n_chars;
413
414 /* Whether we "own" the buffer - i.e., we know we created it,
415 * and can realloc() it to grow it, and should free() it to
416 * delete it.
417 */
419
420 /* Whether this is an "interactive" input source; if so, and
421 * if we're using stdio for input, then we want to use getc()
422 * instead of fread(), to make sure we stop fetching input after
423 * each newline.
424 */
426
427 /* Whether we're considered to be at the beginning of a line.
428 * If so, '^' rules will be active on the next match, otherwise
429 * not.
430 */
431 int yy_at_bol;
432
433 int yy_bs_lineno;
434 int yy_bs_column;
436 /* Whether to try to fill the input buffer when we reach the
437 * end of it.
438 */
439 int yy_fill_buffer;
440
442
443 };
444#endif /* !YY_STRUCT_YY_BUFFER_STATE */
445
446void yyrestart ( FILE *input_file );
448YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size );
452void yypop_buffer_state ( void );
453
455YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
456YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
457
459void *yyrealloc ( void *, yy_size_t );
460void yyfree ( void * );
461
462/* Begin user sect3 */
463
464#define webidl_wrap() (/*CONSTCOND*/1)
465#define YY_SKIP_YYWRAP
466
467extern int yylineno;
468
469extern char *yytext;
470#ifdef yytext_ptr
471#undef yytext_ptr
472#endif
473#define yytext_ptr yytext
474
475#ifdef YY_HEADER_EXPORT_START_CONDITIONS
476#define INITIAL 0
477#define incl 1
478
479#endif
480
481#ifndef YY_NO_UNISTD_H
482/* Special case for "unistd.h", since it is non-ANSI. We include it way
483 * down here because we want the user's section 1 to have been scanned first.
484 * The user has a chance to override it with an option.
485 */
486#include <unistd.h>
487#endif
488
489#ifndef YY_EXTRA_TYPE
490#define YY_EXTRA_TYPE void *
491#endif
492
493/* Accessor methods to globals.
494 These are made visible to non-reentrant scanners for convenience. */
495
496int yylex_destroy ( void );
497
498int yyget_debug ( void );
499
500void yyset_debug ( int debug_flag );
501
503
504void yyset_extra ( YY_EXTRA_TYPE user_defined );
505
506FILE *yyget_in ( void );
507
508void yyset_in ( FILE * _in_str );
509
510FILE *yyget_out ( void );
511
512void yyset_out ( FILE * _out_str );
513
514 int yyget_leng ( void );
515
516char *yyget_text ( void );
517
518int yyget_lineno ( void );
519
520void yyset_lineno ( int _line_number );
521
522YYSTYPE * yyget_lval ( void );
523
524void yyset_lval ( YYSTYPE * yylval_param );
525
526 YYLTYPE *yyget_lloc ( void );
527
528 void yyset_lloc ( YYLTYPE * yylloc_param );
529
530/* Macros after this point can all be overridden by user definitions in
531 * section 1.
532 */
533
534#ifndef YY_SKIP_YYWRAP
535#ifdef __cplusplus
536extern "C" int yywrap ( void );
537#else
538extern int yywrap ( void );
539#endif
540#endif
541
542#ifndef yytext_ptr
543static void yy_flex_strncpy ( char *, const char *, int );
544#endif
545
546#ifdef YY_NEED_STRLEN
547static int yy_flex_strlen ( const char * );
548#endif
549
550#ifndef YY_NO_INPUT
551
552#endif
553
554/* Amount of stuff to slurp up with each read. */
555#ifndef YY_READ_BUF_SIZE
556#ifdef __ia64__
557/* On IA-64, the buffer size is 16k, not 8k */
558#define YY_READ_BUF_SIZE 16384
559#else
560#define YY_READ_BUF_SIZE 8192
561#endif /* __ia64__ */
562#endif
563
564/* Number of entries by which start-condition stack grows. */
565#ifndef YY_START_STACK_INCR
566#define YY_START_STACK_INCR 25
567#endif
568
569/* Default declaration of generated scanner - a define so the user can
570 * easily add parameters.
571 */
572#ifndef YY_DECL
573#define YY_DECL_IS_OURS 1
574
575extern int yylex \
576 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param );
577
578#define YY_DECL int yylex \
579 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param )
580#endif /* !YY_DECL */
581
582/* yy_get_previous_state - get the state just before the EOB char was reached */
583
584#undef YY_NEW_FILE
585#undef YY_FLUSH_BUFFER
586#undef yy_set_bol
587#undef yy_new_buffer
588#undef yy_set_interactive
589#undef YY_DO_BEFORE_ACTION
590
591#ifdef YY_DECL_IS_OURS
592#undef YY_DECL_IS_OURS
593#undef YY_DECL
594#endif
595
596#ifndef webidl__create_buffer_ALREADY_DEFINED
597#undef yy_create_buffer
598#endif
599#ifndef webidl__delete_buffer_ALREADY_DEFINED
600#undef yy_delete_buffer
601#endif
602#ifndef webidl__scan_buffer_ALREADY_DEFINED
603#undef yy_scan_buffer
604#endif
605#ifndef webidl__scan_string_ALREADY_DEFINED
606#undef yy_scan_string
607#endif
608#ifndef webidl__scan_bytes_ALREADY_DEFINED
609#undef yy_scan_bytes
610#endif
611#ifndef webidl__init_buffer_ALREADY_DEFINED
612#undef yy_init_buffer
613#endif
614#ifndef webidl__flush_buffer_ALREADY_DEFINED
615#undef yy_flush_buffer
616#endif
617#ifndef webidl__load_buffer_state_ALREADY_DEFINED
618#undef yy_load_buffer_state
619#endif
620#ifndef webidl__switch_to_buffer_ALREADY_DEFINED
621#undef yy_switch_to_buffer
622#endif
623#ifndef webidl_push_buffer_state_ALREADY_DEFINED
624#undef yypush_buffer_state
625#endif
626#ifndef webidl_pop_buffer_state_ALREADY_DEFINED
627#undef yypop_buffer_state
628#endif
629#ifndef webidl_ensure_buffer_stack_ALREADY_DEFINED
630#undef yyensure_buffer_stack
631#endif
632#ifndef webidl_lex_ALREADY_DEFINED
633#undef yylex
634#endif
635#ifndef webidl_restart_ALREADY_DEFINED
636#undef yyrestart
637#endif
638#ifndef webidl_lex_init_ALREADY_DEFINED
639#undef yylex_init
640#endif
641#ifndef webidl_lex_init_extra_ALREADY_DEFINED
642#undef yylex_init_extra
643#endif
644#ifndef webidl_lex_destroy_ALREADY_DEFINED
645#undef yylex_destroy
646#endif
647#ifndef webidl_get_debug_ALREADY_DEFINED
648#undef yyget_debug
649#endif
650#ifndef webidl_set_debug_ALREADY_DEFINED
651#undef yyset_debug
652#endif
653#ifndef webidl_get_extra_ALREADY_DEFINED
654#undef yyget_extra
655#endif
656#ifndef webidl_set_extra_ALREADY_DEFINED
657#undef yyset_extra
658#endif
659#ifndef webidl_get_in_ALREADY_DEFINED
660#undef yyget_in
661#endif
662#ifndef webidl_set_in_ALREADY_DEFINED
663#undef yyset_in
664#endif
665#ifndef webidl_get_out_ALREADY_DEFINED
666#undef yyget_out
667#endif
668#ifndef webidl_set_out_ALREADY_DEFINED
669#undef yyset_out
670#endif
671#ifndef webidl_get_leng_ALREADY_DEFINED
672#undef yyget_leng
673#endif
674#ifndef webidl_get_text_ALREADY_DEFINED
675#undef yyget_text
676#endif
677#ifndef webidl_get_lineno_ALREADY_DEFINED
678#undef yyget_lineno
679#endif
680#ifndef webidl_set_lineno_ALREADY_DEFINED
681#undef yyset_lineno
682#endif
683#ifndef webidl_get_column_ALREADY_DEFINED
684#undef yyget_column
685#endif
686#ifndef webidl_set_column_ALREADY_DEFINED
687#undef yyset_column
688#endif
689#ifndef webidl_wrap_ALREADY_DEFINED
690#undef yywrap
691#endif
692#ifndef webidl_get_lval_ALREADY_DEFINED
693#undef yyget_lval
694#endif
695#ifndef webidl_set_lval_ALREADY_DEFINED
696#undef yyset_lval
697#endif
698#ifndef webidl_get_lloc_ALREADY_DEFINED
699#undef yyget_lloc
700#endif
701#ifndef webidl_set_lloc_ALREADY_DEFINED
702#undef yyset_lloc
703#endif
704#ifndef webidl_alloc_ALREADY_DEFINED
705#undef yyalloc
706#endif
707#ifndef webidl_realloc_ALREADY_DEFINED
708#undef yyrealloc
709#endif
710#ifndef webidl_free_ALREADY_DEFINED
711#undef yyfree
712#endif
713#ifndef webidl_text_ALREADY_DEFINED
714#undef yytext
715#endif
716#ifndef webidl_leng_ALREADY_DEFINED
717#undef yyleng
718#endif
719#ifndef webidl_in_ALREADY_DEFINED
720#undef yyin
721#endif
722#ifndef webidl_out_ALREADY_DEFINED
723#undef yyout
724#endif
725#ifndef webidl__flex_debug_ALREADY_DEFINED
726#undef yy_flex_debug
727#endif
728#ifndef webidl_lineno_ALREADY_DEFINED
729#undef yylineno
730#endif
731#ifndef webidl_tables_fload_ALREADY_DEFINED
732#undef yytables_fload
733#endif
734#ifndef webidl_tables_destroy_ALREADY_DEFINED
735#undef yytables_destroy
736#endif
737#ifndef webidl_TABLES_NAME_ALREADY_DEFINED
738#undef yyTABLES_NAME
739#endif
740
741#line 309 "src/webidl-lexer.l"
742
743
744#line 745 "build-x86_64-linux-gnu-x86_64-linux-gnu-release-binary/webidl-lexer.h"
745#undef webidl_IN_HEADER
746#endif /* webidl_HEADER_H */
#define YYSTYPE
size_t yy_size_t
#define yyset_extra
#define yytext
#define yyget_lval
unsigned char flex_uint8_t
#define yyset_lineno
#define yyset_lval
#define yyrestart
#define yyset_debug
#define YY_EXTRA_TYPE
short int flex_int16_t
#define yyget_out
unsigned int flex_uint32_t
#define yy_scan_bytes
#define yyget_debug
#define yypush_buffer_state
struct yy_buffer_state * YY_BUFFER_STATE
#define yyfree
#define yyout
#define yyget_lineno
#define yylex
#define yywrap
#define yyget_text
#define yy_scan_buffer
#define yy_scan_string
signed char flex_int8_t
#define yyget_leng
#define yyalloc
#define yypop_buffer_state
int flex_int32_t
#define yylex_destroy
#define yy_switch_to_buffer
#define yyset_lloc
#define yyget_extra
#define yyin
#define yy_flush_buffer
#define yyrealloc
#define yyget_lloc
unsigned short int flex_uint16_t
#define yy_create_buffer
#define yy_delete_buffer
#define yyget_in
size_t yy_size_t
#define yylineno
#define yyset_out
#define yyleng
#define yyset_in