|
nsgenbind
|
#include <stdio.h>#include <string.h>#include <stdbool.h>#include <stdint.h>#include <math.h>#include "utils.h"#include "webidl-parser.h"#include "webidl-lexer.h"#include "webidl-ast.h"#include <limits.h>Go to the source code of this file.
Classes | |
| union | yyalloc |
| struct | yypcontext_t |
Macros | |
| #define | YYBISON 30802 |
| #define | YYBISON_VERSION "3.8.2" |
| #define | YYSKELETON_NAME "yacc.c" |
| #define | YYPURE 1 |
| #define | YYPUSH 0 |
| #define | YYPULL 1 |
| #define | YYSTYPE WEBIDL_STYPE |
| #define | YYLTYPE WEBIDL_LTYPE |
| #define | yyparse webidl_parse |
| #define | yylex webidl_lex |
| #define | yyerror webidl_error |
| #define | yydebug webidl_debug |
| #define | yynerrs webidl_nerrs |
| #define | YYFPRINTF webidl_fprintf |
| #define | YY_LOCATION_PRINT(File, Loc) |
| #define | YY_CAST(Type, Val) ((Type) (Val)) |
| #define | YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) |
| #define | YY_NULLPTR ((void*)0) |
| #define | YYPTRDIFF_T long |
| #define | YYPTRDIFF_MAXIMUM LONG_MAX |
| #define | YYSIZE_T unsigned |
| #define | YYSIZE_MAXIMUM |
| #define | YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) |
| #define | YY_(Msgid) Msgid |
| #define | YY_ATTRIBUTE_PURE |
| #define | YY_ATTRIBUTE_UNUSED |
| #define | YY_USE(E) ((void) (E)) |
| #define | YY_INITIAL_VALUE(Value) Value |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
| #define | YY_IGNORE_USELESS_CAST_BEGIN |
| #define | YY_IGNORE_USELESS_CAST_END |
| #define | YY_ASSERT(E) ((void) (0 && (E))) |
| #define | YYSTACK_ALLOC YYMALLOC |
| #define | YYSTACK_FREE YYFREE |
| #define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define | YYMALLOC malloc |
| #define | YYFREE free |
| #define | YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) |
| #define | YYSTACK_BYTES(N) |
| #define | YYCOPY_NEEDED 1 |
| #define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
| #define | YYCOPY(Dst, Src, Count) |
| #define | YYFINAL 3 |
| #define | YYLAST 819 |
| #define | YYNTOKENS 81 |
| #define | YYNNTS 83 |
| #define | YYNRULES 232 |
| #define | YYNSTATES 387 |
| #define | YYMAXUTOK 320 |
| #define | YYTRANSLATE(YYX) |
| #define | YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) |
| #define | YYPACT_NINF (-289) |
| #define | yypact_value_is_default(Yyn) ((Yyn) == YYPACT_NINF) |
| #define | YYTABLE_NINF (-94) |
| #define | yytable_value_is_error(Yyn) 0 |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyclearin (yychar = WEBIDL_EMPTY) |
| #define | YYACCEPT goto yyacceptlab |
| #define | YYABORT goto yyabortlab |
| #define | YYERROR goto yyerrorlab |
| #define | YYNOMEM goto yyexhaustedlab |
| #define | YYRECOVERING() (!!yyerrstatus) |
| #define | YYBACKUP(Token, Value) |
| #define | YYERRCODE WEBIDL_UNDEF |
| #define | YYLLOC_DEFAULT(Current, Rhs, N) |
| #define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
| #define | YYDPRINTF(Args) |
| #define | YYLOCATION_PRINT(File, Loc) YY_LOCATION_PRINT(File, *(Loc)) |
| #define | YY_SYMBOL_PRINT(Title, Kind, Value, Location) |
| #define | YY_STACK_PRINT(Bottom, Top) |
| #define | YY_REDUCE_PRINT(Rule) |
| #define | YYINITDEPTH 200 |
| #define | YYMAXDEPTH 10000 |
| #define | YYCASE_(N, S) |
| #define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N), yylsp -= (N)) |
Typedefs | |
| typedef enum yysymbol_kind_t | yysymbol_kind_t |
| typedef signed char | yytype_int8 |
| typedef short | yytype_int16 |
| typedef unsigned char | yytype_uint8 |
| typedef unsigned short | yytype_uint16 |
| typedef yytype_int16 | yy_state_t |
| typedef int | yy_state_fast_t |
Functions | |
| void * | malloc (YYSIZE_T) |
| void | free (void *) |
| int | yyparse (struct webidl_node **webidl_ast) |
Variables | |
| int | yydebug |
| #define YY_ | ( | Msgid | ) | Msgid |
Definition at line 444 of file webidl-parser.c.
| #define YY_ACCESSING_SYMBOL | ( | State | ) | YY_CAST (yysymbol_kind_t, yystos[State]) |
Accessing symbol of state STATE.
Definition at line 738 of file webidl-parser.c.
| #define YY_ASSERT | ( | E | ) | ((void) (0 && (E))) |
Definition at line 510 of file webidl-parser.c.
| #define YY_ATTRIBUTE_PURE |
Definition at line 453 of file webidl-parser.c.
| #define YY_ATTRIBUTE_UNUSED |
Definition at line 461 of file webidl-parser.c.
| #define YY_CAST | ( | Type, | |
| Val | |||
| ) | ((Type) (Val)) |
Definition at line 130 of file webidl-parser.c.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 490 of file webidl-parser.c.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 491 of file webidl-parser.c.
| #define YY_IGNORE_USELESS_CAST_BEGIN |
Definition at line 505 of file webidl-parser.c.
| #define YY_IGNORE_USELESS_CAST_END |
Definition at line 506 of file webidl-parser.c.
| #define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 487 of file webidl-parser.c.
| #define YY_LOCATION_PRINT | ( | File, | |
| Loc | |||
| ) |
Definition at line 101 of file webidl-parser.c.
| #define YY_NULLPTR ((void*)0) |
Definition at line 142 of file webidl-parser.c.
| #define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 1438 of file webidl-parser.c.
| #define YY_REINTERPRET_CAST | ( | Type, | |
| Val | |||
| ) | ((Type) (Val)) |
Definition at line 131 of file webidl-parser.c.
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top | |||
| ) |
Definition at line 1406 of file webidl-parser.c.
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Kind, | |||
| Value, | |||
| Location | |||
| ) |
Definition at line 1340 of file webidl-parser.c.
| #define YY_USE | ( | E | ) | ((void) (E)) |
Definition at line 467 of file webidl-parser.c.
| #define YYABORT goto yyabortlab |
Definition at line 1211 of file webidl-parser.c.
| #define YYACCEPT goto yyacceptlab |
Definition at line 1210 of file webidl-parser.c.
| #define YYBACKUP | ( | Token, | |
| Value | |||
| ) |
Definition at line 1218 of file webidl-parser.c.
| #define YYBISON 30802 |
Definition at line 49 of file webidl-parser.c.
| #define YYBISON_VERSION "3.8.2" |
Definition at line 52 of file webidl-parser.c.
| #define YYCASE_ | ( | N, | |
| S | |||
| ) |
| #define yyclearin (yychar = WEBIDL_EMPTY) |
Definition at line 1208 of file webidl-parser.c.
| #define YYCOPY | ( | Dst, | |
| Src, | |||
| Count | |||
| ) |
Definition at line 630 of file webidl-parser.c.
| #define YYCOPY_NEEDED 1 |
Definition at line 602 of file webidl-parser.c.
| #define yydebug webidl_debug |
Definition at line 73 of file webidl-parser.c.
| #define YYDPRINTF | ( | Args | ) |
Definition at line 1274 of file webidl-parser.c.
| #define YYERRCODE WEBIDL_UNDEF |
Definition at line 1237 of file webidl-parser.c.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 1207 of file webidl-parser.c.
| #define yyerror webidl_error |
Definition at line 72 of file webidl-parser.c.
| #define YYERROR goto yyerrorlab |
Definition at line 1212 of file webidl-parser.c.
| #define YYFINAL 3 |
Definition at line 643 of file webidl-parser.c.
| #define YYFPRINTF webidl_fprintf |
Definition at line 100 of file webidl-parser.c.
| #define YYFREE free |
Definition at line 571 of file webidl-parser.c.
| #define YYINITDEPTH 200 |
Definition at line 1457 of file webidl-parser.c.
| #define YYLAST 819 |
Definition at line 645 of file webidl-parser.c.
| #define yylex webidl_lex |
Definition at line 71 of file webidl-parser.c.
| #define YYLLOC_DEFAULT | ( | Current, | |
| Rhs, | |||
| N | |||
| ) |
Definition at line 1244 of file webidl-parser.c.
| #define YYLOCATION_PRINT | ( | File, | |
| Loc | |||
| ) | YY_LOCATION_PRINT(File, *(Loc)) |
Definition at line 1291 of file webidl-parser.c.
| #define YYLTYPE WEBIDL_LTYPE |
Definition at line 68 of file webidl-parser.c.
| #define YYMALLOC malloc |
Definition at line 565 of file webidl-parser.c.
| #define YYMAXDEPTH 10000 |
Definition at line 1468 of file webidl-parser.c.
| #define YYMAXUTOK 320 |
Definition at line 657 of file webidl-parser.c.
| #define yynerrs webidl_nerrs |
Definition at line 74 of file webidl-parser.c.
| #define YYNNTS 83 |
Definition at line 650 of file webidl-parser.c.
| #define YYNOMEM goto yyexhaustedlab |
Definition at line 1213 of file webidl-parser.c.
| #define YYNRULES 232 |
Definition at line 652 of file webidl-parser.c.
| #define YYNSTATES 387 |
Definition at line 654 of file webidl-parser.c.
| #define YYNTOKENS 81 |
Definition at line 648 of file webidl-parser.c.
| #define YYPACT_NINF (-289) |
Definition at line 797 of file webidl-parser.c.
| #define yypact_value_is_default | ( | Yyn | ) | ((Yyn) == YYPACT_NINF) |
Definition at line 799 of file webidl-parser.c.
| #define yyparse webidl_parse |
Definition at line 70 of file webidl-parser.c.
| #define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N), yylsp -= (N)) |
| #define YYPTRDIFF_MAXIMUM LONG_MAX |
Definition at line 404 of file webidl-parser.c.
| #define YYPTRDIFF_T long |
Definition at line 403 of file webidl-parser.c.
| #define YYPULL 1 |
Definition at line 64 of file webidl-parser.c.
| #define YYPURE 1 |
Definition at line 58 of file webidl-parser.c.
| #define YYPUSH 0 |
Definition at line 61 of file webidl-parser.c.
| #define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 1216 of file webidl-parser.c.
| #define YYRHSLOC | ( | Rhs, | |
| K | |||
| ) | ((Rhs)[K]) |
Definition at line 1263 of file webidl-parser.c.
| #define YYSIZE_MAXIMUM |
Definition at line 421 of file webidl-parser.c.
| #define YYSIZE_T unsigned |
Definition at line 417 of file webidl-parser.c.
| #define YYSIZEOF | ( | X | ) | YY_CAST (YYPTRDIFF_T, sizeof (X)) |
Definition at line 427 of file webidl-parser.c.
| #define YYSKELETON_NAME "yacc.c" |
Definition at line 55 of file webidl-parser.c.
| #define YYSTACK_ALLOC YYMALLOC |
Definition at line 551 of file webidl-parser.c.
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 554 of file webidl-parser.c.
| #define YYSTACK_BYTES | ( | N | ) |
Definition at line 597 of file webidl-parser.c.
| #define YYSTACK_FREE YYFREE |
Definition at line 552 of file webidl-parser.c.
Definition at line 593 of file webidl-parser.c.
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
Definition at line 609 of file webidl-parser.c.
| #define YYSTYPE WEBIDL_STYPE |
Definition at line 67 of file webidl-parser.c.
| #define YYTABLE_NINF (-94) |
Definition at line 802 of file webidl-parser.c.
| #define yytable_value_is_error | ( | Yyn | ) | 0 |
Definition at line 804 of file webidl-parser.c.
| #define YYTRANSLATE | ( | YYX | ) |
Definition at line 662 of file webidl-parser.c.
Definition at line 434 of file webidl-parser.c.
Definition at line 431 of file webidl-parser.c.
Definition at line 316 of file webidl-parser.c.
| typedef short yytype_int16 |
Definition at line 355 of file webidl-parser.c.
| typedef signed char yytype_int8 |
Definition at line 347 of file webidl-parser.c.
| typedef unsigned short yytype_uint16 |
Definition at line 387 of file webidl-parser.c.
| typedef unsigned char yytype_uint8 |
Definition at line 376 of file webidl-parser.c.
| anonymous enum |
| Enumerator | |
|---|---|
| YYENOMEM | |
Definition at line 1205 of file webidl-parser.c.
| enum yysymbol_kind_t |
Definition at line 148 of file webidl-parser.c.
| void free | ( | void * | ) |
| void * malloc | ( | YYSIZE_T | ) |
| int yyparse | ( | struct webidl_node ** | webidl_ast | ) |
Definition at line 1774 of file webidl-parser.c.
| int yydebug |
Definition at line 1446 of file webidl-parser.c.