#include <AMReX_Parser_Y.H>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "amrex_parser.tab.h"#include <limits.h>Go to the source code of this file.
Classes | |
| union | yyalloc |
Macros | |
| #define | YYBISON 30802 |
| #define | YYBISON_VERSION "3.8.2" |
| #define | YYSKELETON_NAME "yacc.c" |
| #define | YYPURE 0 |
| #define | YYPUSH 0 |
| #define | YYPULL 1 |
| #define | YYSTYPE AMREX_PARSERSTYPE |
| #define | yyparse amrex_parserparse |
| #define | yylex amrex_parserlex |
| #define | yyerror amrex_parsererror |
| #define | yydebug amrex_parserdebug |
| #define | yynerrs amrex_parsernerrs |
| #define | yylval amrex_parserlval |
| #define | yychar amrex_parserchar |
| #define | yyalloc amrex_parseralloc |
| #define | yysymbol_kind_t amrex_parsersymbol_kind_t |
| #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 2 |
| #define | YYLAST 101 |
| #define | YYNTOKENS 31 |
| #define | YYNNTS 12 |
| #define | YYNRULES 40 |
| #define | YYNSTATES 84 |
| #define | YYMAXUTOK 273 |
| #define | YYTRANSLATE(YYX) |
| #define | YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) |
| #define | YYPACT_NINF (-32) |
| #define | yypact_value_is_default(Yyn) ((Yyn) == YYPACT_NINF) |
| #define | YYTABLE_NINF (-1) |
| #define | yytable_value_is_error(Yyn) 0 |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyclearin (yychar = AMREX_PARSEREMPTY) |
| #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 AMREX_PARSERUNDEF |
| #define | YYDPRINTF(Args) ((void) 0) |
| #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 | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (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_int8 | yy_state_t |
| typedef int | yy_state_fast_t |
Enumerations | |
| enum | yysymbol_kind_t { YYSYMBOL_YYEMPTY = -2 , YYSYMBOL_YYEOF = 0 , YYSYMBOL_YYerror = 1 , YYSYMBOL_YYUNDEF = 2 , YYSYMBOL_NODE = 3 , YYSYMBOL_NUMBER = 4 , YYSYMBOL_SYMBOL = 5 , YYSYMBOL_F1 = 6 , YYSYMBOL_F2 = 7 , YYSYMBOL_F3 = 8 , YYSYMBOL_EOL = 9 , YYSYMBOL_POW = 10 , YYSYMBOL_11_ = 11 , YYSYMBOL_GEQ = 12 , YYSYMBOL_LEQ = 13 , YYSYMBOL_EQ = 14 , YYSYMBOL_NEQ = 15 , YYSYMBOL_AND = 16 , YYSYMBOL_OR = 17 , YYSYMBOL_18_ = 18 , YYSYMBOL_19_ = 19 , YYSYMBOL_20_ = 20 , YYSYMBOL_21_ = 21 , YYSYMBOL_22_ = 22 , YYSYMBOL_23_ = 23 , YYSYMBOL_24_ = 24 , YYSYMBOL_25_ = 25 , YYSYMBOL_NEG = 26 , YYSYMBOL_UPLUS = 27 , YYSYMBOL_28_ = 28 , YYSYMBOL_29_ = 29 , YYSYMBOL_30_ = 30 , YYSYMBOL_YYACCEPT = 31 , YYSYMBOL_input = 32 , YYSYMBOL_exp = 33 , YYSYMBOL_stmt = 34 , YYSYMBOL_or_exp = 35 , YYSYMBOL_and_exp = 36 , YYSYMBOL_cmp_exp = 37 , YYSYMBOL_add_exp = 38 , YYSYMBOL_mul_exp = 39 , YYSYMBOL_unary_exp = 40 , YYSYMBOL_pow_exp = 41 , YYSYMBOL_primary_exp = 42 } |
| enum | { YYENOMEM = -2 } |
Functions | |
| int | amrex_parserlex (void) |
| void * | malloc (YYSIZE_T) |
| void | free (void *) |
| static void | yydestruct (const char *yymsg, yysymbol_kind_t yykind, YYSTYPE *yyvaluep) |
Variables | |
| static const yytype_int8 | yytranslate [] |
| static const yytype_int8 | yypact [] |
| static const yytype_int8 | yydefact [] |
| static const yytype_int8 | yypgoto [] |
| static const yytype_int8 | yydefgoto [] |
| static const yytype_int8 | yytable [] |
| static const yytype_int8 | yycheck [] |
| static const yytype_int8 | yystos [] |
| static const yytype_int8 | yyr1 [] |
| static const yytype_int8 | yyr2 [] |
| int | yychar |
| YYSTYPE | yylval |
| int | yynerrs |
| #define YY_ | ( | Msgid | ) | Msgid |
| #define YY_ACCESSING_SYMBOL | ( | State | ) | YY_CAST (yysymbol_kind_t, yystos[State]) |
Accessing symbol of state STATE.
| #define YY_ASSERT | ( | E | ) | ((void) (0 && (E))) |
| #define YY_ATTRIBUTE_PURE |
| #define YY_ATTRIBUTE_UNUSED |
| #define YY_CAST | ( | Type, | |
| Val | |||
| ) | ((Type) (Val)) |
| #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_INITIAL_VALUE | ( | Value | ) | Value |
| #define YY_NULLPTR ((void*)0) |
| #define YY_REDUCE_PRINT | ( | Rule | ) |
| #define YY_REINTERPRET_CAST | ( | Type, | |
| Val | |||
| ) | ((Type) (Val)) |
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top | |||
| ) |
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Kind, | |||
| Value, | |||
| Location | |||
| ) |
| #define YY_USE | ( | E | ) | ((void) (E)) |
| #define YYABORT goto yyabortlab |
| #define YYACCEPT goto yyacceptlab |
| #define yyalloc amrex_parseralloc |
| #define YYBACKUP | ( | Token, | |
| Value | |||
| ) |
| #define YYBISON 30802 |
| #define YYBISON_VERSION "3.8.2" |
| #define yychar amrex_parserchar |
| #define yyclearin (yychar = AMREX_PARSEREMPTY) |
| #define YYCOPY | ( | Dst, | |
| Src, | |||
| Count | |||
| ) |
| #define YYCOPY_NEEDED 1 |
| #define yydebug amrex_parserdebug |
| #define YYDPRINTF | ( | Args | ) | ((void) 0) |
| #define YYERRCODE AMREX_PARSERUNDEF |
| #define yyerrok (yyerrstatus = 0) |
| #define yyerror amrex_parsererror |
| #define YYERROR goto yyerrorlab |
| #define YYFINAL 2 |
| #define YYFREE free |
| #define YYINITDEPTH 200 |
| #define YYLAST 101 |
| #define yylex amrex_parserlex |
| #define yylval amrex_parserlval |
| #define YYMALLOC malloc |
| #define YYMAXDEPTH 10000 |
| #define YYMAXUTOK 273 |
| #define yynerrs amrex_parsernerrs |
| #define YYNNTS 12 |
| #define YYNOMEM goto yyexhaustedlab |
| #define YYNRULES 40 |
| #define YYNSTATES 84 |
| #define YYNTOKENS 31 |
| #define YYPACT_NINF (-32) |
| #define yypact_value_is_default | ( | Yyn | ) | ((Yyn) == YYPACT_NINF) |
| #define yyparse | ( | void | ) | amrex_parserparse |
| #define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
| #define YYPTRDIFF_MAXIMUM LONG_MAX |
| #define YYPTRDIFF_T long |
| #define YYPULL 1 |
| #define YYPURE 0 |
| #define YYPUSH 0 |
| #define YYRECOVERING | ( | ) | (!!yyerrstatus) |
| #define YYSIZE_MAXIMUM |
| #define YYSIZE_T unsigned |
| #define YYSIZEOF | ( | X | ) | YY_CAST (YYPTRDIFF_T, sizeof (X)) |
| #define YYSKELETON_NAME "yacc.c" |
| #define YYSTACK_ALLOC YYMALLOC |
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define YYSTACK_BYTES | ( | N | ) |
| #define YYSTACK_FREE YYFREE |
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
| #define YYSTYPE AMREX_PARSERSTYPE |
| #define yysymbol_kind_t amrex_parsersymbol_kind_t |
| #define YYTABLE_NINF (-1) |
| #define yytable_value_is_error | ( | Yyn | ) | 0 |
| #define YYTRANSLATE | ( | YYX | ) |
| typedef int yy_state_fast_t |
| typedef yytype_int8 yy_state_t |
| typedef enum yysymbol_kind_t yysymbol_kind_t |
| typedef short yytype_int16 |
| typedef signed char yytype_int8 |
| typedef unsigned short yytype_uint16 |
| typedef unsigned char yytype_uint8 |
| enum yysymbol_kind_t |
| int amrex_parserlex | ( | void | ) |
| void free | ( | void * | ) |
| void * malloc | ( | YYSIZE_T | ) |
|
static |
| int yychar |
|
static |
|
static |
|
static |
| YYSTYPE yylval |
| int yynerrs |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |